xref: /haiku/src/tests/kits/interface/menu/menuworld/constants.cpp (revision 3f28966548baf455f231941a6fbc83552119821d)
1*3f289665SStefano Ceccherini //--------------------------------------------------------------------
2*3f289665SStefano Ceccherini //
3*3f289665SStefano Ceccherini //	constants.cpp
4*3f289665SStefano Ceccherini //
5*3f289665SStefano Ceccherini //	Written by: Owen Smith
6*3f289665SStefano Ceccherini //
7*3f289665SStefano Ceccherini //--------------------------------------------------------------------
8*3f289665SStefano Ceccherini 
9*3f289665SStefano Ceccherini /*
10*3f289665SStefano Ceccherini 	Copyright 1999, Be Incorporated.   All Rights Reserved.
11*3f289665SStefano Ceccherini 	This file may be used under the terms of the Be Sample Code License.
12*3f289665SStefano Ceccherini */
13*3f289665SStefano Ceccherini 
14*3f289665SStefano Ceccherini #include "constants.h"
15*3f289665SStefano Ceccherini 
16*3f289665SStefano Ceccherini extern const char* STR_APP_SIG
17*3f289665SStefano Ceccherini 	= "application/x-vnd.BeDTS.MenuWorld";
18*3f289665SStefano Ceccherini 
19*3f289665SStefano Ceccherini #if defined(LOCALE_USA)
20*3f289665SStefano Ceccherini 
21*3f289665SStefano Ceccherini //--------------------------------------------------------------------
22*3f289665SStefano Ceccherini //	American English Strings
23*3f289665SStefano Ceccherini 
24*3f289665SStefano Ceccherini 
25*3f289665SStefano Ceccherini extern const char* STR_APP_NAME
26*3f289665SStefano Ceccherini 	= "MenuWorld";
27*3f289665SStefano Ceccherini 
28*3f289665SStefano Ceccherini extern const char* STR_IERROR
29*3f289665SStefano Ceccherini 	= "Internal Error:\n";
30*3f289665SStefano Ceccherini 
31*3f289665SStefano Ceccherini extern const char* STR_SEPARATOR
32*3f289665SStefano Ceccherini 	= "--------------------";
33*3f289665SStefano Ceccherini 
34*3f289665SStefano Ceccherini extern const char* STR_NO_FULL_MENU_BAR
35*3f289665SStefano Ceccherini 	= "Couldn't find the window's menu bar.";
36*3f289665SStefano Ceccherini 
37*3f289665SStefano Ceccherini extern const char* STR_NO_HIDDEN_MENU_BAR
38*3f289665SStefano Ceccherini 	= "Couldn't find the window's hidden menu bar.";
39*3f289665SStefano Ceccherini 
40*3f289665SStefano Ceccherini extern const char* STR_NO_MENU_VIEW
41*3f289665SStefano Ceccherini 	= "Couldn't find the window's menu view";
42*3f289665SStefano Ceccherini 
43*3f289665SStefano Ceccherini extern const char* STR_NO_STATUS_VIEW
44*3f289665SStefano Ceccherini 	= "Couldn't find the window's status view";
45*3f289665SStefano Ceccherini 
46*3f289665SStefano Ceccherini extern const char* STR_NO_LABEL_CTRL
47*3f289665SStefano Ceccherini 	= "Couldn't find the label edit field.";
48*3f289665SStefano Ceccherini 
49*3f289665SStefano Ceccherini extern const char* STR_NO_HIDE_USER_CHECK
50*3f289665SStefano Ceccherini 	= "Couldn't find the hide user menus check box.";
51*3f289665SStefano Ceccherini 
52*3f289665SStefano Ceccherini extern const char* STR_NO_LARGE_ICON_CHECK
53*3f289665SStefano Ceccherini 	= "Couldn't find the large test icons check box.";
54*3f289665SStefano Ceccherini 
55*3f289665SStefano Ceccherini extern const char* STR_NO_ADDMENU_BUTTON
56*3f289665SStefano Ceccherini 	= "Couldn't find the add menu button.";
57*3f289665SStefano Ceccherini 
58*3f289665SStefano Ceccherini extern const char* STR_NO_ADDITEM_BUTTON
59*3f289665SStefano Ceccherini 	= "Couldn't find the add menu item button.";
60*3f289665SStefano Ceccherini 
61*3f289665SStefano Ceccherini extern const char* STR_NO_DELETE_BUTTON
62*3f289665SStefano Ceccherini 	= "Couldn't find the delete button.";
63*3f289665SStefano Ceccherini 
64*3f289665SStefano Ceccherini extern const char* STR_NO_MENU_OUTLINE
65*3f289665SStefano Ceccherini 	= "Couldn't find the menu outline list.";
66*3f289665SStefano Ceccherini 
67*3f289665SStefano Ceccherini extern const char* STR_NO_MENU_SCROLL_VIEW
68*3f289665SStefano Ceccherini 	= "Couldn't find the menu outline list scroll view.";
69*3f289665SStefano Ceccherini 
70*3f289665SStefano Ceccherini extern const char* STR_MNU_FILE
71*3f289665SStefano Ceccherini 	= "File";
72*3f289665SStefano Ceccherini 
73*3f289665SStefano Ceccherini extern const char* STR_MNU_FILE_ABOUT
74*3f289665SStefano Ceccherini 	= "About...";
75*3f289665SStefano Ceccherini 
76*3f289665SStefano Ceccherini extern const char* STR_MNU_FILE_CLOSE
77*3f289665SStefano Ceccherini 	= "Close";
78*3f289665SStefano Ceccherini 
79*3f289665SStefano Ceccherini extern const char* STR_MNU_TEST
80*3f289665SStefano Ceccherini 	= "Test";
81*3f289665SStefano Ceccherini 
82*3f289665SStefano Ceccherini extern const char* STR_MNU_TEST_ITEM
83*3f289665SStefano Ceccherini 	= "Test Item";
84*3f289665SStefano Ceccherini 
85*3f289665SStefano Ceccherini extern const char* STR_MNU_EMPTY_ITEM
86*3f289665SStefano Ceccherini 	= "(Empty menu)";
87*3f289665SStefano Ceccherini 
88*3f289665SStefano Ceccherini extern const char* STR_LABEL_CTRL
89*3f289665SStefano Ceccherini 	= "Label:";
90*3f289665SStefano Ceccherini 
91*3f289665SStefano Ceccherini extern const char* STR_HIDE_USER_MENUS
92*3f289665SStefano Ceccherini 	= "Hide User Menus";
93*3f289665SStefano Ceccherini 
94*3f289665SStefano Ceccherini extern const char* STR_LARGE_TEST_ICONS
95*3f289665SStefano Ceccherini 	= "Large Test Icons";
96*3f289665SStefano Ceccherini 
97*3f289665SStefano Ceccherini extern const char* STR_ADD_MENU
98*3f289665SStefano Ceccherini 	= "Add Menu";
99*3f289665SStefano Ceccherini 
100*3f289665SStefano Ceccherini extern const char* STR_ADD_ITEM
101*3f289665SStefano Ceccherini 	= "Add Item";
102*3f289665SStefano Ceccherini 
103*3f289665SStefano Ceccherini extern const char* STR_ADD_SEP
104*3f289665SStefano Ceccherini 	= "Add Separator";
105*3f289665SStefano Ceccherini 
106*3f289665SStefano Ceccherini extern const char* STR_DELETE_MENU
107*3f289665SStefano Ceccherini 	= "Delete";
108*3f289665SStefano Ceccherini 
109*3f289665SStefano Ceccherini extern const char* STR_STATUS_DEFAULT
110*3f289665SStefano Ceccherini 	= "";
111*3f289665SStefano Ceccherini 
112*3f289665SStefano Ceccherini extern const char* STR_STATUS_TEST
113*3f289665SStefano Ceccherini 	= "Test item selected: ";
114*3f289665SStefano Ceccherini 
115*3f289665SStefano Ceccherini extern const char* STR_STATUS_USER
116*3f289665SStefano Ceccherini 	= "Menu item selected: ";
117*3f289665SStefano Ceccherini 
118*3f289665SStefano Ceccherini extern const char* STR_STATUS_ADD_MENU
119*3f289665SStefano Ceccherini 	= "Added menu: ";
120*3f289665SStefano Ceccherini 
121*3f289665SStefano Ceccherini extern const char* STR_STATUS_ADD_ITEM
122*3f289665SStefano Ceccherini 	= "Added menu item: ";
123*3f289665SStefano Ceccherini 
124*3f289665SStefano Ceccherini extern const char* STR_STATUS_ADD_SEPARATOR
125*3f289665SStefano Ceccherini 	= "Added separator menu item";
126*3f289665SStefano Ceccherini 
127*3f289665SStefano Ceccherini extern const char* STR_STATUS_DELETE_MENU
128*3f289665SStefano Ceccherini 	= "Deleted menu: ";
129*3f289665SStefano Ceccherini 
130*3f289665SStefano Ceccherini extern const char* STR_STATUS_DELETE_ITEM
131*3f289665SStefano Ceccherini 	= "Deleted menu item: ";
132*3f289665SStefano Ceccherini 
133*3f289665SStefano Ceccherini extern const char* STR_STATUS_DELETE_SEPARATOR
134*3f289665SStefano Ceccherini 	= "Deleted separator menu item";
135*3f289665SStefano Ceccherini 
136*3f289665SStefano Ceccherini extern const char* STR_ABOUT_TITLE
137*3f289665SStefano Ceccherini 	= "About MenuWorld";
138*3f289665SStefano Ceccherini 
139*3f289665SStefano Ceccherini extern const char* STR_ABOUT_BUTTON
140*3f289665SStefano Ceccherini 	= "Struth!";
141*3f289665SStefano Ceccherini 
142*3f289665SStefano Ceccherini extern const char* STR_ABOUT_DESC
143*3f289665SStefano Ceccherini 	= "MenuWorld: a menu editing example\n\n"
144*3f289665SStefano Ceccherini 	"How to use:\n"
145*3f289665SStefano Ceccherini 	"    Type some text into the label field, and "
146*3f289665SStefano Ceccherini 	"press \"Add Menu\" to add a menu.\n"
147*3f289665SStefano Ceccherini 	"    Select an item in the outline list, and "
148*3f289665SStefano Ceccherini 	"press \"Delete\" to remove it.\n"
149*3f289665SStefano Ceccherini 	"    Select an item in the outline list, type "
150*3f289665SStefano Ceccherini 	"some text into the label field, and press "
151*3f289665SStefano Ceccherini 	"\"Add Item\" to add an item under the selected "
152*3f289665SStefano Ceccherini 	"item. If nothing besides spaces or dashes is "
153*3f289665SStefano Ceccherini 	"typed in, a separator item will be created.\n"
154*3f289665SStefano Ceccherini 	"    \"Hide User Menus\" hides the menus you've "
155*3f289665SStefano Ceccherini 	"generated.\n"
156*3f289665SStefano Ceccherini 	"    \"Large Test Icons\" changes the size of "
157*3f289665SStefano Ceccherini 	"the numbers in the Test menu.";
158*3f289665SStefano Ceccherini 
159*3f289665SStefano Ceccherini #endif /* LOCALE_USA */
160*3f289665SStefano Ceccherini 
161*3f289665SStefano Ceccherini 
162*3f289665SStefano Ceccherini 
163*3f289665SStefano Ceccherini //--------------------------------------------------------------------
164*3f289665SStefano Ceccherini //	Shortcuts
165*3f289665SStefano Ceccherini 
166*3f289665SStefano Ceccherini extern const char CMD_FILE_CLOSE
167*3f289665SStefano Ceccherini 	= 'W';
168*3f289665SStefano Ceccherini 
169*3f289665SStefano Ceccherini extern const char CMD_TEST_ICON_SIZE
170*3f289665SStefano Ceccherini 	= 'I';
171*3f289665SStefano Ceccherini 
172*3f289665SStefano Ceccherini 
173*3f289665SStefano Ceccherini 
174*3f289665SStefano Ceccherini //--------------------------------------------------------------------
175*3f289665SStefano Ceccherini //	Colors
176*3f289665SStefano Ceccherini 
177*3f289665SStefano Ceccherini extern const rgb_color BKG_GREY		= { 216, 216, 216, 0 };
178