xref: /haiku/src/tests/kits/interface/menu/menuworld/constants.h (revision 3f28966548baf455f231941a6fbc83552119821d)
1 //--------------------------------------------------------------------
2 //
3 //	constants.h
4 //
5 //	Written by: Owen Smith
6 //
7 //--------------------------------------------------------------------
8 
9 /*
10 	Copyright 1999, Be Incorporated.   All Rights Reserved.
11 	This file may be used under the terms of the Be Sample Code License.
12 */
13 
14 #ifndef _constants_h
15 #define _constants_h
16 
17 #include <GraphicsDefs.h>
18 
19 //--------------------------------------------------------------------
20 //	Message IDs
21 
22 const int32 MSG_WIN_ADD_MENU			= 'oWAM';
23 const int32 MSG_WIN_DELETE_MENU			= 'oWDM';
24 const int32 MSG_VIEW_ADD_MENU			= 'oVAM';
25 const int32 MSG_VIEW_DELETE_MENU		= 'oVDM';
26 const int32 MSG_VIEW_ADD_ITEM			= 'oVAI';
27 const int32 MSG_WIN_HIDE_USER_MENUS		= 'oWHU';
28 const int32 MSG_WIN_LARGE_TEST_ICONS	= 'oWFM';
29 const int32 MSG_MENU_OUTLINE_SEL		= 'oSMU';
30 const int32 MSG_TEST_ITEM				= 'oWTM';
31 const int32 MSG_USER_ITEM				= 'oWUM';
32 const int32 MSG_LABEL_EDIT				= 'oLED';
33 
34 
35 //--------------------------------------------------------------------
36 //	Strings
37 
38 extern const char* STR_APP_SIG;
39 
40 // Simple localization scheme
41 #define LOCALE_USA
42 
43 extern const char* STR_APP_NAME;
44 extern const char* STR_IERROR;
45 extern const char* STR_SEPARATOR;
46 extern const char* STR_NO_FULL_MENU_BAR;
47 extern const char* STR_NO_HIDDEN_MENU_BAR;
48 extern const char* STR_NO_MENU_VIEW;
49 extern const char* STR_NO_STATUS_VIEW;
50 extern const char* STR_NO_LABEL_CTRL;
51 extern const char* STR_NO_HIDE_USER_CHECK;
52 extern const char* STR_NO_LARGE_ICON_CHECK;
53 extern const char* STR_NO_ADDMENU_BUTTON;
54 extern const char* STR_NO_ADDITEM_BUTTON;
55 extern const char* STR_NO_DELETE_BUTTON;
56 extern const char* STR_NO_MENU_OUTLINE;
57 extern const char* STR_NO_MENU_SCROLL_VIEW;
58 extern const char* STR_MNU_FILE;
59 extern const char* STR_MNU_FILE_ABOUT;
60 extern const char* STR_MNU_FILE_CLOSE;
61 extern const char* STR_MNU_TEST;
62 extern const char* STR_MNU_TEST_ITEM;
63 extern const char* STR_MNU_EMPTY_ITEM;
64 extern const char* STR_LABEL_CTRL;
65 extern const char* STR_HIDE_USER_MENUS;
66 extern const char* STR_LARGE_TEST_ICONS;
67 extern const char* STR_ADD_MENU;
68 extern const char* STR_ADD_ITEM;
69 extern const char* STR_ADD_SEP;
70 extern const char* STR_DELETE_MENU;
71 extern const char* STR_STATUS_DEFAULT;
72 extern const char* STR_STATUS_TEST;
73 extern const char* STR_STATUS_USER;
74 extern const char* STR_STATUS_ADD_MENU;
75 extern const char* STR_STATUS_ADD_ITEM;
76 extern const char* STR_STATUS_ADD_SEPARATOR;
77 extern const char* STR_STATUS_DELETE_SEPARATOR;
78 extern const char* STR_STATUS_DELETE_MENU;
79 extern const char* STR_STATUS_DELETE_ITEM;
80 extern const char* STR_ABOUT_TITLE;
81 extern const char* STR_ABOUT_BUTTON;
82 extern const char* STR_ABOUT_DESC;
83 
84 
85 //--------------------------------------------------------------------
86 //	Shortcuts
87 
88 extern const char CMD_FILE_CLOSE;
89 extern const char CMD_TEST_ICON_SIZE;
90 
91 
92 //--------------------------------------------------------------------
93 //	Colors
94 
95 extern const rgb_color BKG_GREY;
96 
97 #endif /* _constants_h */