summaryrefslogtreecommitdiff
path: root/data/elementary/themes/edc/elm/icon_fdo.edc
blob: ced102bfa34878b135ab88d3f1c62f5dcf3492f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
/*
 * Standard FreeDesktop icons:
 * 
 * WARNING: When you add new icons you MUST ensure to use standard names as per:
 * http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
 *
 * If you can't find the name in the spec then you MUST search in the Adwaita,
 * Tango, Breeze, Oxigen, Faenza (now Rave-X) icone themes to find a suitable name.
 *
 * IF you really cannot find anything try at least to be consistent with other
 * existing names.
 *
 * NOTE: icons marked with an empty comment are names that are not in the 
 *       FDO spec, so they are not really standard, but seems widly used.
 *
 * NOTE: when you add a new icon you MUST add to:
 *   - this file (of course)
 *   - src/bin/elementary/test_icon.c (elementary_test -to "Icon Standard")
 *   - data/elementary/themes/Makefile.am
 *   - data/Makefile.am (only for new dirs)
 *   - data/elementary/themes/fdo/index.theme (only for new dirs)
 *   - elm_icon documentation   ?????  really?
 *   - don't forget to run "make distcheck"
 * 
 */

// Single FDO icon
#define ICO1(Cat, Name, Size)                                     \
   group { name: "elm/icon/"##Name##"/default";                   \
      min: 16 16;                                                 \
      images.image: ##Cat##"/"##Size##"/"##Name##".png" COMP;     \
      parts {                                                     \
         part { name: "base";                                     \
            desc {                                                \
               image.normal: ##Cat##"/"##Size##"/"##Name##".png"; \
               aspect: 1.0 1.0; aspect_preference: BOTH;          \
   }  }  }  }

// FDO icon with small and normal source (16 and 128px)
#define ICO2(Cat, Name)                                         \
   group { name: "elm/icon/"##Name##"/default";                 \
      min: 16 16;                                               \
      images {                                                  \
         set { name: ##Name##;                                  \
            image {                                             \
               image: ##Cat##"/16/"##Name##".png" COMP;         \
               size: 0  0  22  22;                              \
            }                                                   \
            image {                                             \
               image: ##Cat##"/128/"##Name##".png" COMP;        \
               size: 23  23  256  256;                          \
            }                                                   \
         }                                                      \
      }                                                         \
      parts {                                                   \
         part { name: "base";                                   \
            desc {                                              \
               image.normal: ##Name##;                          \
               aspect: 1.0 1.0; aspect_preference: BOTH;        \
   }  }  }  }

// Flag icon
#define FLAG(Cat, Name)                                     \
   group { name: "elm/icon/"##Name##"/default";             \
      min: 16 16;                                           \
      images.image: ##Cat##"/128/"##Name##".png" COMP;      \
      parts {                                               \
         part { name: "base";                               \
            desc {                                          \
               image.normal: ##Cat##"/128/"##Name##".png";  \
               aspect_preference: SOURCE;                   \
   }  }  }  }

////  status  /////////////////////////////////////////////////////////////
#define CTX "status"

// TODO image-loading
// TODO image-missing
// TODO sync-error
// TODO sync-synchronizing
// folder-visiting  /* in the Places category */
// folder-drag-accept /* in the Places category */
#undef CTX

////  animations  /////////////////////////////////////////////////////////////
#define CTX "animations"
// TODO process-working
#undef CTX

////  applications  ///////////////////////////////////////////////////////////
#define CTX "apps"
// TODO accessories-calculator
// TODO accessories-character-map
// TODO accessories-dictionary
// TODO accessories-text-editor
// TODO multimedia-volume-control
// TODO help-browser
// TODO preferences-desktop-accessibility
// TODO system-software-install
// TODO system-software-update
// TODO utilities-system-monitor
// TODO utilities-terminal
#undef CTX

////  categories  /////////////////////////////////////////////////////////////
#define CTX "categories"
// TODO applications-engineering
// TODO preferences-desktop-peripherals
// TODO preferences-desktop-personal
// TODO preferences-system-network
// TODO system-help
#undef CTX

////  emotions  ///////////////////////////////////////////////////////////////
#define CTX "emotions"
// TODO face-angel
// TODO face-angry
// TODO face-cool
// TODO face-crying
// TODO face-devilish
// TODO face-embarrassed
// TODO face-kiss
// TODO face-laugh
// TODO face-monkey
// TODO face-plain
// TODO face-raspberry
// TODO face-sad
// TODO face-sick
// TODO face-smile
// TODO face-smile-big
// TODO face-smirk
// TODO face-surprise
// TODO face-tired
// TODO face-uncertain
// TODO face-wink
// TODO face-worried
#undef CTX

////  international  //////////////////////////////////////////////////////////
// Country flags, ISO 3166-1 alpha-2 country code (flag-aa)
#define CTX "intl"
FLAG(CTX, "flag-ad")
FLAG(CTX, "flag-af")
FLAG(CTX, "flag-al")
FLAG(CTX, "flag-am")
FLAG(CTX, "flag-ar")
FLAG(CTX, "flag-at")
FLAG(CTX, "flag-au")
FLAG(CTX, "flag-az")
FLAG(CTX, "flag-ba")
FLAG(CTX, "flag-bd")
FLAG(CTX, "flag-be")
FLAG(CTX, "flag-bg")
FLAG(CTX, "flag-br")
FLAG(CTX, "flag-bt")
FLAG(CTX, "flag-bw")
FLAG(CTX, "flag-by")
FLAG(CTX, "flag-ca")
FLAG(CTX, "flag-cd")
FLAG(CTX, "flag-ch")
FLAG(CTX, "flag-cm")
FLAG(CTX, "flag-cn")
FLAG(CTX, "flag-cz")
FLAG(CTX, "flag-de")
FLAG(CTX, "flag-dk")
FLAG(CTX, "flag-ee")
FLAG(CTX, "flag-es")
FLAG(CTX, "flag-et")
FLAG(CTX, "flag-fi")
FLAG(CTX, "flag-fo")
FLAG(CTX, "flag-fr")
FLAG(CTX, "flag-gb")
FLAG(CTX, "flag-ge")
FLAG(CTX, "flag-gh")
FLAG(CTX, "flag-gn")
FLAG(CTX, "flag-gr")
FLAG(CTX, "flag-hr")
FLAG(CTX, "flag-hu")
FLAG(CTX, "flag-ie")
FLAG(CTX, "flag-il")
FLAG(CTX, "flag-in")
FLAG(CTX, "flag-iq")
FLAG(CTX, "flag-ir")
FLAG(CTX, "flag-is")
FLAG(CTX, "flag-it")
FLAG(CTX, "flag-jp")
FLAG(CTX, "flag-ke")
FLAG(CTX, "flag-kg")
FLAG(CTX, "flag-kh")
FLAG(CTX, "flag-kr")
FLAG(CTX, "flag-ku")
FLAG(CTX, "flag-kz")
FLAG(CTX, "flag-la")
FLAG(CTX, "flag-lk")
FLAG(CTX, "flag-lt")
FLAG(CTX, "flag-lv")
FLAG(CTX, "flag-ma")
FLAG(CTX, "flag-md")
FLAG(CTX, "flag-me")
FLAG(CTX, "flag-mk")
FLAG(CTX, "flag-ml")
FLAG(CTX, "flag-mm")
FLAG(CTX, "flag-mn")
FLAG(CTX, "flag-mt")
FLAG(CTX, "flag-mv")
FLAG(CTX, "flag-my")
FLAG(CTX, "flag-ng")
FLAG(CTX, "flag-nl")
FLAG(CTX, "flag-no")
FLAG(CTX, "flag-np")
FLAG(CTX, "flag-ph")
FLAG(CTX, "flag-pk")
FLAG(CTX, "flag-pl")
FLAG(CTX, "flag-pt")
FLAG(CTX, "flag-ro")
FLAG(CTX, "flag-rs")
FLAG(CTX, "flag-ru")
FLAG(CTX, "flag-se")
FLAG(CTX, "flag-si")
FLAG(CTX, "flag-sk")
FLAG(CTX, "flag-sn")
FLAG(CTX, "flag-sy")
FLAG(CTX, "flag-th")
FLAG(CTX, "flag-tj")
FLAG(CTX, "flag-tm")
FLAG(CTX, "flag-tr")
FLAG(CTX, "flag-tw")
FLAG(CTX, "flag-tz")
FLAG(CTX, "flag-ua")
FLAG(CTX, "flag-us")
FLAG(CTX, "flag-uz")
FLAG(CTX, "flag-vn")
FLAG(CTX, "flag-za")
#undef CTX

#undef ICO1
#undef ICO2
#undef FLAG