Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
135 | ligi | 1 | |
2 | public interface DUBwiseDefinitions |
||
3 | { |
||
4 | // id for each state - must just be uniq - order isnt important |
||
5 | public final static int STATEID_SCANNING =0; |
||
6 | public final static int STATEID_DEVICESELECT =1; |
||
7 | public final static int STATEID_MAINMENU =2; |
||
8 | public final static int STATEID_MOTORTEST =3; |
||
9 | public final static int STATEID_SELECT_PARAMSET =4; |
||
10 | public final static int STATEID_EDIT_PARAMS =5; |
||
11 | public final static int STATEID_HANDLE_PARAMS =6; |
||
12 | public final static int STATEID_FLIGHTVIEW =7; |
||
13 | public final static int STATEID_RAWDEBUG =8; |
||
14 | public final static int STATEID_KEYCONTROL =9; |
||
15 | public final static int STATEID_SETTINGSMENU =10; |
||
16 | public final static int STATEID_STICKVIEW =11; |
||
17 | public final static int STATEID_CAMMODE =12; |
||
18 | public final static int STATEID_READ_PARAMS =13; |
||
19 | public final static int STATEID_GPSVIEW =14; |
||
20 | |||
21 | |||
22 | |||
23 | public boolean fullscreen=false; |
||
24 | public int act_motor=0; |
||
25 | public int act_motor_increase=0; |
||
26 | public boolean motor_test_sel_all=false; |
||
27 | |||
28 | |||
29 | public String[] main_menu_items_no_connection= { "Tool Settings","Change Device" , "Quit " }; |
||
30 | |||
31 | |||
32 | public final static int MAINMENU_NO_CONN_SETTINGS =0; |
||
33 | public final static int MAINMENU_NO_CONN_DEVICESELECT =1+MAINMENU_NO_CONN_SETTINGS ; |
||
34 | public final static int MAINMENU_NO_CONN_QUIT =1+MAINMENU_NO_CONN_DEVICESELECT; |
||
35 | |||
36 | |||
37 | public String[] main_menu_items_mk={"Telemetry","Raw Debug", "view RC-data", "MK-KeyControl", "Motor Test" , "Flight Settings","Tool Settings","Remote Cam","Proxy","Change Device" , "Quit " }; |
||
38 | |||
39 | |||
40 | public final static int MAINMENU_MK_TELEMETRY =0; |
||
41 | public final static int MAINMENU_MK_RAWDEBUG =1+MAINMENU_MK_TELEMETRY; |
||
42 | public final static int MAINMENU_MK_STICKS =1+MAINMENU_MK_RAWDEBUG; |
||
43 | public final static int MAINMENU_MK_KEYCONTROL =1+MAINMENU_MK_STICKS; |
||
44 | public final static int MAINMENU_MK_MOTORTEST =1+MAINMENU_MK_KEYCONTROL; |
||
45 | public final static int MAINMENU_MK_PARAMS =1+MAINMENU_MK_MOTORTEST; |
||
46 | public final static int MAINMENU_MK_SETTINGSMENU =1+MAINMENU_MK_PARAMS; |
||
47 | public final static int MAINMENU_MK_CAMMODE =1+MAINMENU_MK_SETTINGSMENU; |
||
48 | public final static int MAINMENU_MK_PROXY =1+MAINMENU_MK_CAMMODE; |
||
49 | public final static int MAINMENU_MK_DEVICESELECT =1+MAINMENU_MK_PROXY; |
||
50 | public final static int MAINMENU_MK_QUIT =1+MAINMENU_MK_DEVICESELECT; |
||
51 | |||
52 | |||
53 | public String[] main_menu_items_navi={"Telemetry","Raw Debug", "view GPS-Data" ,"Tool Settings","Change Device" , "Quit " }; |
||
54 | |||
55 | public final static int MAINMENU_NAVI_TELEMETRY =0; |
||
56 | public final static int MAINMENU_NAVI_RAWDEBUG =1+MAINMENU_NAVI_TELEMETRY; |
||
57 | public final static int MAINMENU_NAVI_GPSVIEW =1+MAINMENU_NAVI_RAWDEBUG; |
||
58 | public final static int MAINMENU_NAVI_SETTINGS =1+MAINMENU_NAVI_GPSVIEW ; |
||
59 | public final static int MAINMENU_NAVI_DEVICESELECT =1+MAINMENU_NAVI_SETTINGS; |
||
60 | public final static int MAINMENU_NAVI_QUIT =1+MAINMENU_NAVI_DEVICESELECT; |
||
61 | |||
62 | |||
63 | |||
64 | |||
65 | |||
66 | public String[] settings_menu_items={"Skin ","Sound ","Vibra " ,"Graph ","FullScreen " ,"Keep BGLight " ,"Back" }; |
||
67 | public final static int SETTINGSMENU_CHANGESKIN =0; |
||
68 | public final static int SETTINGSMENU_SOUNDTOGGLE =1; |
||
69 | public final static int SETTINGSMENU_VIBRATOGGLE =2; |
||
70 | public final static int SETTINGSMENU_GRAPHTOGGLE =3; |
||
71 | public final static int SETTINGSMENU_FULLSCREENTOGGLE =4; |
||
72 | public final static int SETTINGSMENU_LIGHTTOGGLE =5; |
||
73 | public final static int SETTINGSMENU_BACK =6; |
||
74 | |||
75 | public final static int USER_INTENT_NONE=0; |
||
76 | public final static int USER_INTENT_RAWDEBUG=1; |
||
77 | public final static int USER_INTENT_PARAMS=2; |
||
78 | } |