Subversion Repositories Projects

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
212 ligi 1
package org.ligi.android;
2
 
3
public interface DUBwiseUIDefinitions
4
{
5
    // id for each state - must just be uniq - order isnt important
6
    public final static byte STATEID_SCANNING         =0;
7
    public final static byte STATEID_DEVICESELECT     =1;
8
    public final static byte STATEID_MAINMENU         =2;
9
    public final static byte STATEID_MOTORTEST        =3;
10
    public final static byte STATEID_SELECT_PARAMSET  =4;
11
    public final static byte STATEID_EDIT_PARAMS      =5;
12
    public final static byte STATEID_HANDLE_PARAMS    =6;
13
    public final static byte STATEID_FLIGHTVIEW       =7;
14
    public final static byte STATEID_RAWDEBUG         =8;
15
    public final static byte STATEID_KEYCONTROL       =9;
16
    public final static byte STATEID_SETTINGSMENU     =10;
17
    public final static byte STATEID_STICKVIEW        =11;
18
    public final static byte STATEID_CAMMODE          =12;
19
    public final static byte STATEID_READ_PARAMS      =13;
20
    public final static byte STATEID_GPSVIEW          =14;
21
    public final static byte STATEID_FILEOPEN         =15;
22
    public final static byte STATEID_GRAPH            =16;
23
    public final static byte STATEID_CONN_DETAILS     =17;
24
    public final static byte STATEID_IPINPUT          =18;
25
    public final static byte STATEID_PROXY            =19;
26
    public final static byte STATEID_TRAFFIC          =20;
27
    public final static byte STATEID_SELECT_COMPORT   =21;
28
    public final static byte STATEID_ABOUT            =22;
29
    public final static byte STATEID_NC_ERRORS        =23;
30
    public final static byte STATEID_FLASHING         =24;
31
    public final static byte STATEID_NAMEINPUT        =25;
32
    public final static byte STATEID_DATABUFF         =26;
33
 
34
 
35
 
36
    public final static int MAINMENU_TELEMETRY     =0;
37
    public final static int MAINMENU_RAWDEBUG      =1+MAINMENU_TELEMETRY;
38
    public final static int MAINMENU_STICKS        =1+MAINMENU_RAWDEBUG;
39
    public final static int MAINMENU_KEYCONTROL    =1+MAINMENU_STICKS;
40
    public final static int MAINMENU_MOTORTEST     =1+MAINMENU_KEYCONTROL;
41
    public final static int MAINMENU_PARAMS        =1+MAINMENU_MOTORTEST;
42
    public final static int MAINMENU_SETTINGSMENU  =1+MAINMENU_PARAMS;
43
    public final static int MAINMENU_CAMMODE       =1+MAINMENU_SETTINGSMENU;
44
    public final static int MAINMENU_PROXY         =1+MAINMENU_CAMMODE;
45
    public final static int MAINMENU_DEVICESELECT  =1+MAINMENU_PROXY;
46
    public final static int MAINMENU_QUIT          =1+MAINMENU_DEVICESELECT;
47
 
48
    public String[] main_menu_items={"Telemetry","Raw Debug-Values", "RC-Data", "pilot UFO", "Motor Test" , "Flight Settings","(NA)Tool Settings","(NA)Remote Camera","(NA)Relay","(NA)Change Device" , "Quit " };
49
 
50
 
51
    public final static  String[] settings_menu_items={"Skin ","Sound ","Vibra " ,"Scrolling BG ","FullScreen " , "Back" };
52
 
53
 
54
 
55
    //    public String[] settings_menu_items={"Skin ","Sound ","Vibra " ,"Graph ","FullScreen " ,"Keep BGLight " ,"Back" };
56
    public final static int SETTINGSMENU_CHANGESKIN   =0;
57
    public final static int SETTINGSMENU_SOUNDTOGGLE  =1;
58
    public final static int SETTINGSMENU_VIBRATOGGLE  =2;
59
    public final static int SETTINGSMENU_GRAPHTOGGLE  =3;
60
    public final static int SETTINGSMENU_FULLSCREENTOGGLE  =4;
61
    public final static int SETTINGSMENU_LIGHTTOGGLE  =5;
62
    public final static int SETTINGSMENU_BACK      =6;
63
 
64
 
65
 
66
 
67
 
68
 
69
 
70
 
71
}