* only show message box on exit if the image has not been saved and is not blank
[reactos.git] / reactos / base / applications / paint / definitions.h
1 /*
2 * PROJECT: PAINT for ReactOS
3 * LICENSE: LGPL
4 * FILE: definitions.h
5 * PURPOSE: Defines the resource ids
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
16 #define IDI_APPICON 500
17
18 #define IDB_TOOLBARICONS 510
19
20 #define IDI_TRANSPARENT 526
21 #define IDI_NONTRANSPARENT 527
22
23 #define IDC_FILL 530
24 #define IDC_COLOR 531
25 #define IDC_ZOOM 532
26 #define IDC_PEN 533
27 #define IDC_AIRBRUSH 534
28
29 #define IDI_HORZSTRETCH 535
30 #define IDI_VERTSTRETCH 536
31
32 #define ID_MENU 501
33
34 #define IDM_FILENEW 201
35 #define IDM_FILEOPEN 202
36 #define IDM_FILESAVE 203
37 #define IDM_FILESAVEAS 204
38 #define IDM_FILEASWALLPAPERPLANE 210
39 #define IDM_FILEASWALLPAPERCENTERED 211
40 #define IDM_FILEASWALLPAPERSTRETCHED 212
41 #define IDM_FILEEXIT 205
42
43 #define IDM_EDITUNDO 220
44 #define IDM_EDITREDO 221
45 #define IDM_EDITCUT 222
46 #define IDM_EDITCOPY 223
47 #define IDM_EDITPASTE 224
48 #define IDM_EDITDELETESELECTION 225
49 #define IDM_EDITINVERTSELECTION 226
50 #define IDM_EDITSELECTALL 227
51 #define IDM_EDITCOPYTO 228
52 #define IDM_EDITPASTEFROM 229
53
54 #define IDM_VIEWTOOLBOX 230
55 #define IDM_VIEWCOLORPALETTE 231
56 #define IDM_VIEWSTATUSBAR 232
57 #define IDM_FORMATICONBAR 233
58 #define IDM_VIEWZOOM125 234
59 #define IDM_VIEWZOOM25 235
60 #define IDM_VIEWZOOM50 236
61 #define IDM_VIEWZOOM100 237
62 #define IDM_VIEWZOOM200 238
63 #define IDM_VIEWZOOM400 239
64 #define IDM_VIEWZOOM800 240
65 #define IDM_VIEWFULLSCREEN 241
66 #define IDM_VIEWSHOWGRID 242
67 #define IDM_VIEWSHOWMINIATURE 243
68
69 #define IDM_IMAGEROTATEMIRROR 250
70 #define IDM_IMAGECHANGESIZE 251
71 #define IDM_IMAGECROP 252
72 #define IDM_IMAGEINVERTCOLORS 253
73 #define IDM_IMAGEATTRIBUTES 254
74 #define IDM_IMAGEDELETEIMAGE 255
75 #define IDM_IMAGEDRAWOPAQUE 256
76
77 #define IDM_COLORSEDITPALETTE 260
78
79 #define IDM_HELPHELPTOPICS 270
80 #define IDM_HELPINFO 271
81
82 //the following 16 numbers need to be in order, increasing by 1
83 #define ID_FREESEL 600
84 #define ID_RECTSEL 601
85 #define ID_RUBBER 602
86 #define ID_FILL 603
87 #define ID_COLOR 604
88 #define ID_ZOOM 605
89 #define ID_PEN 606
90 #define ID_BRUSH 607
91 #define ID_AIRBRUSH 608
92 #define ID_TEXT 609
93 #define ID_LINE 610
94 #define ID_BEZIER 611
95 #define ID_RECT 612
96 #define ID_SHAPE 613
97 #define ID_ELLIPSE 614
98 #define ID_RRECT 615
99
100 #define ID_ACCELERATORS 800
101
102 #define IDD_MIRRORROTATE 700
103 #define IDD_MIRRORROTATEGROUP 701
104 #define IDD_MIRRORROTATERB1 702
105 #define IDD_MIRRORROTATERB2 703
106 #define IDD_MIRRORROTATERB3 704
107 #define IDD_MIRRORROTATERB4 705
108 #define IDD_MIRRORROTATERB5 706
109 #define IDD_MIRRORROTATERB6 707
110
111 #define IDD_ATTRIBUTES 710
112 #define IDD_ATTRIBUTESEDIT1 711
113 #define IDD_ATTRIBUTESEDIT2 712
114 #define IDD_ATTRIBUTESTEXT1 715
115 #define IDD_ATTRIBUTESTEXT2 716
116 #define IDD_ATTRIBUTESTEXT3 717
117 #define IDD_ATTRIBUTESTEXT4 718
118 #define IDD_ATTRIBUTESTEXT5 719
119 #define IDD_ATTRIBUTESTEXT6 720
120 #define IDD_ATTRIBUTESTEXT7 721
121 #define IDD_ATTRIBUTESTEXT8 722
122 #define IDD_ATTRIBUTESSTANDARD 723
123 #define IDD_ATTRIBUTESGROUP1 724
124 #define IDD_ATTRIBUTESGROUP2 725
125 #define IDD_ATTRIBUTESRB1 726
126 #define IDD_ATTRIBUTESRB2 727
127 #define IDD_ATTRIBUTESRB3 728
128 #define IDD_ATTRIBUTESRB4 729
129 #define IDD_ATTRIBUTESRB5 730
130
131 #define IDD_CHANGESIZE 740
132 #define IDD_CHANGESIZEGROUP 741
133 #define IDD_CHANGESIZEICON1 742
134 #define IDD_CHANGESIZETEXT1 743
135 #define IDD_CHANGESIZEEDIT1 744
136 #define IDD_CHANGESIZETEXT2 745
137 #define IDD_CHANGESIZEICON2 746
138 #define IDD_CHANGESIZETEXT3 747
139 #define IDD_CHANGESIZEEDIT2 748
140 #define IDD_CHANGESIZETEXT4 749
141
142 #define IDS_PROGRAMNAME 900
143 #define IDS_WINDOWTITLE 901
144 #define IDS_INFOTITLE 902
145 #define IDS_INFOTEXT 903
146 #define IDS_SAVEPROMPTTEXT 904
147 #define IDS_DEFAULTFILENAME 905
148 #define IDS_MINIATURETITLE 906
149 #define IDS_TOOLTIP1 910
150 #define IDS_TOOLTIP2 911
151 #define IDS_TOOLTIP3 912
152 #define IDS_TOOLTIP4 913
153 #define IDS_TOOLTIP5 914
154 #define IDS_TOOLTIP6 915
155 #define IDS_TOOLTIP7 916
156 #define IDS_TOOLTIP8 917
157 #define IDS_TOOLTIP9 918
158 #define IDS_TOOLTIP10 919
159 #define IDS_TOOLTIP11 920
160 #define IDS_TOOLTIP12 921
161 #define IDS_TOOLTIP13 922
162 #define IDS_TOOLTIP14 923
163 #define IDS_TOOLTIP15 924
164 #define IDS_TOOLTIP16 925
165
166 #define IDS_OPENFILTER 926
167 #define IDS_SAVEFILTER 927