blob: 16024282070023bb90d89c6f72ef62e35b246c84 [file] [log] [blame]
The Android Open Source Project52d4c302009-03-03 19:29:09 -08001//
2// Copyright 2005 The Android Open Source Project
3//
4// Resource enumeration.
5//
6#ifndef _SIM_RESOURCE_H
7#define _SIM_RESOURCE_H
8
9/*
10 * IDs for dialogs, controls, menu items, and whatever else comes along.
11 *
12 * Some standard defs are in "wx/defs.h". They run from 5000 to 6000.
13 */
14enum {
15 // common stuff
16 //ID_ANONYMOUS = -1, // use wxID_ANY(-1) or wxID_STATIC(5105)
17
18
19 // Menu item IDs
20 IDM_FILE_PREFERENCES = 100,
21 IDM_FILE_EXIT,
22
23 IDM_RUNTIME_START,
24 IDM_RUNTIME_STOP,
25 IDM_RUNTIME_RESTART,
26 IDM_RUNTIME_KILL,
27
28 IDM_DEVICE,
29 IDM_DEVICE_SEL0,
30 // leave space; each phone model gets a menu item ID
31 IDM_DEVICE_SELN = IDM_DEVICE_SEL0 + 32,
32 IDM_DEVICE_RESCAN,
33
34 IDM_DEBUG_SHOW_LOG,
35
36 IDM_HELP_CONTENTS,
37 IDM_HELP_ABOUT,
38
39
40 // Dialog IDs
41 IDD_PREFS,
42 IDD_LOG_PREFS,
43
44 // Control IDs
45 IDC_MODE_SELECT, // main - combobox
46 IDC_USE_GDB, // main - checkbox
47 IDC_USE_VALGRIND, // main - checkbox
48 IDC_CHECK_JNI, // main - checkbox
49 IDC_JAVA_APP_NAME, // main - combobox
50 IDC_JAVA_VM, // main - combobox
51 IDC_OVERLAY_ONION_SKIN, // main - combobox
52 IDC_ONION_SKIN_FILE_NAME, // main - textctrl
53 IDC_ONION_SKIN_BUTTON, // main - button
54 IDC_ONION_SKIN_ALPHA_VAL, // main - slider
55
56 IDC_SPREFS_CONFIG_NAME, // sim prefs page - textctrl
57 IDC_SPREFS_DEBUGGER, // sim prefs page - textctrl
58 IDC_SPREFS_VALGRINDER, // sim prefs page - textctrl
59 IDC_SPREFS_AUTO_POWER_ON, // sim prefs page - checkbox
60
61 IDC_RPREFS_GAMMA, // runtime prefs page - textctrl
62 IDC_RPREFS_ENABLE_SOUND, // runtime prefs page - checkbox
63 IDC_RPREFS_ENABLE_FAKE_CAMERA,// runtime prefs page - checkbox
64
65 IDC_LOG_TEXT, // log window - textctrl
66 IDC_LOG_LEVEL, // log window - combobox
67 IDC_LOG_CLEAR, // log window - button
68 IDC_LOG_PAUSE, // log window - button
69 IDC_LOG_PREFS, // log window - button
70
71 IDC_LOG_PREFS_FMT_FULL, // log prefs - radio button
72 IDC_LOG_PREFS_FMT_BRIEF, // log prefs - radio button
73 IDC_LOG_PREFS_FMT_MINIMAL, // log prefs - radio button
74 IDC_LOG_PREFS_SINGLE_LINE, // log prefs - checkbox
75 IDC_LOG_PREFS_EXTRA_SPACING, // log prefs - combobox
76 IDC_LOG_PREFS_POINT_SIZE, // log prefs - textctrl
77 IDC_LOG_PREFS_USE_COLOR, // log prefs - checkbox
78 IDC_LOG_PREFS_FONT_MONO, // log prefs - checkbox
79
80 IDC_LOG_PREFS_DISPLAY_MAX, // log prefs - textctrl
81 IDC_LOG_PREFS_POOL_SIZE, // log prefs - textctrl
82
83 IDC_LOG_PREFS_WRITE_FILE, // log prefs - checkbox
84 IDC_LOG_PREFS_FILENAME, // log prefs - textctrl
85 IDC_LOG_PREFS_TRUNCATE_OLD, // log prefs - textctrl
86};
87
88/*
89 * Common definitions for control spacing.
90 *
91 * Doesn't really belong here, but it'll do.
92 */
93enum {
94 kEdgeSpacing = 4, // padding at edge of prefs pages, in pixels
95 kInterSpacing = 5, // padding between controls, in pixels
96};
97
98#endif // _SIM_RESOURCE_H