Keyboard shortcuts are customizable from within Grafx2.
2 shortcuts per function. You can use keys, MouseWheel, Middlebutton, joystick buttons, in combination with Alt, Shift, Control. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@609 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
141
init.c
141
init.c
@@ -1766,147 +1766,6 @@ void Definition_des_modes_video(void)
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
|
||||
word Ordonnancement[NB_TOUCHES]=
|
||||
{
|
||||
SPECIAL_SCROLL_UP, // Scroll up
|
||||
SPECIAL_SCROLL_DOWN, // Scroll down
|
||||
SPECIAL_SCROLL_LEFT, // Scroll left
|
||||
SPECIAL_SCROLL_RIGHT, // Scroll right
|
||||
SPECIAL_SCROLL_UP_FAST, // Scroll up faster
|
||||
SPECIAL_SCROLL_DOWN_FAST, // Scroll down faster
|
||||
SPECIAL_SCROLL_LEFT_FAST, // Scroll left faster
|
||||
SPECIAL_SCROLL_RIGHT_FAST, // Scroll right faster
|
||||
SPECIAL_SCROLL_UP_SLOW, // Scroll up slower
|
||||
SPECIAL_SCROLL_DOWN_SLOW, // Scroll down slower
|
||||
SPECIAL_SCROLL_LEFT_SLOW, // Scroll left slower
|
||||
SPECIAL_SCROLL_RIGHT_SLOW, // Scroll right slower
|
||||
SPECIAL_MOUSE_UP, // Emulate mouse up
|
||||
SPECIAL_MOUSE_DOWN, // Emulate mouse down
|
||||
SPECIAL_MOUSE_LEFT, // Emulate mouse left
|
||||
SPECIAL_MOUSE_RIGHT, // Emulate mouse right
|
||||
SPECIAL_CLICK_LEFT, // Emulate mouse click left
|
||||
SPECIAL_CLICK_RIGHT, // Emulate mouse click right
|
||||
0x100+BOUTON_CACHER, // Show / Hide menu
|
||||
SPECIAL_SHOW_HIDE_CURSOR, // Show / Hide cursor
|
||||
SPECIAL_PINCEAU_POINT, // Paintbrush = "."
|
||||
0x100+BOUTON_PINCEAUX, // Paintbrush choice
|
||||
0x200+BOUTON_PINCEAUX, // Monochrome brush
|
||||
0x100+BOUTON_DESSIN, // Freehand drawing
|
||||
0x200+BOUTON_DESSIN, // Switch freehand drawing mode
|
||||
SPECIAL_DESSIN_CONTINU, // Continuous freehand drawing
|
||||
0x100+BOUTON_LIGNES, // Line
|
||||
0x200+BOUTON_LIGNES, // Knotted lines
|
||||
0x100+BOUTON_SPRAY, // Spray
|
||||
0x200+BOUTON_SPRAY, // Spray menu
|
||||
0x100+BOUTON_FLOODFILL, // Floodfill
|
||||
0x200+BOUTON_FLOODFILL, // Replace color
|
||||
0x100+BOUTON_COURBES, // Bézier's curves
|
||||
0x200+BOUTON_COURBES, // Bézier's curve with 3 or 4 points
|
||||
0x100+BOUTON_RECTANGLES, // Empty rectangle
|
||||
0x100+BOUTON_FILLRECT, // Filled rectangle
|
||||
0x100+BOUTON_CERCLES, // Empty circle
|
||||
0x200+BOUTON_CERCLES, // Empty ellipse
|
||||
0x100+BOUTON_FILLCERC, // Filled circle
|
||||
0x200+BOUTON_FILLCERC, // Filled ellipse
|
||||
0x100+BOUTON_POLYGONES, // Empty polygon
|
||||
0x200+BOUTON_POLYGONES, // Empty polyform
|
||||
0x100+BOUTON_POLYFILL, // Polyfill
|
||||
0x200+BOUTON_POLYFILL, // Filled polyform
|
||||
0x100+BOUTON_GRADRECT, // Gradient rectangle
|
||||
0x100+BOUTON_GRADMENU, // Gradation menu
|
||||
0x100+BOUTON_SPHERES, // Spheres
|
||||
0x200+BOUTON_SPHERES, // Gradient ellipses
|
||||
0x100+BOUTON_AJUSTER, // Adjust picture
|
||||
0x200+BOUTON_AJUSTER, // Flip picture menu
|
||||
0x100+BOUTON_EFFETS, // Menu des effets
|
||||
SPECIAL_SHADE_MODE, // Shade mode
|
||||
SPECIAL_SHADE_MENU, // Shade menu
|
||||
SPECIAL_QUICK_SHADE_MODE, // Quick-shade mode
|
||||
SPECIAL_QUICK_SHADE_MENU, // Quick-shade menu
|
||||
SPECIAL_STENCIL_MODE, // Stencil mode
|
||||
SPECIAL_STENCIL_MENU, // Stencil menu
|
||||
SPECIAL_MASK_MODE, // Mask mode
|
||||
SPECIAL_MASK_MENU, // Mask menu
|
||||
SPECIAL_GRID_MODE, // Grid mode
|
||||
SPECIAL_GRID_MENU, // Grid menu
|
||||
SPECIAL_SIEVE_MODE, // Sieve mode
|
||||
SPECIAL_SIEVE_MENU, // Sieve menu
|
||||
SPECIAL_INVERT_SIEVE, // Inverser la trame du mode Sieve
|
||||
SPECIAL_COLORIZE_MODE, // Colorize mode
|
||||
SPECIAL_COLORIZE_MENU, // Colorize menu
|
||||
SPECIAL_SMOOTH_MODE, // Smooth mode
|
||||
SPECIAL_SMOOTH_MENU, // Smooth menu
|
||||
SPECIAL_SMEAR_MODE, // Smear mode
|
||||
SPECIAL_TILING_MODE, // Tiling mode
|
||||
SPECIAL_TILING_MENU, // Tiling menu
|
||||
0x100+BOUTON_BROSSE, // Pick brush
|
||||
0x100+BOUTON_POLYBROSSE, // Pick polyform brush
|
||||
0x200+BOUTON_BROSSE, // Restore brush
|
||||
SPECIAL_FLIP_X, // Flip X
|
||||
SPECIAL_FLIP_Y, // Flip Y
|
||||
SPECIAL_ROTATE_90, // 90° brush rotation
|
||||
SPECIAL_ROTATE_180, // 180° brush rotation
|
||||
SPECIAL_STRETCH, // Stretch brush
|
||||
SPECIAL_DISTORT, // Distort brush
|
||||
SPECIAL_OUTLINE, // Outline brush
|
||||
SPECIAL_NIBBLE, // Nibble brush
|
||||
SPECIAL_GET_BRUSH_COLORS, // Get colors from brush
|
||||
SPECIAL_RECOLORIZE_BRUSH, // Recolorize brush
|
||||
SPECIAL_ROTATE_ANY_ANGLE, // Rotate brush by any angle
|
||||
0x100+BOUTON_PIPETTE, // Pipette
|
||||
0x200+BOUTON_PIPETTE, // Swap fore/back color
|
||||
0x100+BOUTON_LOUPE, // Magnifier mode
|
||||
0x200+BOUTON_LOUPE, // Zoom factor menu
|
||||
SPECIAL_ZOOM_IN, // Zoom in
|
||||
SPECIAL_ZOOM_OUT, // Zoom out
|
||||
0x100+BOUTON_EFFETS_BROSSE, // Brush effects menu
|
||||
0x100+BOUTON_TEXTE, // Text
|
||||
0x100+BOUTON_RESOL, // Resolution menu
|
||||
0x200+BOUTON_RESOL, // Safety resolution
|
||||
0x100+BOUTON_AIDE, // Help & credits
|
||||
0x200+BOUTON_AIDE, // Statistics
|
||||
0x100+BOUTON_PAGE, // Go to spare page
|
||||
0x200+BOUTON_PAGE, // Copy to spare page
|
||||
0x100+BOUTON_SAUVER, // Save as
|
||||
0x200+BOUTON_SAUVER, // Save
|
||||
0x100+BOUTON_CHARGER, // Load
|
||||
0x200+BOUTON_CHARGER, // Re-load
|
||||
SPECIAL_SAVE_BRUSH, // Save brush
|
||||
SPECIAL_LOAD_BRUSH, // Load brush
|
||||
0x100+BOUTON_PARAMETRES, // Settings
|
||||
0x100+BOUTON_UNDO, // Undo
|
||||
0x200+BOUTON_UNDO, // Redo
|
||||
0x100+BOUTON_KILL, // Kill
|
||||
0x100+BOUTON_CLEAR, // Clear
|
||||
0x200+BOUTON_CLEAR, // Clear with backcolor
|
||||
0x100+BOUTON_QUIT, // Quit
|
||||
0x100+BOUTON_PALETTE, // Palette menu
|
||||
0x200+BOUTON_PALETTE, // Palette menu secondaire
|
||||
SPECIAL_EXCLUDE_COLORS_MENU, // Exclude colors menu
|
||||
0x100+BOUTON_PAL_LEFT, // Scroll palette left
|
||||
0x100+BOUTON_PAL_RIGHT, // Scroll palette right
|
||||
0x200+BOUTON_PAL_LEFT, // Scroll palette left faster
|
||||
0x200+BOUTON_PAL_RIGHT, // Scroll palette right faster
|
||||
SPECIAL_CENTER_ATTACHMENT, // Center brush attachement
|
||||
SPECIAL_TOP_LEFT_ATTACHMENT, // Top-left brush attachement
|
||||
SPECIAL_TOP_RIGHT_ATTACHMENT, // Top-right brush attachement
|
||||
SPECIAL_BOTTOM_LEFT_ATTACHMENT, // Bottom-left brush attachement
|
||||
SPECIAL_BOTTOM_RIGHT_ATTACHMENT, // Bottom right brush attachement
|
||||
SPECIAL_NEXT_FORECOLOR, // Next foreground color
|
||||
SPECIAL_PREVIOUS_FORECOLOR, // Previous foreground color
|
||||
SPECIAL_NEXT_BACKCOLOR, // Next background color
|
||||
SPECIAL_PREVIOUS_BACKCOLOR, // Previous background color
|
||||
SPECIAL_NEXT_USER_FORECOLOR, // Next user-defined foreground color
|
||||
SPECIAL_PREVIOUS_USER_FORECOLOR, // Previous user-defined foreground color
|
||||
SPECIAL_NEXT_USER_BACKCOLOR, // Next user-defined background color
|
||||
SPECIAL_PREVIOUS_USER_BACKCOLOR, // Previous user-defined background color
|
||||
SPECIAL_RETRECIR_PINCEAU, // Rétrécir le pinceau
|
||||
SPECIAL_GROSSIR_PINCEAU // Grossir le pinceau
|
||||
};
|
||||
|
||||
int Charger_CFG(int Tout_charger)
|
||||
{
|
||||
FILE* Handle;
|
||||
|
||||
Reference in New Issue
Block a user