2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

stickers emoji tab done, local cache for stickers, recent stickers and voice messages

This commit is contained in:
John Preston
2015-01-02 17:55:24 +03:00
parent 59381b8ad2
commit 091bba0fc5
41 changed files with 5178 additions and 3470 deletions

View File

@@ -29,40 +29,43 @@ namespace {
const char *replace;
};
EmojiReplace replaces[] = {
{0xD83DDE0A, ":-)"},
{0xD83DDE03, ":-D"},
{0xD83DDE09, ";-)"},
{0xD83DDE06, "xD"},
{0xD83DDE1C, ";-P"},
{0xD83DDE0B, ":-p"},
{0xD83DDE0D, "8-)"},
{0xD83DDE0E, "B-)"},
{0xD83DDE12, ":-("},
{0xD83DDE0F, ":]"},
{0xD83DDE14, "3("},
{0xD83DDE22, ":'("},
{0xD83DDE2D, ":_("},
{0xD83DDE29, ":(("},
{0xD83DDE28, ":o"},
{0xD83DDE10, ":|"},
{0xD83DDE0C, "3-)"},
{0xD83DDE20, ">("},
{0xD83DDE21, ">(("},
{0xD83DDE07, "O:)"},
{0xD83DDE30, ";o"},
{0xD83DDE33, "8|"},
{0xD83DDE32, "8o"},
{0xD83DDE37, ":X"},
{0xD83DDE1A, ":-*"},
{0xD83DDE08, "}:)"},
{0x2764, "<3"},
{0xD83DDC4D, ":like:"},
{0xD83DDC4E, ":dislike:"},
{0x261D, ":up:"},
{0x270C, ":v:"},
{0xD83DDC4C, ":ok:"}
{ 0xD83DDE0AU, ":-)" },
{ 0xD83DDE0DU, "8-)" },
{ 0x2764U, "<3" },
{ 0xD83DDC8BU, ":kiss:" },
{ 0xD83DDE01U, ":grin:" },
{ 0xD83DDE02U, ":joy:" },
{ 0xD83DDE1AU, ":-*" },
{ 0xD83DDE06U, "xD" },
{ 0xD83DDC4DU, ":like:" },
{ 0xD83DDC4EU, ":dislike:" },
{ 0x261DU, ":up:" },
{ 0x270CU, ":v:" },
{ 0xD83DDC4CU, ":ok:" },
{ 0xD83DDE0EU, "B-)" },
{ 0xD83DDE03U, ":-D" },
{ 0xD83DDE09U, ";-)" },
{ 0xD83DDE1CU, ";-P" },
{ 0xD83DDE0BU, ":-p" },
{ 0xD83DDE14U, "3(" },
{ 0xD83DDE1EU, ":-(" },
{ 0xD83DDE0FU, ":]" },
{ 0xD83DDE22U, ":'(" },
{ 0xD83DDE2DU, ":_(" },
{ 0xD83DDE29U, ":((" },
{ 0xD83DDE28U, ":o" },
{ 0xD83DDE10U, ":|" },
{ 0xD83DDE0CU, "3-)" },
{ 0xD83DDE20U, ">(" },
{ 0xD83DDE21U, ">((" },
{ 0xD83DDE07U, "O:)" },
{ 0xD83DDE30U, ";o" },
{ 0xD83DDE33U, "8|" },
{ 0xD83DDE32U, "8o" },
{ 0xD83DDE37U, ":X" },
{ 0xD83DDE08U, "}:)" },
};
const uint32 replacesCount = sizeof(replaces) / sizeof(EmojiReplace), replacesInRow = 8;
const uint32 replacesCount = sizeof(replaces) / sizeof(EmojiReplace), replacesInRow = 7;
}
EmojiBox::EmojiBox() : _done(this, lang(lng_about_done), st::aboutCloseButton),