X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=examples%2Ftext-label-emojis%2Femoji-strings.h;h=49e1b5102532bd9f3aa526daac4d873a12ae5d33;hb=1b19fd140ff139b5854a1a62447faf31b175d8f6;hp=81c8a6fa83c06a8af1559ccd80cb5c3c656aeb41;hpb=3429cdb9f1fc3864dff4505bf42012e2f09fb6f4;p=platform%2Fcore%2Fuifw%2Fdali-demo.git diff --git a/examples/text-label-emojis/emoji-strings.h b/examples/text-label-emojis/emoji-strings.h index 81c8a6f..49e1b51 100644 --- a/examples/text-label-emojis/emoji-strings.h +++ b/examples/text-label-emojis/emoji-strings.h @@ -1,8 +1,8 @@ -#ifndef __DALI_DEMO_EMOJI_STRINGS_H__ -#define __DALI_DEMO_EMOJI_STRINGS_H__ +#ifndef DALI_DEMO_EMOJI_STRINGS_H +#define DALI_DEMO_EMOJI_STRINGS_H /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,39 +23,39 @@ namespace EmojiStrings { - struct Emoji - { - uint32_t mUnicode; - std::string mUTF8; - std::string mDescription; - }; +struct Emoji +{ + uint32_t mUnicode; + std::string mUTF8; + std::string mDescription; +}; - const Emoji EMOJIS[] = { +const Emoji EMOJIS[] = { - { 0x1F601,"\xF0\x9F\x98\x81","grinning face with smiling eyes" }, - { 0x1F602,"\xF0\x9F\x98\x82","face with tears of joy" }, - //{ 0x1F603,"\xF0\x9F\x98\x83","smiling face with open mouth" }, - //{ 0x1F604,"\xF0\x9F\x98\x84","smiling face with open mouth and smiling eyes" }, - { 0x1F605,"\xF0\x9F\x98\x85","smiling face with open mouth and cold sweat" }, - //{ 0x1F606,"\xF0\x9F\x98\x86","smiling face with open mouth and tightly-closed eyes" }, - { 0x1F609,"\xF0\x9F\x98\x89","winking face" }, - { 0x1F60A,"\xF0\x9F\x98\x8A","smiling face with smiling eyes" }, - { 0x1F60B,"\xF0\x9F\x98\x8B","face savouring delicious food" }, - { 0x1F60C,"\xF0\x9F\x98\x8C","relieved face" }, - { 0x1F60D,"\xF0\x9F\x98\x8D","smiling face with heart-shaped eyes" }, - { 0x1F60F,"\xF0\x9F\x98\x8F","smirking face" }, - //{ 0x1F612,"\xF0\x9F\x98\x92","unamused face" }, - //{ 0x1F613,"\xF0\x9F\x98\x93","face with cold sweat" }, - //{ 0x1F614,"\xF0\x9F\x98\x94","pensive face" }, - //{ 0x1F616,"\xF0\x9F\x98\x96","confounded face" }, - { 0x1F618,"\xF0\x9F\x98\x98","face throwing a kiss" }, - { 0x1F61A,"\xF0\x9F\x98\x9A","kissing face with closed eyes" }, - //{ 0x1F61C,"\xF0\x9F\x98\x9C","face with stuck-out tongue and winking eye" }, - //{ 0x1F61D,"\xF0\x9F\x98\x9D","face with stuck-out tongue and tightly-closed eyes" }, - //{ 0x1F61E,"\xF0\x9F\x98\x9E","disappointed face" }, - { 0x1F620,"\xF0\x9F\x98\xA0","angry face" }, + {0x1F601, "\xF0\x9F\x98\x81", "grinning face with smiling eyes"}, + {0x1F602, "\xF0\x9F\x98\x82", "face with tears of joy"}, + //{ 0x1F603,"\xF0\x9F\x98\x83","smiling face with open mouth" }, + //{ 0x1F604,"\xF0\x9F\x98\x84","smiling face with open mouth and smiling eyes" }, + {0x1F605, "\xF0\x9F\x98\x85", "smiling face with open mouth and cold sweat"}, + //{ 0x1F606,"\xF0\x9F\x98\x86","smiling face with open mouth and tightly-closed eyes" }, + {0x1F609, "\xF0\x9F\x98\x89", "winking face"}, + {0x1F60A, "\xF0\x9F\x98\x8A", "smiling face with smiling eyes"}, + {0x1F60B, "\xF0\x9F\x98\x8B", "face savouring delicious food"}, + {0x1F60C, "\xF0\x9F\x98\x8C", "relieved face"}, + {0x1F60D, "\xF0\x9F\x98\x8D", "smiling face with heart-shaped eyes"}, + {0x1F60F, "\xF0\x9F\x98\x8F", "smirking face"}, + //{ 0x1F612,"\xF0\x9F\x98\x92","unamused face" }, + //{ 0x1F613,"\xF0\x9F\x98\x93","face with cold sweat" }, + //{ 0x1F614,"\xF0\x9F\x98\x94","pensive face" }, + //{ 0x1F616,"\xF0\x9F\x98\x96","confounded face" }, + {0x1F618, "\xF0\x9F\x98\x98", "face throwing a kiss"}, + {0x1F61A, "\xF0\x9F\x98\x9A", "kissing face with closed eyes"}, + //{ 0x1F61C,"\xF0\x9F\x98\x9C","face with stuck-out tongue and winking eye" }, + //{ 0x1F61D,"\xF0\x9F\x98\x9D","face with stuck-out tongue and tightly-closed eyes" }, + //{ 0x1F61E,"\xF0\x9F\x98\x9E","disappointed face" }, + {0x1F620, "\xF0\x9F\x98\xA0", "angry face"}, - /* + /* { "POUTING FACE", { "CRYING FACE", { "PERSEVERING FACE", @@ -94,10 +94,10 @@ namespace EmojiStrings { "PERSON WITH FOLDED HANDS", */ - }; +}; - const unsigned int NUMBER_OF_EMOJIS = 12; +const unsigned int NUMBER_OF_EMOJIS = 12; -} // EmojiStrings +} // namespace EmojiStrings -#endif // __DALI_DEMO_EMOJI_STRINGS_H__ +#endif // DALI_DEMO_EMOJI_STRINGS_H