Updated demos to use DALi clang-format
[platform/core/uifw/dali-demo.git] / examples / text-label-emojis / emoji-strings.h
1 #ifndef DALI_DEMO_EMOJI_STRINGS_H
2 #define DALI_DEMO_EMOJI_STRINGS_H
3
4 /*
5  * Copyright (c) 2020 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20
21 // EXTERNAL INCLUDES
22 #include <string>
23
24 namespace EmojiStrings
25 {
26 struct Emoji
27 {
28   uint32_t    mUnicode;
29   std::string mUTF8;
30   std::string mDescription;
31 };
32
33 const Emoji EMOJIS[] = {
34
35   {0x1F601, "\xF0\x9F\x98\x81", "grinning face with smiling eyes"},
36   {0x1F602, "\xF0\x9F\x98\x82", "face with tears of joy"},
37   //{ 0x1F603,"\xF0\x9F\x98\x83","smiling face with open mouth" },
38   //{ 0x1F604,"\xF0\x9F\x98\x84","smiling face with open mouth and smiling eyes" },
39   {0x1F605, "\xF0\x9F\x98\x85", "smiling face with open mouth and cold sweat"},
40   //{ 0x1F606,"\xF0\x9F\x98\x86","smiling face with open mouth and tightly-closed eyes" },
41   {0x1F609, "\xF0\x9F\x98\x89", "winking face"},
42   {0x1F60A, "\xF0\x9F\x98\x8A", "smiling face with smiling eyes"},
43   {0x1F60B, "\xF0\x9F\x98\x8B", "face savouring delicious food"},
44   {0x1F60C, "\xF0\x9F\x98\x8C", "relieved face"},
45   {0x1F60D, "\xF0\x9F\x98\x8D", "smiling face with heart-shaped eyes"},
46   {0x1F60F, "\xF0\x9F\x98\x8F", "smirking face"},
47   //{ 0x1F612,"\xF0\x9F\x98\x92","unamused face" },
48   //{ 0x1F613,"\xF0\x9F\x98\x93","face with cold sweat" },
49   //{ 0x1F614,"\xF0\x9F\x98\x94","pensive face" },
50   //{ 0x1F616,"\xF0\x9F\x98\x96","confounded face" },
51   {0x1F618, "\xF0\x9F\x98\x98", "face throwing a kiss"},
52   {0x1F61A, "\xF0\x9F\x98\x9A", "kissing face with closed eyes"},
53   //{ 0x1F61C,"\xF0\x9F\x98\x9C","face with stuck-out tongue and winking eye" },
54   //{ 0x1F61D,"\xF0\x9F\x98\x9D","face with stuck-out tongue and tightly-closed eyes" },
55   //{ 0x1F61E,"\xF0\x9F\x98\x9E","disappointed face" },
56   {0x1F620, "\xF0\x9F\x98\xA0", "angry face"},
57
58   /*
59     { "POUTING FACE",
60     { "CRYING FACE",
61     { "PERSEVERING FACE",
62     { "FACE WITH LOOK OF TRIUMPH",
63     { "DISAPPOINTED BUT RELIEVED FACE",
64     { "FEARFUL FACE",
65     { "WEARY FACE",
66     { "SLEEPY FACE",
67     { "TIRED FACE",
68     { "LOUDLY CRYING FACE",
69     { "FACE WITH OPEN MOUTH AND COLD SWEAT",
70     { "FACE SCREAMING IN FEAR",
71     { "ASTONISHED FACE",
72     { "FLUSHED FACE",
73     { "DIZZY FACE",
74     { "FACE WITH MEDICAL MASK",
75     { "GRINNING CAT FACE WITH SMILING EYES",
76     { "CAT FACE WITH TEARS OF JOY",
77     { "SMILING CAT FACE WITH OPEN MOUTH",
78     { "SMILING CAT FACE WITH HEART-SHAPED EYES",
79     { "CAT FACE WITH WRY SMILE",
80     { "KISSING CAT FACE WITH CLOSED EYES",
81     { "POUTING CAT FACE",
82     { "CRYING CAT FACE",
83     { "WEARY CAT FACE",
84     { "FACE WITH NO GOOD GESTURE",
85     { "FACE WITH OK GESTURE",
86     { "PERSON BOWING DEEPLY",
87     { "SEE-NO-EVIL MONKEY",
88     { "HEAR-NO-EVIL MONKEY",
89     { "SPEAK-NO-EVIL MONKEY",
90     { "HAPPY PERSON RAISING ONE HAND",
91     { "PERSON RAISING BOTH HANDS IN CELEBRATION",
92     { "PERSON FROWNING",
93     { "PERSON WITH POUTING FACE",
94     { "PERSON WITH FOLDED HANDS",
95   */
96
97 };
98
99 const unsigned int NUMBER_OF_EMOJIS = 12;
100
101 } // namespace EmojiStrings
102
103 #endif // DALI_DEMO_EMOJI_STRINGS_H