[RTL][NTDLL]
[reactos.git] / reactos / base / applications / mspaint_new / definitions.h
1 /*
2 * PROJECT: PAINT for ReactOS
3 * LICENSE: LGPL
4 * FILE: base/applications/mspaint_new/definitions.h
5 * PURPOSE: Defines the resource ids and other stuff
6 * PROGRAMMERS: Benedikt Freisen
7 */
8
9 /* DEFINES **********************************************************/
10
11 #define HISTORYSIZE 11
12 /* HISTORYSIZE = number of possible undo-steps + 1 */
13
14 #define SIZEOF(a) (sizeof(a) / sizeof((a)[0]))
15 /* sizeof for string constants; equals max. number of characters */
16
17 #define RECT_WIDTH(a) ((a).right - (a).left)
18 /* width of the rectangle defined by a RECT structure */
19
20 #define RECT_HEIGHT(a) ((a).bottom - (a).top)
21 /* height of the rectangle defined by a RECT structure */
22
23 #define CHECKED_IF(a) ((a) ? (MF_CHECKED | MF_BYCOMMAND) : (MF_UNCHECKED | MF_BYCOMMAND))
24 /* simplifies checking and unchecking menu items */
25 #define ENABLED_IF(a) ((a) ? (MF_ENABLED | MF_BYCOMMAND) : (MF_GRAYED | MF_BYCOMMAND))
26 /* simplifies enabling or graying menu items */
27
28 #define IDI_APPICON 500
29
30 #define IDB_TOOLBARICONS 510
31
32 #define IDI_TRANSPARENT 526
33 #define IDI_NONTRANSPARENT 527
34
35 #define IDC_FILL 530
36 #define IDC_COLOR 531
37 #define IDC_ZOOM 532
38 #define IDC_PEN 533
39 #define IDC_AIRBRUSH 534
40
41 #define IDI_HORZSTRETCH 535
42 #define IDI_VERTSTRETCH 536
43 #define IDI_HORZSKEW 537
44 #define IDI_VERTSKEW 538
45
46 #define ID_MENU 501
47
48 #define IDM_FILENEW 201
49 #define IDM_FILEOPEN 202
50 #define IDM_FILESAVE 203
51 #define IDM_FILESAVEAS 204
52
53 #define IDM_FILEASWALLPAPERPLANE 210
54 #define IDM_FILEASWALLPAPERCENTERED 211
55 #define IDM_FILEASWALLPAPERSTRETCHED 212
56
57 #define IDM_FILEEXIT 205
58
59 #define IDM_EDITUNDO 220
60 #define IDM_EDITREDO 221
61 #define IDM_EDITCUT 222
62 #define IDM_EDITCOPY 223
63 #define IDM_EDITPASTE 224
64 #define IDM_EDITDELETESELECTION 225
65 #define IDM_EDITINVERTSELECTION 226
66 #define IDM_EDITSELECTALL 227
67 #define IDM_EDITCOPYTO 228
68 #define IDM_EDITPASTEFROM 229
69
70 #define IDM_VIEWTOOLBOX 230
71 #define IDM_VIEWCOLORPALETTE 231
72 #define IDM_VIEWSTATUSBAR 232
73 #define IDM_FORMATICONBAR 233
74 #define IDM_VIEWZOOM125 234
75 #define IDM_VIEWZOOM25 235
76 #define IDM_VIEWZOOM50 236
77 #define IDM_VIEWZOOM100 237
78 #define IDM_VIEWZOOM200 238
79 #define IDM_VIEWZOOM400 239
80 #define IDM_VIEWZOOM800 240
81 #define IDM_VIEWFULLSCREEN 241
82 #define IDM_VIEWSHOWGRID 242
83 #define IDM_VIEWSHOWMINIATURE 243
84
85 #define IDM_IMAGEROTATEMIRROR 250
86 #define IDM_IMAGESTRETCHSKEW 251
87 #define IDM_IMAGECROP 252
88 #define IDM_IMAGEINVERTCOLORS 253
89 #define IDM_IMAGEATTRIBUTES 254
90 #define IDM_IMAGEDELETEIMAGE 255
91 #define IDM_IMAGEDRAWOPAQUE 256
92
93 #define IDM_COLORSEDITPALETTE 260
94 #define IDM_COLORSMODERNPALETTE 261
95 #define IDM_COLORSOLDPALETTE 262
96
97 #define IDM_HELPHELPTOPICS 270
98 #define IDM_HELPINFO 271
99
100 /* the following 16 numbers need to be in order, increasing by 1 */
101 #define ID_FREESEL 600
102 #define ID_RECTSEL 601
103 #define ID_RUBBER 602
104 #define ID_FILL 603
105 #define ID_COLOR 604
106 #define ID_ZOOM 605
107 #define ID_PEN 606
108 #define ID_BRUSH 607
109 #define ID_AIRBRUSH 608
110 #define ID_TEXT 609
111 #define ID_LINE 610
112 #define ID_BEZIER 611
113 #define ID_RECT 612
114 #define ID_SHAPE 613
115 #define ID_ELLIPSE 614
116 #define ID_RRECT 615
117
118 /* the following 16 numbers need to be in order, increasing by 1 */
119 #define TOOL_FREESEL 1
120 #define TOOL_RECTSEL 2
121 #define TOOL_RUBBER 3
122 #define TOOL_FILL 4
123 #define TOOL_COLOR 5
124 #define TOOL_ZOOM 6
125 #define TOOL_PEN 7
126 #define TOOL_BRUSH 8
127 #define TOOL_AIRBRUSH 9
128 #define TOOL_TEXT 10
129 #define TOOL_LINE 11
130 #define TOOL_BEZIER 12
131 #define TOOL_RECT 13
132 #define TOOL_SHAPE 14
133 #define TOOL_ELLIPSE 15
134 #define TOOL_RRECT 16
135
136 #define ID_ACCELERATORS 800
137
138 #define IDD_MIRRORROTATE 700
139 #define IDD_MIRRORROTATEGROUP 701
140 #define IDD_MIRRORROTATERB1 702
141 #define IDD_MIRRORROTATERB2 703
142 #define IDD_MIRRORROTATERB3 704
143 #define IDD_MIRRORROTATERB4 705
144 #define IDD_MIRRORROTATERB5 706
145 #define IDD_MIRRORROTATERB6 707
146
147 #define IDD_ATTRIBUTES 710
148 #define IDD_ATTRIBUTESEDIT1 711
149 #define IDD_ATTRIBUTESEDIT2 712
150 #define IDD_ATTRIBUTESTEXT1 715
151 #define IDD_ATTRIBUTESTEXT2 716
152 #define IDD_ATTRIBUTESTEXT3 717
153 #define IDD_ATTRIBUTESTEXT4 718
154 #define IDD_ATTRIBUTESTEXT5 719
155 #define IDD_ATTRIBUTESTEXT6 720
156 #define IDD_ATTRIBUTESTEXT7 721
157 #define IDD_ATTRIBUTESTEXT8 722
158 #define IDD_ATTRIBUTESSTANDARD 723
159 #define IDD_ATTRIBUTESGROUP1 724
160 #define IDD_ATTRIBUTESGROUP2 725
161 #define IDD_ATTRIBUTESRB1 726
162 #define IDD_ATTRIBUTESRB2 727
163 #define IDD_ATTRIBUTESRB3 728
164 #define IDD_ATTRIBUTESRB4 729
165 #define IDD_ATTRIBUTESRB5 730
166
167 #define IDD_STRETCHSKEW 740
168 #define IDD_STRETCHSKEWGROUPSTRETCH 741
169 #define IDD_STRETCHSKEWICONHSTRETCH 742
170 #define IDD_STRETCHSKEWTEXTHSTRETCH 743
171 #define IDD_STRETCHSKEWEDITHSTRETCH 744
172 #define IDD_STRETCHSKEWTEXTHPERCENT 745
173 #define IDD_STRETCHSKEWICONVSTRETCH 746
174 #define IDD_STRETCHSKEWTEXTVSTRETCH 747
175 #define IDD_STRETCHSKEWEDITVSTRETCH 748
176 #define IDD_STRETCHSKEWTEXTVPERCENT 749
177 #define IDD_STRETCHSKEWGROUPSKEW 750
178 #define IDD_STRETCHSKEWICONHSKEW 751
179 #define IDD_STRETCHSKEWTEXTHSKEW 752
180 #define IDD_STRETCHSKEWEDITHSKEW 753
181 #define IDD_STRETCHSKEWTEXTHDEG 754
182 #define IDD_STRETCHSKEWICONVSKEW 755
183 #define IDD_STRETCHSKEWTEXTVSKEW 756
184 #define IDD_STRETCHSKEWEDITVSKEW 757
185 #define IDD_STRETCHSKEWTEXTVDEG 758
186
187 #define IDS_PROGRAMNAME 900
188 #define IDS_WINDOWTITLE 901
189 #define IDS_INFOTITLE 902
190 #define IDS_INFOTEXT 903
191
192 #define IDS_SAVEPROMPTTEXT 904
193 #define IDS_DEFAULTFILENAME 905
194 #define IDS_MINIATURETITLE 906
195
196 #define IDS_TOOLTIP1 910
197 #define IDS_TOOLTIP2 911
198 #define IDS_TOOLTIP3 912
199 #define IDS_TOOLTIP4 913
200 #define IDS_TOOLTIP5 914
201 #define IDS_TOOLTIP6 915
202 #define IDS_TOOLTIP7 916
203 #define IDS_TOOLTIP8 917
204 #define IDS_TOOLTIP9 918
205 #define IDS_TOOLTIP10 919
206 #define IDS_TOOLTIP11 920
207 #define IDS_TOOLTIP12 921
208 #define IDS_TOOLTIP13 922
209 #define IDS_TOOLTIP14 923
210 #define IDS_TOOLTIP15 924
211 #define IDS_TOOLTIP16 925
212
213 #define IDS_OPENFILTER 926
214 #define IDS_SAVEFILTER 927
215 #define IDS_FILESIZE 928
216 #define IDS_PRINTRES 929
217
218 #define IDS_INTNUMBERS 930
219 #define IDS_PERCENTAGE 931
220 #define IDS_ANGLE 932
221
222 #define IDS_LOADERRORTEXT 933