Rev 493 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 493 | Rev 517 | ||
---|---|---|---|
1 | public interface DUBwiseUIDefinitions |
1 | public interface DUBwiseUIDefinitions |
2 | 2 | ||
3 | { |
3 | { |
4 | 4 | ||
5 | 5 | ||
6 | // colors |
6 | // colors |
7 | public final static int BG_COLOR_SKIN_DARK = 0x000000; |
7 | public final static int BG_COLOR_SKIN_DARK = 0x000000; |
8 | public final static int BG_COLOR_SKIN_LIGHT = 0xFFFFFF; |
8 | public final static int BG_COLOR_SKIN_LIGHT = 0xFFFFFF; |
9 | public final static int FG_COLOR_SKIN_DARK = 0xFFFFFF; |
9 | public final static int FG_COLOR_SKIN_DARK = 0xFFFFFF; |
10 | public final static int FG_COLOR_SKIN_LIGHT = 0x000000; |
10 | public final static int FG_COLOR_SKIN_LIGHT = 0x000000; |
11 | 11 | ||
12 | 12 | ||
13 | 13 | ||
14 | // id for each state - must just be uniq - order isnt important |
14 | // id for each state - must just be uniq - order isnt important |
15 | public final static byte STATEID_INITIAL =0; |
15 | public final static byte STATEID_INITIAL =0; |
16 | public final static byte STATEID_DEVICESELECT =1; |
16 | public final static byte STATEID_DEVICESELECT =1; |
17 | public final static byte STATEID_MAINMENU =2; |
17 | public final static byte STATEID_MAINMENU =2; |
18 | public final static byte STATEID_MOTORTEST =3; |
18 | public final static byte STATEID_MOTORTEST =3; |
19 | public final static byte STATEID_SELECT_PARAMSET =4; |
19 | public final static byte STATEID_SELECT_PARAMSET =4; |
20 | public final static byte STATEID_EDIT_PARAMS =5; |
20 | public final static byte STATEID_EDIT_PARAMS =5; |
21 | public final static byte STATEID_HANDLE_PARAMS =6; |
21 | public final static byte STATEID_HANDLE_PARAMS =6; |
22 | public final static byte STATEID_LCD =7; |
22 | public final static byte STATEID_LCD =7; |
23 | public final static byte STATEID_RAWDEBUG =8; |
23 | public final static byte STATEID_RAWDEBUG =8; |
24 | public final static byte STATEID_KEYCONTROL =9; |
24 | public final static byte STATEID_KEYCONTROL =9; |
25 | public final static byte STATEID_SETTINGSMENU =10; |
25 | public final static byte STATEID_SETTINGSMENU =10; |
26 | public final static byte STATEID_STICKVIEW =11; |
26 | public final static byte STATEID_STICKVIEW =11; |
27 | public final static byte STATEID_CAMMODE =12; |
27 | public final static byte STATEID_CAMMODE =12; |
28 | public final static byte STATEID_READ_PARAMS =13; |
28 | public final static byte STATEID_READ_PARAMS =13; |
29 | public final static byte STATEID_GPSVIEW =14; |
29 | public final static byte STATEID_GPSVIEW =14; |
30 | public final static byte STATEID_FILEOPEN =15; |
30 | public final static byte STATEID_FILEOPEN =15; |
31 | public final static byte STATEID_GRAPH =16; |
31 | public final static byte STATEID_GRAPH =16; |
32 | public final static byte STATEID_CONN_DETAILS =17; |
32 | public final static byte STATEID_CONN_DETAILS =17; |
33 | public final static byte STATEID_IPINPUT =18; |
33 | public final static byte STATEID_IPINPUT =18; |
34 | public final static byte STATEID_PROXY =19; |
34 | public final static byte STATEID_PROXY =19; |
35 | public final static byte STATEID_TRAFFIC =20; |
35 | public final static byte STATEID_TRAFFIC =20; |
36 | public final static byte STATEID_SELECT_COMPORT =21; |
36 | public final static byte STATEID_SELECT_COMPORT =21; |
37 | public final static byte STATEID_ABOUT =22; |
37 | public final static byte STATEID_ABOUT =22; |
38 | public final static byte STATEID_ERROR_MSG =23; |
38 | public final static byte STATEID_ERROR_MSG =23; |
39 | public final static byte STATEID_FLASHING =24; |
39 | public final static byte STATEID_FLASHING =24; |
40 | public final static byte STATEID_NAMEINPUT =25; |
40 | public final static byte STATEID_NAMEINPUT =25; |
41 | public final static byte STATEID_DATABUFF =26; |
41 | public final static byte STATEID_DATABUFF =26; |
42 | public final static byte STATEID_HORIZON =27; |
42 | public final static byte STATEID_HORIZON =27; |
43 | public final static byte STATEID_SUCCESS_MSG =28; |
43 | public final static byte STATEID_SUCCESS_MSG =28; |
44 | public final static byte STATEID_STRINGINPUT =29; |
44 | public final static byte STATEID_STRINGINPUT =29; |
45 | public final static byte STATEID_SCANNING =30; |
45 | public final static byte STATEID_SCANNING =30; |
46 | public final static byte STATEID_RESET_PARAMS =31; |
46 | public final static byte STATEID_RESET_PARAMS =31; |
47 | public final static byte STATEID_PARAM_MENU =32; |
47 | public final static byte STATEID_PARAM_MENU =32; |
48 | public final static byte STATEID_PARAM_MASSWRITE =33; |
48 | public final static byte STATEID_PARAM_MASSWRITE =33; |
49 | public final static byte STATEID_SELECT_FIRMWARE =34; |
49 | public final static byte STATEID_SELECT_FIRMWARE =34; |
50 | public final static byte STATEID_SHOWPHONEGPS =35; |
50 | public final static byte STATEID_SHOWPHONEGPS =35; |
51 | public final static byte STATEID_SETTING_OPTIONS =36; |
51 | public final static byte STATEID_SETTING_OPTIONS =36; |
52 | public final static byte STATEID_MAP =37; |
52 | public final static byte STATEID_MAP =37; |
53 | public final static byte STATEID_GET_AVRSIG =38; |
53 | public final static byte STATEID_GET_AVRSIG =38; |
54 | public final static byte STATEID_SELECT_MIXER =39; |
54 | public final static byte STATEID_SELECT_MIXER =39; |
55 | public final static byte STATEID_DUBWISE_VALUES =40; |
55 | public final static byte STATEID_DUBWISE_VALUES =40; |
56 | public final static byte STATEID_BIG_SYMBOLS =41; |
56 | public final static byte STATEID_BIG_SYMBOLS =41; |
57 | 57 | ||
58 | public final static byte STATEID_COUNT =42; |
58 | public final static byte STATEID_COUNT =42; |
59 | 59 | ||
60 | 60 | ||
61 | 61 | ||
62 | public final static byte ACTIONID_SETTINGS = 0; |
62 | public final static byte ACTIONID_SETTINGS = 0; |
63 | public final static byte ACTIONID_DEVICESELECT = 1; |
63 | public final static byte ACTIONID_DEVICESELECT = 1; |
64 | public final static byte ACTIONID_DEBUG = 2; |
64 | public final static byte ACTIONID_DEBUG = 2; |
65 | public final static byte ACTIONID_CONN_DETAILS = 3; |
65 | public final static byte ACTIONID_CONN_DETAILS = 3; |
66 | public final static byte ACTIONID_SWITCH_NC = 4; |
66 | public final static byte ACTIONID_SWITCH_NC = 4; |
67 | public final static byte ACTIONID_SWITCH_FC = 5; |
67 | public final static byte ACTIONID_SWITCH_FC = 5; |
68 | public final static byte ACTIONID_GRAPH = 6; |
68 | public final static byte ACTIONID_GRAPH = 6; |
69 | public final static byte ACTIONID_LCD = 7; |
69 | public final static byte ACTIONID_LCD = 7; |
70 | public final static byte ACTIONID_RAWDEBUG = 8; |
70 | public final static byte ACTIONID_RAWDEBUG = 8; |
71 | public final static byte ACTIONID_RCDATA = 9; |
71 | public final static byte ACTIONID_RCDATA = 9; |
72 | public final static byte ACTIONID_KEYCONTROL = 10; |
72 | public final static byte ACTIONID_KEYCONTROL = 10; |
73 | public final static byte ACTIONID_MOTORTEST = 11; |
73 | public final static byte ACTIONID_MOTORTEST = 11; |
74 | public final static byte ACTIONID_EDIT_PARAMS = 12; |
74 | public final static byte ACTIONID_EDIT_PARAMS = 12; |
75 | public final static byte ACTIONID_CAM = 13; |
75 | public final static byte ACTIONID_CAM = 13; |
76 | public final static byte ACTIONID_PROXY = 14; |
76 | public final static byte ACTIONID_PROXY = 14; |
77 | public final static byte ACTIONID_GPSDATA = 15; |
77 | public final static byte ACTIONID_GPSDATA = 15; |
78 | public final static byte ACTIONID_TRAFFIC = 16; |
78 | public final static byte ACTIONID_TRAFFIC = 16; |
79 | public final static byte ACTIONID_ABOUT = 17; |
79 | public final static byte ACTIONID_ABOUT = 17; |
80 | public final static byte ACTIONID_NC_ERRORS = 18; |
80 | public final static byte ACTIONID_NC_ERRORS = 18; |
81 | public final static byte ACTIONID_WRITE_PARAMS = 19; |
81 | public final static byte ACTIONID_WRITE_PARAMS = 19; |
82 | public final static byte ACTIONID_UNDO_PARAMS = 20; |
82 | public final static byte ACTIONID_UNDO_PARAMS = 20; |
83 | public final static byte ACTIONID_MAINMENU = 21; |
83 | public final static byte ACTIONID_MAINMENU = 21; |
84 | public final static byte ACTIONID_HORIZON = 22; |
84 | public final static byte ACTIONID_HORIZON = 22; |
85 | public final static byte ACTIONID_WRITE_PARAM_AS = 23; |
85 | public final static byte ACTIONID_WRITE_PARAM_AS = 23; |
86 | public final static byte ACTIONID_PARAM_WRITE_OK = 24; |
86 | public final static byte ACTIONID_PARAM_WRITE_OK = 24; |
87 | public final static byte ACTIONID_PARAM_MENU = 25; |
87 | public final static byte ACTIONID_PARAM_MENU = 25; |
88 | public final static byte ACTIONID_PARAM_LOAD_MOBILE = 26; |
88 | public final static byte ACTIONID_PARAM_LOAD_MOBILE = 26; |
89 | public final static byte ACTIONID_PARAM_COPY_MOBILE = 27; |
89 | public final static byte ACTIONID_PARAM_COPY_MOBILE = 27; |
90 | public final static byte ACTIONID_DATABUFF = 28; |
90 | public final static byte ACTIONID_DATABUFF = 28; |
91 | public final static byte ACTIONID_SWITCH_MK3MAG = 29; |
91 | public final static byte ACTIONID_SWITCH_MK3MAG = 29; |
92 | public final static byte ACTIONID_CONNECT_TCP = 30; |
92 | public final static byte ACTIONID_CONNECT_TCP = 30; |
93 | public final static byte ACTIONID_SCAN_BT = 31; |
93 | public final static byte ACTIONID_SCAN_BT = 31; |
94 | public final static byte ACTIONID_SELECT_COM = 32; |
94 | public final static byte ACTIONID_SELECT_COM = 32; |
95 | public final static byte ACTIONID_PROXY_INPUT = 33; |
95 | public final static byte ACTIONID_PROXY_INPUT = 33; |
96 | public final static byte ACTIONID_FLASH = 34; |
96 | public final static byte ACTIONID_FLASH = 34; |
97 | public final static byte ACTIONID_RESET_PARAMS = 35; |
97 | public final static byte ACTIONID_RESET_PARAMS = 35; |
98 | public final static byte ACTIONID_BACK_TO_CONNDETAILS = 36; |
98 | public final static byte ACTIONID_BACK_TO_CONNDETAILS = 36; |
99 | public final static byte ACTIONID_SELECT_PARAMS = 37; |
99 | public final static byte ACTIONID_SELECT_PARAMS = 37; |
100 | public final static byte ACTIONID_RENAME_PARAMS = 38; |
100 | public final static byte ACTIONID_RENAME_PARAMS = 38; |
101 | public final static byte ACTIONID_SELECT_FIRMWARE = 39; |
101 | public final static byte ACTIONID_SELECT_FIRMWARE = 39; |
102 | public final static byte ACTIONID_UPDATE_DUBWISE = 40; |
102 | public final static byte ACTIONID_UPDATE_DUBWISE = 40; |
103 | public final static byte ACTIONID_SHOWPHONEGPS = 41; |
103 | public final static byte ACTIONID_SHOWPHONEGPS = 41; |
104 | public final static byte ACTIONID_RECONNECT = 42; |
104 | public final static byte ACTIONID_RECONNECT = 42; |
105 | public final static byte ACTIONID_SETTING_OPTIONS = 43; |
105 | public final static byte ACTIONID_SETTING_OPTIONS = 43; |
106 | public final static byte ACTIONID_SETTING_LOADPLAIN = 44; |
106 | public final static byte ACTIONID_SETTING_LOADPLAIN = 44; |
107 | public final static byte ACTIONID_SETTING_LOADFANCY = 45; |
107 | public final static byte ACTIONID_SETTING_LOADFANCY = 45; |
108 | public final static byte ACTIONID_MAP = 46; |
108 | public final static byte ACTIONID_MAP = 46; |
109 | public final static byte ACTIONID_SELECT_DUBWISEDIR = 47; |
109 | public final static byte ACTIONID_SELECT_DUBWISEDIR = 47; |
110 | public final static byte ACTIONID_SELECT_MIXER = 48; |
110 | public final static byte ACTIONID_SELECT_MIXER = 48; |
111 | public final static byte ACTIONID_BIG_SYMBOLS = 49; |
111 | public final static byte ACTIONID_BIG_SYMBOLS = 49; |
- | 112 | public final static byte ACTIONID_START_ENGINES = 50; |
|
112 | 113 | ||
113 | public final static byte ACTIONID_QUIT = 100; |
114 | public final static byte ACTIONID_QUIT = 100; |
114 | 115 | ||
115 | 116 | ||
116 | 117 | ||
117 | 118 | ||
118 | // public final static String[] param_menu_items={"Edit Settings","Copy all to Mobile","Load from Mobile","Reinitialize all","back"}; |
119 | // public final static String[] param_menu_items={"Edit Settings","Copy all to Mobile","Load from Mobile","Reinitialize all","back"}; |
119 | 120 | ||
120 | 121 | ||
121 | 122 | ||
122 | 123 | ||
123 | 124 | ||
124 | 125 | ||
125 | 126 | ||
126 | 127 | ||
127 | /* |
128 | /* |
128 | public final static String[] conn_details_menu_items={ "packet Traffic","view Data","connect via TCP/IP","connect via BT","connect via COM","set Proxy","back" }; |
129 | public final static String[] conn_details_menu_items={ "packet Traffic","view Data","connect via TCP/IP","connect via BT","connect via COM","set Proxy","back" }; |
129 | public final static byte[] conn_details_menu_actions={ ACTIONID_TRAFFIC,ACTIONID_DATABUFF,ACTIONID_CONNECT_TCP,ACTIONID_SCAN_BT, ACTIONID_SELECT_COM,ACTIONID_PROXY_INPUT,ACTIONID_MAINMENU}; |
130 | public final static byte[] conn_details_menu_actions={ ACTIONID_TRAFFIC,ACTIONID_DATABUFF,ACTIONID_CONNECT_TCP,ACTIONID_SCAN_BT, ACTIONID_SELECT_COM,ACTIONID_PROXY_INPUT,ACTIONID_MAINMENU}; |
130 | */ |
131 | */ |
131 | 132 | ||
132 | 133 | ||
133 | 134 | ||
134 | final static byte SKINID_DARK= 0; |
135 | final static byte SKINID_DARK= 0; |
135 | final static byte SKINID_LIGHT = 1; |
136 | final static byte SKINID_LIGHT = 1; |
136 | 137 | ||
137 | 138 | ||
138 | final static byte CREDITS_VERSION=7; |
139 | final static byte CREDITS_VERSION=7; |
139 | final static String[] credits= { |
140 | final static String[] credits= { |
140 | "##### DUBwise ######", |
141 | "##### DUBwise ######", |
141 | "", |
142 | "", |
142 | "Digital UFO", |
143 | "Digital UFO", |
143 | "Broadcasting With ", |
144 | "Broadcasting With ", |
144 | "Intelligent Service", |
145 | "Intelligent Service", |
145 | "Equipment", |
146 | "Equipment", |
146 | "", |
147 | "", |
147 | "", |
148 | "", |
148 | "", |
149 | "", |
149 | "", |
150 | "", |
150 | "(cc) 2007-2009 by ", |
151 | "(cc) 2007-2009 by ", |
151 | "Marcus LiGi B"+(char)(252)+"schleb", |
152 | "Marcus LiGi B"+(char)(252)+"schleb", |
152 | "mailto:ligi"+"@"+"ligi.de", |
153 | "mailto:ligi"+"@"+"ligi.de", |
153 | "", |
154 | "", |
154 | "Licence:", |
155 | "Licence:", |
155 | "Creative Commons(CC)", |
156 | "Creative Commons(CC)", |
156 | " -Attribution", |
157 | " -Attribution", |
157 | " -Noncommercial", |
158 | " -Noncommercial", |
158 | " -Share Alike", |
159 | " -Share Alike", |
159 | " -No Violence", |
160 | " -No Violence", |
160 | "", |
161 | "", |
161 | "Links:", |
162 | "Links:", |
162 | " www.ligi.de", |
163 | " www.ligi.de", |
163 | " www.mikrokopter.com", |
164 | " www.mikrokopter.com", |
164 | "", |
165 | "", |
165 | "Credits: ", |
166 | "Credits: ", |
166 | " -HolgerB&IngoB", |
167 | " -HolgerB&IngoB", |
167 | " (MikroKopter)", |
168 | " (MikroKopter)", |
168 | " -CaScAdE", |
169 | " -CaScAdE", |
169 | " (Graphics/Testing)", |
170 | " (Graphics/Testing)", |
170 | " -Orion8", |
171 | " -Orion8", |
171 | " (Inspiration)", |
172 | " (Inspiration)", |
172 | " -Joko", |
173 | " -Joko", |
173 | " (Testing)", |
174 | " (Testing)", |
174 | " -Speedy", |
175 | " -Speedy", |
175 | " (Graphics/Sounds)", |
176 | " (Graphics/Sounds)", |
176 | " -Jamiro", |
177 | " -Jamiro", |
177 | " (Icon)", |
178 | " (Icon)", |
178 | " -SelectaT", |
179 | " -SelectaT", |
179 | " (Sounds)", |
180 | " (Sounds)", |
180 | " -JiPsi", |
181 | " -JiPsi", |
181 | " (french translat.)", |
182 | " (french translat.)", |
182 | " -kmpec", |
183 | " -kmpec", |
183 | " (Test-Device)", |
184 | " (Test-Device)", |
184 | "####################" |
185 | "####################" |
185 | 186 | ||
186 | }; |
187 | }; |
187 | 188 | ||
188 | 189 | ||
189 | public final static char[] idle_seq={'.','_','-','='}; |
190 | public final static char[] idle_seq={'.','_','-','='}; |
190 | 191 | ||
191 | 192 | ||
192 | public final static int[] default_ip={192,168,1,42,4242}; |
193 | public final static int[] default_ip={192,168,1,42,4242}; |
193 | 194 | ||
194 | 195 | ||
195 | 196 | ||
196 | 197 | ||
197 | } |
198 | } |
198 | 199 |