summaryrefslogtreecommitdiff
path: root/data/elementary/themes/edc/elm/icon_fdo.edc
blob: aaa90f5b03edc79749c9a5b19b01c8b2537b81b7 (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
/*
 * 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"
#undef CTX

#undef ICO1
#undef ICO2
#undef FLAG