chiark / gitweb /
Initial revision
[ssr] / StraySrc / Glass / !Glass / h / gMenus
1 /*
2  * gMenus.h
3  *
4  * Symbolic definitions of menus
5  *
6  * © 1994-1998 Straylight
7  */
8
9 /*----- Licensing note ----------------------------------------------------*
10  *
11  * This file is part of Straylight's Glass.
12  *
13  * Glass is free software; you can redistribute it and/or modify
14  * it under the terms of the GNU General Public License as published by
15  * the Free Software Foundation; either version 2, or (at your option)
16  * any later version.
17  *
18  * Glass is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21  * GNU General Public License for more details.
22  *
23  * You should have received a copy of the GNU General Public License
24  * along with Glass.  If not, write to the Free Software Foundation,
25  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26  */
27
28 #ifndef __gMenus_h
29 #define __gMenus_h
30
31 /*----- Icon bar menu -----------------------------------------------------*/
32
33 enum
34 {
35   glass_IBARINFO=1,           /* Info...        >                       */
36   glass_IBARPREFS,            /* Preferences...                         */
37   glass_IBARTBOX,             /* Toolbox...                             */
38   glass_IBARHEAPINFO,         /* Heap info...                           */
39   glass_IBARQUIT              /* Quit                                   */
40 };
41
42 /*----- Template file menu ------------------------------------------------*/
43
44 enum
45 {
46   glass_TFINFO=1,             /* Info...         >                      */
47   glass_TFDISP,               /* Display         >                      */
48   glass_TFSEL,                /* Window 'name'   >                      */
49   glass_TFSELALL,             /* Select all                             */
50   glass_TFCLRSEL,             /* Clear selection                        */
51   glass_TFSAVE,               /* Save...         >                      */
52   glass_TFCREATE,             /* Create...       >                      */
53   glass_TFGRAB,               /* Grab window...  >                      */
54   glass_TFSHWSPR              /* Show sprites    >                      */
55 #ifdef glass_NOTLAZY
56   glass_TFSTYLES              /* Icon styles     >                      */
57 #endif
58 };
59
60 enum
61 {
62   glass_TFDLARGE=1,           /* Large icons                            */
63   glass_TFDSMALL,             /* Small icons                            */
64   glass_TFDSORTNAME,          /* Sort by name                           */
65   glass_TFDSORTSIZE,          /* Sort by size                           */
66   glass_TFDSORTICONS,         /* Sort by no. of icons                   */
67   glass_TFDNOSORT             /* Don't sort                             */
68 };
69
70 enum
71 {
72   glass_TFSELINFO=1,          /* Info...   >                            */
73   glass_TFSELEDIT,            /* Edit...                                */
74   glass_TFSELCOPY,            /* Copy...   >                            */
75   glass_TFSELRENAME,          /* Rename... >                            */
76   glass_TFSELSAVE,            /* Save...   >                            */
77   glass_TFSELDELETE           /* Delete                                 */
78 };
79
80 #ifdef glass_NOTLAZY
81 enum
82 {
83   glass_TFSTYLESEDIT=1,       /* Edit style...                          */
84   glass_TFSTYLESNEW,          /* New style...                           */
85   glass_TFSTYLESSAVE          /* Save...       >                        */
86 };
87 #endif
88
89 /*----- Sprite viewer menu ------------------------------------------------*/
90
91 enum
92 {
93   glass_SPINFO=1,             /* Info...         >                      */
94   glass_SPSEL,                /* Sprite 'name'   >                      */
95   glass_SPSELALL,             /* Select all                             */
96   glass_SPCLRSEL,             /* Clear selection                        */
97   glass_SPSAVE,               /* Save...         >                      */
98   glass_SPGRAB                /* Grab sprite...                         */
99 };
100
101 enum
102 {
103   glass_SPSELINFO=1,          /* Info...   >                            */
104   glass_SPSELCOPY,            /* Copy...   >                            */
105   glass_SPSELRENAME,          /* Rename... >                            */
106   glass_SPSELSAVE,            /* Save...   >                            */
107   glass_SPSELDELETE           /* Delete                                 */
108 };
109
110 /*----- Template window menu ----------------------------------------------*/
111
112 enum
113 {
114   glass_TWMISC=1,             /* Misc        >                          */
115   glass_TWSAVE,               /* Save...  F3 >                          */
116   glass_TWSELECT,             /* Select      >                          */
117   glass_TWICON,               /* Create icon >                          */
118   glass_TWEDIT,               /* Edit icon   >                          */
119   glass_TWGRID,               /* Grid...     >                          */
120   glass_TWGDE                 /* Guides      >                          */
121 };
122
123 enum
124 {
125   glass_TWMINFO=1,            /* Info...          ^F1 >                 */
126   glass_TWMEDITWIN,           /* Edit window...    ^W                   */
127   glass_TWMTEST,              /* Test mode         ^T                   */
128   glass_TWMREMDEL,            /* Remove deleted icons                   */
129   glass_TWMBRINGBK,           /* Bring back icons                       */
130   glass_TWMCLOSE              /* Close window     ^F2                   */
131 };
132
133 enum
134 {
135   glass_TWSALL=1,             /* Select all      ^A                     */
136   glass_TWSCLR,               /* Clear selection ^Z                     */
137   glass_TWSCOPY,              /* Copy            ^C                     */
138   glass_TWSDEL,               /* Delete          ^X                     */
139   glass_TWSORDER,             /* Reorder         ^R                     */
140   glass_TWSFRONT,             /* Bring to front s^F                     */
141   glass_TWSRAISE,             /* Raise           ^F                     */
142   glass_TWSLOWER,             /* Lower           ^B                     */
143   glass_TWSBACK,              /* Put to back    s^B                     */
144   glass_TWSPULL,              /* Pull onto grid  ^P                     */
145   glass_TWSALIGN,             /* Align...        ^A                     */
146   glass_TWSEDIT,              /* Edit...         ^E                     */
147 #ifdef glass_NOTLAZY
148   glass_TWSDATA,              /* Icon data       ^D >                   */
149 #endif
150   glass_TWSBTYPE              /* Button type        >                   */
151 #ifdef glass_NOTLAZY
152   glass_TWSSTYLE              /* Apply style        >                   */
153 #endif
154 };
155
156 enum
157 {
158   glass_TWINEW=1,             /* New icon  ^N                           */
159   glass_TWIPAL,               /* Show palette                           */
160   glass_TWIGRAB               /* Grab icon ^G                           */
161 };
162
163 enum
164 {
165   glass_TWGSELALL=1,          /* Select all                             */
166   glass_TWGCLRSEL,            /* Clear selection                        */
167   glass_TWGDEL,               /* Delete selection                       */
168   glass_TWGHORIZ,             /* Create horizontal                      */
169   glass_TWGVERT               /* Create vertical                        */
170 };
171
172 /*----- Preferences -------------------------------------------------------*/
173
174 /*
175  * The very small Units menu
176  */
177
178 enum
179 {
180   glass_PUHOURS=1,            /* Hours                                  */
181   glass_PUMINUTES,            /* Minutes                                */
182   glass_PUSECONDS             /* Seconds                                */
183 };
184
185 #endif