File: ids.h

package info (click to toggle)
freespace2-launcher-wxlauncher 0.11.0%2Bdfsg-3
  • links: PTS, VCS
  • area: contrib
  • in suites: bullseye
  • size: 2,368 kB
  • sloc: cpp: 13,446; python: 797; makefile: 12; sh: 12
file content (163 lines) | stat: -rw-r--r-- 3,792 bytes parent folder | download | duplicates (7)
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
/*
Copyright (C) 2009-2010 wxLauncher Team

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
*/

#ifndef IDS_HPP
#define IDS_HPP

/* File contains all IDs and other application constants that are to be used
in the application. */

#define TAB_AREA_WIDTH (639)	//!< the number of pixels wide for the useable area of the tab
#define TAB_AREA_HEIGHT (595)	//!< the number of pixels high for the useable area of the tab

/** The IDs that wxLauncher uses to identify its controls to wxWidgets.  These
are in no particular order, but they are grouped into the tab or section of the
the control that it represents is located on.  

These IDs are also used by the help manager to open the correct help page 
for the context help. */
enum WindowIDS {
	ID_MAINTAB = wxID_HIGHEST + 1, /* wxID_HIGHEST is the maximum event id that wx
							   will use. */
	ID_CLOSE_BUTTON,
	ID_HELP_BUTTON,
	ID_FRED_BUTTON,
	ID_UPDATE_BUTTON,
	ID_PLAY_BUTTON,
	ID_ABOUT_BUTTON,
	ID_FS2_PROCESS,
	ID_FRED2_PROCESS,
	
	ID_F3_PRESSED,

	ID_PROFILE_COMBO,
	ID_NEW_PROFILE,
	ID_DELETE_PROFILE,
	ID_SAVE_PROFILE,
	ID_SAVE_DEFAULT_CHECK,
	ID_SUMMARY_HTML_PANEL,
	ID_NEWS_BOX,
	ID_NEWS_HTML_PANEL,

	ID_VIDEO_STATIC_BOX,
	ID_RESOLUTION_COMBO,
	ID_DEPTH_COMBO,
	ID_TEXTURE_FILTER_COMBO,
	ID_ANISOTROPIC_COMBO,
	ID_AA_COMBO,

	// Lighting presets
	ID_PRESETS_OFF,
	ID_PRESET_BASELINE,
	ID_PRESET_DABRAIN,
	ID_PRESET_HERRA_TOHTORI,
	ID_PRESET_CKID,
	ID_PRESET_COLECAMPBELL666,
	ID_PRESET_CASTOR,
	ID_PRESET_SPIDEY,
	ID_PRESET_WOOLIE_WOOL,
	ID_COPY_PRESET_BUTTON,

	ID_SPEECH_TEST_TEXT,
	ID_SPEECH_VOICE_COMBO,
	ID_SPEECH_VOICE_VOLUME,
	ID_SPEECH_PLAY_BUTTON,
	ID_SPEECH_IN_TECHROOM,
	ID_SPEECH_IN_BRIEFING,
	ID_SPEECH_IN_GAME,
	ID_SPEECH_IN_MULTI,
	ID_SPEECH_MORE_VOICES_BUTTON,

	ID_NETWORK_TYPE,
	ID_NETWORK_SPEED,
	ID_NETWORK_PORT,
	ID_NETWORK_IP,

	ID_SELECT_SOUND_DEVICE,
	ID_SELECT_CAPTURE_DEVICE,
	ID_ENABLE_EFX,
	ID_AUDIO_SAMPLE_RATE,
	ID_DOWNLOAD_OPENAL,
	ID_DETECT_OPENAL,

	ID_JOY_SELECTED,
	ID_JOY_FORCE_FEEDBACK,
	ID_JOY_DIRECTIONAL_HIT,
	ID_JOY_CALIBRATE_BUTTON,
	ID_JOY_DETECT_BUTTON,

	ID_PROXY_TYPE,
	ID_PROXY_HTTP_SERVER,
	ID_PROXY_HTTP_PORT,
	ID_PROXY_AUTO_URL,
	
	ID_MODS_PAGE_INFO_IMAGE,
	ID_MODS_PAGE_WARNING_IMAGE,

	ID_MODLISTBOX,
	ID_MODLISTBOX_ACTIVATE_BUTTON,
	ID_MODLISTBOX_INFO_BUTTON,

	ID_STATUSBAR_STATUS_ICON,
	ID_STATUSBAR_PROGRESS_BAR,

	ID_EXE_ROOT_FOLDER_BOX_TEXT,
	ID_EXE_ROOT_FOLDER_BOX,
	ID_EXE_SELECT_ROOT_BUTTON,
	ID_EXE_CHOICE_BOX,
	ID_EXE_CHOICE_REFRESH_BUTTON,
	ID_EXE_FRED_CHOICE_TEXT,
	ID_EXE_FRED_CHOICE_BOX,
	ID_EXE_FRED_CHOICE_REFRESH_BUTTON,

	ID_CLONE_PROFILE_DIALOG,
	ID_CLONE_PROFILE_NEWNAME,
	ID_CLONE_PROFILE_CHECKBOX,
	ID_DELETE_PROFILE_DIALOG,

	// Advanced settings page
	ID_FLAGLISTBOX,
	ID_SELECT_FLAG_SET,
	ID_CUSTOM_FLAGS_TEXT,
	ID_COMMAND_LINE_TEXT,
	ID_FLAG_SET_NOTES_TEXT,

	ID_NET_DOWNLOAD_NEWS,
	ID_EVENT_NET_DOWNLOAD_NEWS,
	ID_MORE_INFO_PRIVACY,
};

enum MainTabImageIDs {
	ID_TAB_WELCOME_IMAGE,
	ID_TAB_MOD_IMAGE,
	ID_TAB_BASIC_SETTINGS_IMAGE,
	ID_TAB_ADV_SETTINGS_IMAGE,
	ID_TAB_INSTALL_IMAGE,
};

enum StatusBarIconIDs {
	ID_SB_NO_CHANGE = -1,
	ID_SB_INFO,
	ID_SB_OK,
	ID_SB_WARNING,
	ID_SB_ERROR,

	ID_SB_MAX_ID,
};

#endif