summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/examples/kscribble/Resource.java
blob: 8277dea6369d9231ef2c534951fd0f4d551c937a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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;
}