diff options
Diffstat (limited to 'kdejava/koala/examples/kscribble/Resource.java')
-rw-r--r-- | kdejava/koala/examples/kscribble/Resource.java | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/kdejava/koala/examples/kscribble/Resource.java b/kdejava/koala/examples/kscribble/Resource.java new file mode 100644 index 00000000..8277dea6 --- /dev/null +++ b/kdejava/koala/examples/kscribble/Resource.java @@ -0,0 +1,71 @@ + + /////////////////////////////////////////////////////////////////// + // resource.h -- contains macros used for commands +public interface Resource { + + /////////////////////////////////////////////////////////////////// + // COMMAND VALUES FOR MENUBAR AND TOOLBAR ENTRIES + + + /////////////////////////////////////////////////////////////////// + // File-menu entries + static final int ID_FILE_NEW = 10010; + static final int ID_FILE_OPEN = 10020; + static final int ID_FILE_OPEN_RECENT = 10030; + static final int ID_FILE_CLOSE = 10040; + + static final int ID_FILE_SAVE = 10050; + static final int ID_FILE_SAVE_AS = 10060; + + static final int ID_FILE_PRINT = 10070; + + static final int ID_FILE_QUIT = 10080; + + /////////////////////////////////////////////////////////////////// + // Edit-menu entries + static final int ID_EDIT_UNDO = 11010; + static final int ID_EDIT_COPY = 11020; + static final int ID_EDIT_CUT = 11030; + static final int ID_EDIT_PASTE = 11040; + static final int ID_EDIT_CLEAR_ALL = 11050; + + /////////////////////////////////////////////////////////////////// + // Pen-menu entries + static final int ID_PEN_COLOR = 14010; + static final int ID_PEN_BRUSH = 14020; + + /////////////////////////////////////////////////////////////////// + // Draw-menu entries + static final int ID_DRAW_FIND = 15010; + static final int ID_DRAW_FREEHAND = 15020; + static final int ID_DRAW_LINE = 15030; + static final int ID_DRAW_RECT = 15040; + static final int ID_DRAW_RECT_FILL = 15050; + static final int ID_DRAW_CIRCLE = 15060; + static final int ID_DRAW_CIRCLE_FILL = 15070; + static final int ID_DRAW_ELLIPSE = 15080; + static final int ID_DRAW_ELLIPSE_FILL = 15090; + static final int ID_DRAW_SPRAY = 15100; + static final int ID_DRAW_FILL = 15110; + static final int ID_DRAW_ERASE = 15120; + + /////////////////////////////////////////////////////////////////// + // View-menu entries + static final int ID_VIEW_TOOLBAR = 12010; + static final int ID_VIEW_STATUSBAR = 12020; + + /////////////////////////////////////////////////////////////////// + // Window-menu entries + static final int ID_WINDOW_NEW_WINDOW = 13010; + static final int ID_WINDOW_CASCADE = 13020; + static final int ID_WINDOW_TILE = 13030; + + /////////////////////////////////////////////////////////////////// + // Help-menu entries + static final int ID_HELP_CONTENTS = 1002; + static final int ID_HELP_WHATS_THIS = 1003; + /////////////////////////////////////////////////////////////////// + // General application values + static final int ID_STATUS_MSG = 1001; + static final int TOOLS_TOOLBAR = 1; +}
\ No newline at end of file |