Rev 266 | Rev 269 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 266 | Rev 267 | ||
---|---|---|---|
Line 54... | Line 54... | ||
54 | public boolean do_scrollbg=false; |
54 | public boolean do_scrollbg=false; |
55 | public boolean expert_mode=false; |
55 | public boolean expert_mode=false; |
56 | public boolean dev_mode=false; |
56 | public boolean dev_mode=false; |
Line 57... | Line 57... | ||
57 | 57 | ||
58 | public boolean reload_settings=false; |
- | |
- | 58 | public boolean reload_settings=false; |
|
Line 59... | Line 59... | ||
59 | 59 | public boolean instant_error_show=false; |
|
60 | 60 | ||
Line 61... | Line 61... | ||
61 | public boolean graph_legend; |
61 | public boolean graph_legend; |
Line 104... | Line 104... | ||
104 | public final static int SETTINGS_POS_VOICEVOLUME=12; |
104 | public final static int SETTINGS_POS_VOICEVOLUME=12; |
105 | public final static int SETTINGS_POS_VOICEDELAY=13; |
105 | public final static int SETTINGS_POS_VOICEDELAY=13; |
106 | public final static int SETTINGS_POS_BITFIELD2=14; |
106 | public final static int SETTINGS_POS_BITFIELD2=14; |
107 | public final static int SETTINGS_POS_LANG=15; |
107 | public final static int SETTINGS_POS_LANG=15; |
108 | public final static int SETTINGS_POS_GRAPHINTERVAL=16; |
108 | public final static int SETTINGS_POS_GRAPHINTERVAL=16; |
- | 109 | public final static int SETTINGS_POS_BITFIELD3=17; |
|
Line 109... | Line 110... | ||
109 | 110 | ||
110 | 111 | ||
Line 251... | Line 252... | ||
251 | if (pos==SETTINGS_POS_BITFIELD2) |
252 | if (pos==SETTINGS_POS_BITFIELD2) |
252 | horizon_display_altitude=((val&64)!=0); |
253 | horizon_display_altitude=((val&64)!=0); |
Line 253... | Line 254... | ||
253 | 254 | ||
254 | if (pos==SETTINGS_POS_BITFIELD2) |
255 | if (pos==SETTINGS_POS_BITFIELD2) |
- | 256 | dev_mode=((val&128)!=0); |
|
- | 257 | ||
- | 258 | ||
- | 259 | if (pos==SETTINGS_POS_BITFIELD3) |
|
255 | dev_mode=((val&128)!=0); |
260 | instant_error_show=((val&1)!=0); |
Line 256... | Line 261... | ||
256 | } |
261 | } |
Line 281... | Line 286... | ||
281 | {STRINGID_NICK ,STRINGID_ROLL,STRINGID_GIER,STRINGID_GASINCREASE,STRINGID_HEIGHTINCREASE }, |
286 | {STRINGID_NICK ,STRINGID_ROLL,STRINGID_GIER,STRINGID_GASINCREASE,STRINGID_HEIGHTINCREASE }, |
282 | {STRINGID_BACKTOMAINMENU,STRINGID_FULLSCREEN,STRINGID_CLEAR }, |
287 | {STRINGID_BACKTOMAINMENU,STRINGID_FULLSCREEN,STRINGID_CLEAR }, |
283 | {STRINGID_LEGEND,STRINGID_SCALEGRID,STRINGID_GRAPHINTERVAL}, |
288 | {STRINGID_LEGEND,STRINGID_SCALEGRID,STRINGID_GRAPHINTERVAL}, |
284 | {STRINGID_SOUND,STRINGID_VOLTS,STRINGID_DELAYINS,STRINGID_ALTIMETER,STRINGID_VOLUME}, |
289 | {STRINGID_SOUND,STRINGID_VOLTS,STRINGID_DELAYINS,STRINGID_ALTIMETER,STRINGID_VOLUME}, |
285 | {STRINGID_SHOWALTITUDE,STRINGID_SHOWFLIGHTTIME,STRINGID_INVERTROLL,STRINGID_INVERTNICK}, |
290 | {STRINGID_SHOWALTITUDE,STRINGID_SHOWFLIGHTTIME,STRINGID_INVERTROLL,STRINGID_INVERTNICK}, |
286 | {STRINGID_VIBRA,STRINGID_REMOTECAMSTICK,STRINGID_ALWAYSRELOADPARAMS,STRINGID_EXPERTMODE,STRINGID_DEVMODE}}; |
291 | {STRINGID_INSTANTERRORSHOW,STRINGID_VIBRA,STRINGID_REMOTECAMSTICK,STRINGID_ALWAYSRELOADPARAMS,STRINGID_EXPERTMODE,STRINGID_DEVMODE}}; |
Line 287... | Line 292... | ||
287 | 292 | ||
Line 299... | Line 304... | ||
299 | ,13 |
304 | ,13 |
300 | //#endif |
305 | //#endif |
301 | } , {2,3 } , {4,5,6,7,8} , {9,10,11},{SETTINGS_POS_BITFIELD1*8 +6,SETTINGS_POS_BITFIELD1*8 +7, SETTINGS_POS_GRAPHINTERVAL} , |
306 | } , {2,3 } , {4,5,6,7,8} , {9,10,11},{SETTINGS_POS_BITFIELD1*8 +6,SETTINGS_POS_BITFIELD1*8 +7, SETTINGS_POS_GRAPHINTERVAL} , |
302 | {10,SETTINGS_POS_BITFIELD2*8+0,SETTINGS_POS_VOICEDELAY,SETTINGS_POS_BITFIELD2*8+2,SETTINGS_POS_VOICEVOLUME }, |
307 | {10,SETTINGS_POS_BITFIELD2*8+0,SETTINGS_POS_VOICEDELAY,SETTINGS_POS_BITFIELD2*8+2,SETTINGS_POS_VOICEVOLUME }, |
303 | {SETTINGS_POS_BITFIELD2*8+6,SETTINGS_POS_BITFIELD2*8+5,SETTINGS_POS_BITFIELD2*8+3,SETTINGS_POS_BITFIELD2*8+4}, |
308 | {SETTINGS_POS_BITFIELD2*8+6,SETTINGS_POS_BITFIELD2*8+5,SETTINGS_POS_BITFIELD2*8+3,SETTINGS_POS_BITFIELD2*8+4}, |
304 | {SETTINGS_POS_BITFIELD1*8+3,12,SETTINGS_POS_BITFIELD2*8+1,SETTINGS_POS_BITFIELD1*8+4,SETTINGS_POS_BITFIELD2*8+7} |
309 | {SETTINGS_POS_BITFIELD3*8+0,SETTINGS_POS_BITFIELD1*8+3,12,SETTINGS_POS_BITFIELD2*8+1,SETTINGS_POS_BITFIELD1*8+4,SETTINGS_POS_BITFIELD2*8+7} |
305 | }; |
310 | }; |
306 | public int[][] _field_types={ {PARAMTYPE_CHOICE+0,PARAMTYPE_CHOICE+1,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH |
311 | public int[][] _field_types={ {PARAMTYPE_CHOICE+0,PARAMTYPE_CHOICE+1,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH |
307 | //#if devicecontrol=="on" |
312 | //#if devicecontrol=="on" |
308 | ,PARAMTYPE_BITSWITCH |
313 | ,PARAMTYPE_BITSWITCH |
309 | //#endif |
314 | //#endif |
310 | } , {PARAMTYPE_CHOICE+2,PARAMTYPE_CHOICE+3} , {PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE}, {PARAMTYPE_KEY,PARAMTYPE_KEY,PARAMTYPE_KEY} , {PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BYTE}, |
315 | } , {PARAMTYPE_CHOICE+2,PARAMTYPE_CHOICE+3} , {PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE}, {PARAMTYPE_KEY,PARAMTYPE_KEY,PARAMTYPE_KEY} , {PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BYTE}, |
311 | {PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH,PARAMTYPE_BYTE} , |
316 | {PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH,PARAMTYPE_BYTE} , |
312 | {PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH}, |
317 | {PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH}, |
313 | {PARAMTYPE_BITSWITCH,PARAMTYPE_STICK,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH} |
318 | {PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_STICK,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH} |
314 | }; |
319 | }; |
315 | DUBwiseCanvas canvas; |
320 | DUBwiseCanvas canvas; |