1
/* vim:expandtab:ts=2 sw=2:
3
/* Grafx2 - The Ultimate 256-color bitmap paint program
5
Copyright 2008 Yves Rizoud
6
Copyright 2008 Adrien Destugues
7
Copyright 1996-2001 Sunset Design (Guillaume Dorme & Karl Maritaud)
9
Grafx2 is free software; you can redistribute it and/or
10
modify it under the terms of the GNU General Public License
11
as published by the Free Software Foundation; version 2
14
Grafx2 is distributed in the hope that it will be useful,
15
but WITHOUT ANY WARRANTY; without even the implied warranty of
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
GNU General Public License for more details.
19
You should have received a copy of the GNU General Public License
20
along with Grafx2; if not, see <http://www.gnu.org/licenses/>
31
T_Key_config ConfigKey[NB_SHORTCUTS] = {
34
"Scrolls the picture up, both in",
35
"magnify and normal mode.",
42
"Scrolls the picture down, both in",
43
"magnify and normal mode.",
50
"Scrolls the picture to the left,",
51
"both in magnify and normal mode.",
58
"Scrolls the picture to the right,",
59
"both in magnify and normal mode.",
66
"Used to scroll upwards in the",
67
"picture fast, either in magnify and",
70
SDLK_UP|MOD_SHIFT, // Shift + Haut
74
"Used to scroll downwards in the",
75
"picture fast, either in magnify and",
78
SDLK_DOWN|MOD_SHIFT, // Shift + Bas
82
"Used to scroll to the left in the",
83
"picture fast, either in magnify and",
86
SDLK_LEFT|MOD_SHIFT, // Shift + Gauche
89
"Faster scroll right",
90
"Used to scroll to the right in the",
91
"picture fast, either in magnify and",
94
SDLK_RIGHT|MOD_SHIFT, // Shift + Droite
98
"Used to scroll upwards in the",
99
"picture pixel by pixel, either in",
100
"magnify and normal mode.",
102
SDLK_UP|MOD_ALT, // Alt + Haut
105
"Slower scroll down",
106
"Used to scroll downwards in the",
107
"picture pixel by pixel, either in",
108
"magnify and normal mode.",
110
SDLK_DOWN|MOD_ALT, // Alt + Bas
113
"Slower scroll left",
114
"Used to scroll to the left in the",
115
"picture pixel by pixel, either in",
116
"magnify and normal mode.",
118
SDLK_LEFT|MOD_ALT, // Alt + Gauche
121
"Slower scroll right",
122
"Used to scroll to the right in the",
123
"picture pixel by pixel, either in",
124
"magnify and normal mode.",
126
SDLK_RIGHT|MOD_ALT, // Alt + Droite
129
"Move mouse cursor 1 pixel up",
130
"Used to simulate a very small mouse",
131
"deplacement up.It""s very useful",
132
"when you want ultra-high precision.",
134
SDLK_UP|MOD_CTRL, // Ctrl + Haut
137
"Move mouse cursor 1 pixel down",
138
"Used to simulate a very small mouse",
139
"deplacement down.It""s very useful",
140
"when you want ultra-high precision.",
142
SDLK_DOWN|MOD_CTRL, // Ctrl + Bas
145
"Move mouse cursor 1 pixel left",
146
"Used to simulate a very small mouse",
147
"deplacement left.It""s very useful",
148
"when you want ultra-high precision.",
150
SDLK_LEFT|MOD_CTRL, // Ctrl + Gauche
153
"Move mouse cursor 1 pixel right",
154
"Used to simulate a very small mouse",
155
"deplacement right.It""s very useful",
156
"when you want ultra-high precision.",
158
SDLK_RIGHT|MOD_CTRL, // Ctrl + Droite
161
"Simulate left mouse click",
162
"Used to simulate a click with the",
163
"left mouse button. It""s useful",
164
"when you want ultra-high precision.",
169
"Simulate right mouse click",
170
"Used to simulate a click with the",
171
"right mouse button.. It""s useful",
172
"when you want ultra-high precision.",
174
SDLK_SPACE|MOD_SHIFT, // Shift + Space
177
"Show/hide menu toolbars",
178
"Hides all toolbar menus, or shows",
186
"Switch the cursor display on/off.",
187
"This only works on the \"small cross\"",
188
"and \"hand\" cursors.",
193
"Set paintbrush to 1 pixel",
194
"Useful when you want to use a",
195
"\"single-pixel-brush\".",
202
"Opens a menu where you can choose a",
203
"paintbrush out of 24 predefined",
210
"Turn your current user-defined brush",
211
"into a single colored one. All non-",
212
"transparent colors are set to FG.",
214
SDLK_F4|MOD_SHIFT, // Shift + F4
218
"Set the drawing mode to the",
219
"classical freehand one.",
225
"Switch freehand drawing mode",
226
"Alternates between: continuous,",
227
"discontinuous, point by point,",
230
SDLK_d|MOD_SHIFT, // Shift + D
233
"Continuous freehand drawing",
234
"Switch directly to continuous",
235
"freehand drawing mode.",
238
SDLK_d|MOD_CTRL, // Ctrl + D
242
"Allows you to draw lines.",
250
"Allows you to draw linked lines.",
251
"This mode can also be called",
254
SDLK_l|MOD_SHIFT, // Shift + L
258
"Allows you to spray brushes",
259
"randomly in the picture.",
262
SDLK_a, // A (Q en AZERTY)
266
"Opens a menu in which you can",
267
"configure the spray flow and size.",
270
SDLK_a|MOD_SHIFT, // Shift + A
274
"Allows you to fill an area of the",
275
"picture made of pixels of the same",
282
"This tool replaces all the pixels of",
283
"the clicked color to the fore-color",
284
"or the back-color.",
286
SDLK_f|MOD_SHIFT, // Shift + F
290
"Allows you to draw Bezier""s curves.",
297
"Bezier""s curve with 3 or 4 points",
298
"Allows you to choose whether you",
299
"want to draw Bezier""s curves with",
302
SDLK_i|MOD_SHIFT, // Shift + I
306
"Allows you to draw a rectangle using",
314
"Allows you to draw a filled",
318
SDLK_r|MOD_SHIFT, // Shift + R
322
"Allows you to draw a circle using",
330
"Allows you to draw an ellipse using",
334
SDLK_c|MOD_CTRL, // Ctrl + C
338
"Allows you to draw a filled circle.",
342
SDLK_c|MOD_SHIFT, // Shift + C
346
"Allows you to draw a filled ellipse.",
350
SDLK_c|MOD_SHIFT|MOD_CTRL, // Shift + Ctrl + C
354
"Allows you to draw a polygon using",
361
"Empty \"polyform\"",
362
"Allows you to draw a freehand",
363
"polygon using the brush.",
366
SDLK_n|MOD_CTRL, // Ctrl + N
370
"Allows you to draw a filled polygon.",
374
SDLK_n|MOD_SHIFT, // Shift + N
377
"Filled \"polyform\"",
378
"Allows you to draw a filled freehand",
382
SDLK_n|MOD_SHIFT|MOD_CTRL, // Shift + Ctrl + N
385
"Rectangle with gradation",
386
"Allows you to draw a rectangle with",
387
"a color gradation.",
390
SDLK_r|MOD_ALT, // Alt + R
394
"Allows you to configure the way",
395
"color gradations are calculated.",
398
SDLK_g|MOD_ALT, // Alt + G
401
"Sphere with gradation",
402
"Allows you to draw a rectangle with",
403
"a color gradation.",
406
SDLK_c|MOD_ALT, // Alt + C
409
"Ellipse with gradation",
410
"Allows you to draw an ellipse filled",
411
"with a color gradation.",
414
SDLK_c|MOD_SHIFT|MOD_ALT, // Shift + Alt + C
418
"Allows you to move the whole picture",
419
"Around. What gets out from a side",
420
"reappears on the other.",
426
"Opens the 'Picture effects' window.",
430
SDLK_KP5|MOD_SHIFT, // Shift + Kpad5
434
"Opens a menu where you can enable/",
435
"disable and configure the drawing",
442
"Enables or disables Shade mode",
450
"Opens a the menu for Shade settings.",
454
SDLK_F5|MOD_SHIFT, // Shift + F5
458
"Enables or disables Quick-shade",
462
SDLK_F5|MOD_CTRL, // Ctrl + F5
466
"Opens a the menu for Quick-shade",
470
SDLK_F5|MOD_SHIFT|MOD_CTRL, // Shift + Ctrl + F5
474
"Enables or disables Stencil mode.",
482
"Opens a the menu for Stencil",
486
SDLK_F6|MOD_SHIFT, // Shift + F6
490
"Enables or disables Mask mode.",
494
SDLK_F6|MOD_ALT, // Alt + F6
498
"Opens a the menu for Mask settings.",
502
SDLK_F6|MOD_SHIFT|MOD_ALT, // Shift + Alt + F6
506
"Enables or disables the Grid mode.",
514
"Open a menu where you can configure",
515
"the grid used by Grid mode.",
518
SDLK_g|MOD_SHIFT, // Shift + G
522
"Enables or disables the Sieve mode.",
526
SDLK_g|MOD_CTRL, // Ctrl + G
530
"Opens a menu where you can configure",
534
SDLK_g|MOD_SHIFT|MOD_CTRL, // Shift + Ctrl + G
538
"Inverts the pattern defined in the",
542
SDLK_g|MOD_CTRL|MOD_ALT, // Ctrl + Alt + G
546
"Enables or disables the Colorize",
554
"Opens a menu where you can give the",
555
"opacity percentage for Colorize",
558
SDLK_F7|MOD_SHIFT, // Shift + F7
562
"Enables or disables the Smooth",
570
"Opens a menu where you can define",
571
"the Smooth matrix.",
574
SDLK_F8|MOD_SHIFT, // Shift + F8
578
"Enables or disables the Smear mode.",
582
SDLK_F8|MOD_ALT, // Alt + F8
586
"Enables or disables the Tiling",
590
SDLK_b|MOD_ALT, // Alt + B
594
"Opens a menu where you can configure",
595
"the origin of the tiling.",
598
SDLK_b|MOD_SHIFT|MOD_ALT, // Shift + Alt + B
601
"Classical brush grabbing",
602
"Allows you to pick a brush defined",
603
"within a rectangle.",
609
"\"Lasso\" brush grabbing",
610
"Allows you to pick a brush defined",
611
"within a freehand polygon.",
614
SDLK_b|MOD_CTRL, // Ctrl + B
617
"Get previous brush back",
618
"Restore the last user-defined brush.",
622
SDLK_b|MOD_SHIFT, // Shift + B
625
"Horizontal brush flipping",
626
"Reverse brush horizontally.",
633
"Vertical brush flipping",
634
"Reverse brush vertically.",
641
"90� brush rotation",
642
"Rotate the user-defined brush by 90�",
643
"(counter-clockwise).",
646
SDLK_z, // Z (W en AZERTY)
649
"180� brush rotation",
650
"Rotate the user-defined brush by",
654
SDLK_z|MOD_SHIFT, // Shift + Z
658
"Allows you to resize the",
659
"user-defined brush.",
666
"Allows you to distort the",
667
"user-defined brush.",
670
SDLK_s|MOD_SHIFT, // Shift + S
674
"Outlines the user-defined brush",
675
"with the fore color.",
682
"Deletes the borders of the",
683
"user-defined brush.This does the",
684
"opposite of the Outline option.",
686
SDLK_o|MOD_SHIFT, // Shift + O
689
"Get colors from brush",
690
"Copy colors of the spare page that",
691
"are used in the brush.",
698
"Recolorize the user-defined brush in",
699
"order to get a brush which looks as",
700
"if it was grabbed in the spare page.",
705
"Rotate by any angle",
706
"Rotate the brush by an angle that",
710
SDLK_w, // W (Z en AZERTY)
714
"Allows you to copy the color of a",
715
"pixel in the picture into the",
716
"foreground or background color.",
718
SDLK_BACKQUOTE, // `~ (Key sous le Esc - � en AZERTY)
721
"Swap foreground/background colors",
722
"Invert foreground and background",
726
SDLK_BACKQUOTE|MOD_SHIFT, // Shift + `~
730
"Allows you to zoom into the picture.",
734
SDLK_m, // M (, ? sur AZERTY)
738
"Opens a menu where you can choose a",
739
"magnifying factor.",
742
SDLK_m|MOD_SHIFT, // Shift + M
746
"Increase magnifying factor.",
750
SDLK_KP_PLUS, // Grey +
754
"Decrease magnifying factor.",
758
SDLK_KP_MINUS, // Grey -
761
"Brush effects menu",
762
"Opens a menu which proposes",
763
"different effects on the",
764
"user-defined brush.",
766
SDLK_b|MOD_CTRL|MOD_ALT, // Ctrl + Alt + B
770
"Opens a menu which permits you to",
771
"type in a character string and",
772
"render it as a brush.",
777
"Screen resolution menu",
778
"Opens a menu where you can choose",
779
"the screen resolution and image",
782
SDLK_RETURN, // Enter
785
"\"Safety\" resolution",
786
"Resets the resolution to a 'safe'",
787
"mode that should work everywhere:",
788
"usually a 640x400 window.",
790
SDLK_RETURN|MOD_SHIFT, // Shift + Enter
794
"Opens a window where you can get",
795
"information about the program,",
796
"or contextual help.",
802
"Displays miscellaneous more or less",
803
"useful information.",
806
SDLK_F1|MOD_SHIFT, // Shift + F1
809
"Jump to spare page",
810
"Swap current page and spare page.",
817
"Copy current page to spare page",
818
"Copy current page to spare page.",
822
SDLK_TAB|MOD_SHIFT, // Shift + Tab
825
"Save picture as...",
826
"Opens a file-selector that allows",
827
"you to save your picture with a new",
834
"Saves your picture with the last",
838
SDLK_F2|MOD_SHIFT, // Shift + F2
842
"Opens a file-selector that allows",
843
"you to load a new picture.",
850
"Re-load the current picture. This",
851
"allows you to cancel modifications",
852
"made since last saving.",
854
SDLK_F3|MOD_SHIFT, // Shift + F3
858
"Opens a file-selector that allows",
859
"you to save your current",
860
"user-defined brush.",
862
SDLK_F2|MOD_CTRL, // Ctrl + F2
866
"Opens a file-selector that allows",
867
"you to load a brush.",
870
SDLK_F3|MOD_CTRL, // Ctrl + F3
874
"Opens a menu which permits you to",
875
"modify some parameters of the",
878
SDLK_F10|MOD_SHIFT, // Shift + F10
882
"Cancel the last action which",
883
"modified the picture.",
890
"Redo the last undone action.",
894
SDLK_u|MOD_SHIFT, // Shift + U
898
"Kills the current page. It actually",
899
"removes the current page from the",
900
"list of \"Undo\" pages.",
902
SDLK_DELETE|MOD_SHIFT, // Shift + Suppr
906
"Clears the picture with color 0,",
907
"or the transparent color if it's",
910
SDLK_BACKSPACE, // BackSpace
913
"Clear page with backcolor",
914
"Clears the picture with the",
915
"current backcolor.",
918
SDLK_BACKSPACE|MOD_SHIFT, // Shift + BackSpace
922
"Allows you to leave the program.",
923
"If modifications were not saved,",
924
"confirmation is asked.",
926
SDLK_q, // Q (A en AZERTY)
930
"Opens a menu which allows you to",
931
"modify the current palette.",
937
"Secondary palette menu",
938
"Opens a menu which allows you to",
939
"define color series and some tagged",
942
SDLK_p|MOD_SHIFT, // Shift + P
945
"Exclude colors menu",
946
"Opens a menu which allows you to",
947
"define the colors you don'""t want to",
948
"use in Smooth and Transparency",
950
SDLK_p|MOD_CTRL, // Ctrl + P
953
"Scroll palette to the left",
954
"Scroll palette in the tool bar to",
955
"the left, column by column.",
961
"Scroll palette to the right",
962
"Scroll palette in the tool bar to",
963
"the right, column by column.",
966
SDLK_PAGEDOWN, // PgDn
969
"Scroll palette to the left faster",
970
"Scroll palette in the tool bar to",
971
"the left, 8 columns by 8 columns.",
974
SDLK_PAGEUP|MOD_SHIFT, // Shift + PgUp
977
"Scroll palette to the right faster",
978
"Scroll palette in the tool bar to",
979
"the right, 8 columns by 8 columns.",
982
SDLK_PAGEDOWN|MOD_SHIFT, // Shift + PgDn
985
"Center brush attachment point",
986
"Set the attachement of the",
987
"user-defined brush to its center.",
990
SDLK_KP5|MOD_CTRL, // Ctrl + 5 (pav� num�rique)
993
"Top-left brush attachment point",
994
"Set the attachement of the",
995
"user-defined brush to its top-left",
998
SDLK_HOME|MOD_CTRL, // Ctrl + 7
1001
"Top-right brush attachment point",
1002
"Set the attachement of the",
1003
"user-defined brush to its top-right",
1006
SDLK_PAGEUP|MOD_CTRL, // Ctrl + 9
1009
"Bottom-left brush attachment point",
1010
"Set the attachement of the",
1011
"user-defined brush to its",
1012
"bottom-left corner.",
1014
SDLK_END|MOD_CTRL, // Ctrl + 1
1017
"Bottom-right brush attachment point",
1018
"Set the attachement of the",
1019
"user-defined brush to its",
1020
"bottom-right corner.",
1022
SDLK_PAGEDOWN|MOD_CTRL, // Ctrl + 3
1025
"Next foreground color",
1026
"Set the foreground color to the next",
1030
SDLK_RIGHTBRACKET, // ] (0x en AZERTY)
1033
"Previous foreground color",
1034
"Set the foreground color to the",
1035
"previous in the palette.",
1038
SDLK_LEFTBRACKET, // [ (^ en AZERTY)
1041
"Next background color",
1042
"Set the background color to the next",
1046
SDLK_RIGHTBRACKET|MOD_SHIFT, // Shift + ]
1049
"Previous background color",
1050
"Set the background color to the",
1051
"previous in the palette.",
1054
SDLK_LEFTBRACKET|MOD_SHIFT, // Shift + [
1057
"Next user-defined forecolor",
1058
"Set the foreground color to the next",
1059
"in the user-defined color series.",
1062
SDLK_EQUALS, // "=+"
1065
"Previous user-defined forecolor",
1066
"Set the foreground color to the",
1067
"previous in the user-defined color",
1070
SDLK_MINUS, // "-_" (")�" en AZERTY
1073
"Next user-defined backcolor",
1074
"Set the background color to the next",
1075
"in the user-defined color series.",
1078
SDLK_EQUALS|MOD_SHIFT, // Shift + "=+"
1081
"Previous user-defined backcolor",
1082
"Set the background color to the",
1083
"previous in the user-defined color",
1086
SDLK_MINUS|MOD_SHIFT, // Shift + "-_" (")�" en AZERTY
1089
"Shrink paintbrush",
1090
"Decrease the width of the paintbrush",
1091
"if it is special circle or square.",
1094
SDLK_COMMA, // , < (;. en AZERTY)
1097
"Enlarge paintbrush",
1098
"Increase the width of the paintbrush",
1099
"if it is special circle or square.",
1102
SDLK_PERIOD, // .> (:/ en AZERTY)
1106
"Turns off all drawing effects. This",
1107
"is the same as the 'All off' button",
1108
"in the Effects screen",
1110
SDLK_e|MOD_SHIFT, // Shift-E
1114
"Turns transparency on and sets its",
1122
"Turns transparency on and sets its",
1130
"Turns transparency on and sets its",
1138
"Turns transparency on and sets its",
1146
"Turns transparency on and sets its",
1154
"Turns transparency on and sets its",
1162
"Turns transparency on and sets its",
1170
"Turns transparency on and sets its",
1178
"Turns transparency on and sets its",
1186
"Turns transparency on and sets its",
1194
"Turns magnifier mode off.",
1198
SDLK_1|MOD_CTRL, /* Ctrl + 1 */
1202
"Turns magnifier mode on and set its",
1206
SDLK_2|MOD_CTRL, /* Ctrl + 2 */
1210
"Turns magnifier mode on and set its",
1214
SDLK_3|MOD_CTRL, /* Ctrl + 3 */
1218
"Turns magnifier mode on and set its",
1222
SDLK_4|MOD_CTRL, /* Ctrl + 4 */
1226
"Turns magnifier mode on and set its",
1230
SDLK_5|MOD_CTRL, /* Ctrl + 5 */
1234
"Turns magnifier mode on and set its",
1238
SDLK_6|MOD_CTRL, /* Ctrl + 6 */
1242
"Turns magnifier mode on and set its",
1246
SDLK_7|MOD_CTRL, /* Ctrl + 7 */
1250
"Turns magnifier mode on and set its",
1254
SDLK_8|MOD_CTRL, /* Ctrl + 8 */
1258
"Turns magnifier mode on and set its",
1266
"Turns magnifier mode on and set its",
1274
"Turns magnifier mode on and set its",
1282
"Turns magnifier mode on and set its",
1290
"Turns magnifier mode on and set its",
1298
"Turns on or off the visible grid in ",
1299
"the magnified view. Grid cells match",
1302
SDLK_g|MOD_SHIFT|MOD_ALT, // Shift + Alt + G,
1306
"Makes the layer 1 visible and",
1307
"set it as the active one, where",
1314
"Makes layer 1 visible or invisible.",
1315
"If it's the current active layer,",
1316
"toggle all other layers instead.",
1322
"Makes the layer 2 visible and",
1323
"set it as the active one, where",
1330
"Makes layer 2 visible or invisible.",
1331
"If it's the current active layer,",
1332
"toggle all other layers instead.",
1338
"Makes the layer 3 visible and",
1339
"set it as the active one, where",
1346
"Makes layer 3 visible or invisible.",
1347
"If it's the current active layer,",
1348
"toggle all other layers instead.",
1354
"Makes the layer 4 visible and",
1355
"set it as the active one, where",
1362
"Makes layer 4 visible or invisible.",
1363
"If it's the current active layer,",
1364
"toggle all other layers instead.",
1370
"Makes the layer 5 visible and",
1371
"set it as the active one, where",
1378
"Makes layer 5 visible or invisible.",
1379
"If it's the current active layer,",
1380
"toggle all other layers instead.",
1386
"Makes the layer 6 visible and",
1387
"set it as the active one, where",
1394
"Makes layer 6 visible or invisible.",
1395
"If it's the current active layer,",
1396
"toggle all other layers instead.",
1402
"Makes the layer 7 visible and",
1403
"set it as the active one, where",
1410
"Makes layer 7 visible or invisible.",
1411
"If it's the current active layer,",
1412
"toggle all other layers instead.",
1418
"Makes the layer 8 visible and",
1419
"set it as the active one, where",
1426
"Makes layer 8 visible or invisible.",
1427
"If it's the current active layer,",
1428
"toggle all other layers instead.",
1434
"Adds a new layer on top of the",
1435
"active one. The new layer is filled",
1436
"with transparent color.",
1438
SDLK_INSERT|MOD_ALT, // Alt + Insert
1442
"Delete the current layer.",
1443
"You can't delete the last",
1446
SDLK_DELETE|MOD_ALT, // Alt + Delete
1450
"Merges the current layer with",
1451
"the one directly below it.",
1454
SDLK_END|MOD_ALT, // Alt + End
1458
"Moves the current layer one position",
1459
"up the stack. No effect if already",
1462
SDLK_PAGEUP|MOD_ALT, // Alt + PageUp
1465
"Swap layer (down)",
1466
"Moves the current layer one position",
1467
"down the stack. No effect if already",
1470
SDLK_PAGEDOWN|MOD_ALT, // Alt + PageDown
1474
"Opens a window with options related",
1475
"to layers and image transparency.",
1478
SDLK_HOME|MOD_ALT, // Alt + Home
1482
word Ordering[NB_SHORTCUTS]=
1484
SPECIAL_SCROLL_UP, // Scroll up
1485
SPECIAL_SCROLL_DOWN, // Scroll down
1486
SPECIAL_SCROLL_LEFT, // Scroll left
1487
SPECIAL_SCROLL_RIGHT, // Scroll right
1488
SPECIAL_SCROLL_UP_FAST, // Scroll up faster
1489
SPECIAL_SCROLL_DOWN_FAST, // Scroll down faster
1490
SPECIAL_SCROLL_LEFT_FAST, // Scroll left faster
1491
SPECIAL_SCROLL_RIGHT_FAST, // Scroll right faster
1492
SPECIAL_SCROLL_UP_SLOW, // Scroll up slower
1493
SPECIAL_SCROLL_DOWN_SLOW, // Scroll down slower
1494
SPECIAL_SCROLL_LEFT_SLOW, // Scroll left slower
1495
SPECIAL_SCROLL_RIGHT_SLOW, // Scroll right slower
1496
SPECIAL_MOUSE_UP, // Emulate mouse up
1497
SPECIAL_MOUSE_DOWN, // Emulate mouse down
1498
SPECIAL_MOUSE_LEFT, // Emulate mouse left
1499
SPECIAL_MOUSE_RIGHT, // Emulate mouse right
1500
SPECIAL_CLICK_LEFT, // Emulate mouse click left
1501
SPECIAL_CLICK_RIGHT, // Emulate mouse click right
1502
0x100+BUTTON_HIDE, // Show / Hide menus
1503
SPECIAL_SHOW_HIDE_CURSOR, // Show / Hide cursor
1504
SPECIAL_DOT_PAINTBRUSH, // Paintbrush = "."
1505
0x100+BUTTON_PAINTBRUSHES, // Paintbrush choice
1506
0x200+BUTTON_PAINTBRUSHES, // Monochrome brush
1507
0x100+BUTTON_DRAW, // Freehand drawing
1508
0x200+BUTTON_DRAW, // Switch freehand drawing mode
1509
SPECIAL_CONTINUOUS_DRAW, // Continuous freehand drawing
1510
0x100+BUTTON_LINES, // Line
1511
0x200+BUTTON_LINES, // Knotted lines
1512
0x100+BUTTON_AIRBRUSH, // Spray
1513
0x200+BUTTON_AIRBRUSH, // Spray menu
1514
0x100+BUTTON_FLOODFILL, // Floodfill
1515
0x200+BUTTON_FLOODFILL, // Replace color
1516
0x100+BUTTON_CURVES, // B�zier's curves
1517
0x200+BUTTON_CURVES, // B�zier's curve with 3 or 4 points
1518
0x100+BUTTON_RECTANGLES, // Empty rectangle
1519
0x100+BUTTON_FILLRECT, // Filled rectangle
1520
0x100+BUTTON_CIRCLES, // Empty circle
1521
0x200+BUTTON_CIRCLES, // Empty ellipse
1522
0x100+BUTTON_FILLCIRC, // Filled circle
1523
0x200+BUTTON_FILLCIRC, // Filled ellipse
1524
0x100+BUTTON_POLYGONS, // Empty polygon
1525
0x200+BUTTON_POLYGONS, // Empty polyform
1526
0x100+BUTTON_POLYFILL, // Polyfill
1527
0x200+BUTTON_POLYFILL, // Filled polyform
1528
0x100+BUTTON_GRADRECT, // Gradient rectangle
1529
0x200+BUTTON_GRADRECT, // Gradation menu
1530
0x100+BUTTON_SPHERES, // Spheres
1531
0x200+BUTTON_SPHERES, // Gradient ellipses
1532
0x100+BUTTON_ADJUST, // Adjust picture
1533
0x200+BUTTON_ADJUST, // Flip picture menu
1534
0x100+BUTTON_EFFECTS, // Menu des effets
1535
SPECIAL_SHADE_MODE, // Shade mode
1536
SPECIAL_SHADE_MENU, // Shade menu
1537
SPECIAL_QUICK_SHADE_MODE, // Quick-shade mode
1538
SPECIAL_QUICK_SHADE_MENU, // Quick-shade menu
1539
SPECIAL_STENCIL_MODE, // Stencil mode
1540
SPECIAL_STENCIL_MENU, // Stencil menu
1541
SPECIAL_MASK_MODE, // Mask mode
1542
SPECIAL_MASK_MENU, // Mask menu
1543
SPECIAL_GRID_MODE, // Grid mode
1544
SPECIAL_GRID_MENU, // Grid menu
1545
SPECIAL_SIEVE_MODE, // Sieve mode
1546
SPECIAL_SIEVE_MENU, // Sieve menu
1547
SPECIAL_INVERT_SIEVE, // Inverser la trame du mode Sieve
1548
SPECIAL_COLORIZE_MODE, // Colorize mode
1549
SPECIAL_COLORIZE_MENU, // Colorize menu
1550
SPECIAL_SMOOTH_MODE, // Smooth mode
1551
SPECIAL_SMOOTH_MENU, // Smooth menu
1552
SPECIAL_SMEAR_MODE, // Smear mode
1553
SPECIAL_TILING_MODE, // Tiling mode
1554
SPECIAL_TILING_MENU, // Tiling menu
1555
0x100+BUTTON_BRUSH, // Pick brush
1556
0x100+BUTTON_POLYBRUSH, // Pick polyform brush
1557
0x200+BUTTON_BRUSH, // Restore brush
1558
SPECIAL_FLIP_X, // Flip X
1559
SPECIAL_FLIP_Y, // Flip Y
1560
SPECIAL_ROTATE_90, // 90� brush rotation
1561
SPECIAL_ROTATE_180, // 180� brush rotation
1562
SPECIAL_STRETCH, // Stretch brush
1563
SPECIAL_DISTORT, // Distort brush
1564
SPECIAL_OUTLINE, // Outline brush
1565
SPECIAL_NIBBLE, // Nibble brush
1566
SPECIAL_GET_BRUSH_COLORS, // Get colors from brush
1567
SPECIAL_RECOLORIZE_BRUSH, // Recolorize brush
1568
SPECIAL_ROTATE_ANY_ANGLE, // Rotate brush by any angle
1569
0x100+BUTTON_COLORPICKER, // Pipette
1570
0x200+BUTTON_COLORPICKER, // Swap fore/back color
1571
0x100+BUTTON_MAGNIFIER, // Magnifier mode
1572
0x200+BUTTON_MAGNIFIER, // Zoom factor menu
1573
SPECIAL_ZOOM_IN, // Zoom in
1574
SPECIAL_ZOOM_OUT, // Zoom out
1575
0x100+BUTTON_BRUSH_EFFECTS, // Brush effects menu
1576
0x100+BUTTON_TEXT, // Text
1577
0x100+BUTTON_RESOL, // Resolution menu
1578
0x200+BUTTON_RESOL, // Safety resolution
1579
0x100+BUTTON_HELP, // Help & credits
1580
0x200+BUTTON_HELP, // Statistics
1581
0x100+BUTTON_PAGE, // Go to spare page
1582
0x200+BUTTON_PAGE, // Copy to spare page
1583
0x100+BUTTON_SAVE, // Save as
1584
0x200+BUTTON_SAVE, // Save
1585
0x100+BUTTON_LOAD, // Load
1586
0x200+BUTTON_LOAD, // Re-load
1587
SPECIAL_SAVE_BRUSH, // Save brush
1588
SPECIAL_LOAD_BRUSH, // Load brush
1589
0x100+BUTTON_SETTINGS, // Settings
1590
0x100+BUTTON_UNDO, // Undo
1591
0x200+BUTTON_UNDO, // Redo
1592
0x100+BUTTON_KILL, // Kill
1593
0x100+BUTTON_CLEAR, // Clear
1594
0x200+BUTTON_CLEAR, // Clear with backcolor
1595
0x100+BUTTON_QUIT, // Quit
1596
0x100+BUTTON_PALETTE, // Palette menu
1597
0x200+BUTTON_PALETTE, // Palette menu secondaire
1598
SPECIAL_EXCLUDE_COLORS_MENU, // Exclude colors menu
1599
0x100+BUTTON_PAL_LEFT, // Scroll palette left
1600
0x100+BUTTON_PAL_RIGHT, // Scroll palette right
1601
0x200+BUTTON_PAL_LEFT, // Scroll palette left faster
1602
0x200+BUTTON_PAL_RIGHT, // Scroll palette right faster
1603
SPECIAL_CENTER_ATTACHMENT, // Center brush attachement
1604
SPECIAL_TOP_LEFT_ATTACHMENT, // Top-left brush attachement
1605
SPECIAL_TOP_RIGHT_ATTACHMENT, // Top-right brush attachement
1606
SPECIAL_BOTTOM_LEFT_ATTACHMENT, // Bottom-left brush attachement
1607
SPECIAL_BOTTOM_RIGHT_ATTACHMENT, // Bottom right brush attachement
1608
SPECIAL_NEXT_FORECOLOR, // Next foreground color
1609
SPECIAL_PREVIOUS_FORECOLOR, // Previous foreground color
1610
SPECIAL_NEXT_BACKCOLOR, // Next background color
1611
SPECIAL_PREVIOUS_BACKCOLOR, // Previous background color
1612
SPECIAL_NEXT_USER_FORECOLOR, // Next user-defined foreground color
1613
SPECIAL_PREVIOUS_USER_FORECOLOR, // Previous user-defined foreground color
1614
SPECIAL_NEXT_USER_BACKCOLOR, // Next user-defined background color
1615
SPECIAL_PREVIOUS_USER_BACKCOLOR, // Previous user-defined background color
1616
SPECIAL_SMALLER_PAINTBRUSH, // Sets paintbrush size: smaller
1617
SPECIAL_BIGGER_PAINTBRUSH, // Sets paintbrush size: bigger
1618
SPECIAL_EFFECTS_OFF, // Turns off all effects
1619
SPECIAL_TRANSPARENCY_1, // Sets transparency level 10%
1620
SPECIAL_TRANSPARENCY_2, // Sets transparency level 20%
1621
SPECIAL_TRANSPARENCY_3, // Sets transparency level 30%
1622
SPECIAL_TRANSPARENCY_4, // Sets transparency level 40%
1623
SPECIAL_TRANSPARENCY_5, // Sets transparency level 50%
1624
SPECIAL_TRANSPARENCY_6, // Sets transparency level 60%
1625
SPECIAL_TRANSPARENCY_7, // Sets transparency level 70%
1626
SPECIAL_TRANSPARENCY_8, // Sets transparency level 80%
1627
SPECIAL_TRANSPARENCY_9, // Sets transparency level 90%
1628
SPECIAL_TRANSPARENCY_0, // Sets transparency level 00%
1629
SPECIAL_ZOOM_1, /**< Sets zoom factor to 1:1 (no magnification) */
1630
SPECIAL_ZOOM_2, /**< Sets zoom factor to 2:1 */
1631
SPECIAL_ZOOM_3, /**< Sets zoom factor to 3:1 */
1632
SPECIAL_ZOOM_4, /**< Sets zoom factor to 4:1 */
1633
SPECIAL_ZOOM_5, /**< Sets zoom factor to 5:1 */
1634
SPECIAL_ZOOM_6, /**< Sets zoom factor to 6:1 */
1635
SPECIAL_ZOOM_8, /**< Sets zoom factor to 8:1 */
1636
SPECIAL_ZOOM_10, /**< Sets zoom factor to 10:1 */
1637
SPECIAL_ZOOM_12, /**< Sets zoom factor to 12:1 */
1638
SPECIAL_ZOOM_14, /**< Sets zoom factor to 14:1 */
1639
SPECIAL_ZOOM_16, /**< Sets zoom factor to 16:1 */
1640
SPECIAL_ZOOM_18, /**< Sets zoom factor to 18:1 */
1641
SPECIAL_ZOOM_20, /**< Sets zoom factor to 20:1 */
1643
SPECIAL_LAYER1_SELECT,
1644
SPECIAL_LAYER1_TOGGLE,
1645
SPECIAL_LAYER2_SELECT,
1646
SPECIAL_LAYER2_TOGGLE,
1647
SPECIAL_LAYER3_SELECT,
1648
SPECIAL_LAYER3_TOGGLE,
1649
SPECIAL_LAYER4_SELECT,
1650
SPECIAL_LAYER4_TOGGLE,
1651
SPECIAL_LAYER5_SELECT,
1652
SPECIAL_LAYER5_TOGGLE,
1653
SPECIAL_LAYER6_SELECT,
1654
SPECIAL_LAYER6_TOGGLE,
1655
SPECIAL_LAYER7_SELECT,
1656
SPECIAL_LAYER7_TOGGLE,
1657
SPECIAL_LAYER8_SELECT,
1658
SPECIAL_LAYER8_TOGGLE,
1659
0x100+BUTTON_LAYER_ADD,
1660
0x100+BUTTON_LAYER_REMOVE,
1661
0x100+BUTTON_LAYER_MERGE,
1662
0x100+BUTTON_LAYER_UP,
1663
0x100+BUTTON_LAYER_DOWN,
1664
0x100+BUTTON_LAYER_MENU,