1 /*************************************************************************** 2 resource.h - description 3 ------------------- 4 begin : Mon Jan 31 11:05:05 CET 2000 5 copyright : (C) 2000 by Ralf Nolden 6 email : Ralf.Nolden@post.rwth-aachen.de 7 ***************************************************************************/ 8 9 /*************************************************************************** 10 * * 11 * This program is free software; you can redistribute it and/or modify * 12 * it under the terms of the GNU General Public License as published by * 13 * the Free Software Foundation; either version 2 of the License, or * 14 * (at your option) any later version. * 15 * * 16 ***************************************************************************/ 17 18 #ifndef RESOURCE_H 19 #define RESOURCE_H 20 21 #ifdef HAVE_CONFIG_H 22 #include <config.h> 23 #endif 24 25 /////////////////////////////////////////////////////////////////// 26 // resource.h -- contains macros used for commands 27 28 29 /////////////////////////////////////////////////////////////////// 30 // COMMAND VALUES FOR MENUBAR AND TOOLBAR ENTRIES 31 32 33 /////////////////////////////////////////////////////////////////// 34 // File-menu entries 35 #define ID_FILE_NEW 10010 36 #define ID_FILE_OPEN 10020 37 #define ID_FILE_OPEN_RECENT 10030 38 #define ID_FILE_CLOSE 10040 39 40 #define ID_FILE_SAVE 10050 41 #define ID_FILE_SAVE_AS 10060 42 43 #define ID_FILE_PRINT 10070 44 45 #define ID_FILE_QUIT 10080 46 47 /////////////////////////////////////////////////////////////////// 48 // Edit-menu entries 49 #define ID_EDIT_UNDO 11010 50 #define ID_EDIT_COPY 11020 51 #define ID_EDIT_CUT 11030 52 #define ID_EDIT_PASTE 11040 53 #define ID_EDIT_CLEAR_ALL 11050 54 55 /////////////////////////////////////////////////////////////////// 56 // Pen-menu entries 57 #define ID_PEN_COLOR 14010 58 #define ID_PEN_BRUSH 14020 59 60 /////////////////////////////////////////////////////////////////// 61 // Draw-menu entries 62 #define ID_DRAW_FIND 15010 63 #define ID_DRAW_FREEHAND 15020 64 #define ID_DRAW_LINE 15030 65 #define ID_DRAW_RECT 15040 66 #define ID_DRAW_RECT_FILL 15050 67 #define ID_DRAW_CIRCLE 15060 68 #define ID_DRAW_CIRCLE_FILL 15070 69 #define ID_DRAW_ELLIPSE 15080 70 #define ID_DRAW_ELLIPSE_FILL 15090 71 #define ID_DRAW_SPRAY 15100 72 #define ID_DRAW_FILL 15110 73 #define ID_DRAW_ERASE 15120 74 75 /////////////////////////////////////////////////////////////////// 76 // View-menu entries 77 #define ID_VIEW_TOOLBAR 12010 78 #define ID_VIEW_STATUSBAR 12020 79 80 /////////////////////////////////////////////////////////////////// 81 // Window-menu entries 82 #define ID_WINDOW_NEW_WINDOW 13010 83 #define ID_WINDOW_CASCADE 13020 84 #define ID_WINDOW_TILE 13030 85 86 /////////////////////////////////////////////////////////////////// 87 // Help-menu entries 88 #define ID_HELP_CONTENTS 1002 89 #define ID_HELP_WHATS_THIS 1003 90 /////////////////////////////////////////////////////////////////// 91 // General application values 92 #define ID_STATUS_MSG 1001 93 #define TOOLS_TOOLBAR 1 94 #endif // RESOURCE_H |