diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 90825e2392b2d70e43c7a25b8a3752299a933894 (patch) | |
tree | e33aa27f02b74604afbfd0ea4f1cfca8833d882a /kdejava/koala/examples/kscribble/Resource.java | |
download | tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 |