Subversion Repositories Projects

Rev

Rev 245 | Rev 255 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
211 ligi 1
public interface DUBwiseUIDefinitions
2
{
252 ligi 3
 
4
    // colors
5
    public final static int BG_COLOR_SKIN_DARK  = 0x000000;    
6
    public final static int BG_COLOR_SKIN_LIGHT = 0xFFFFFF;    
7
    public final static int FG_COLOR_SKIN_DARK  = 0xFFFFFF;    
8
    public final static int FG_COLOR_SKIN_LIGHT = 0x000000;    
9
 
10
 
11
 
211 ligi 12
    // id for each state - must just be uniq - order isnt important
223 ligi 13
    public final static byte STATEID_INITIAL          =0;
211 ligi 14
    public final static byte STATEID_DEVICESELECT     =1;
15
    public final static byte STATEID_MAINMENU         =2;
16
    public final static byte STATEID_MOTORTEST        =3;
17
    public final static byte STATEID_SELECT_PARAMSET  =4;
18
    public final static byte STATEID_EDIT_PARAMS      =5;
19
    public final static byte STATEID_HANDLE_PARAMS    =6;
245 ligi 20
    public final static byte STATEID_LCD              =7;
211 ligi 21
    public final static byte STATEID_RAWDEBUG         =8;
22
    public final static byte STATEID_KEYCONTROL       =9;
23
    public final static byte STATEID_SETTINGSMENU     =10;
24
    public final static byte STATEID_STICKVIEW        =11;
25
    public final static byte STATEID_CAMMODE          =12;
26
    public final static byte STATEID_READ_PARAMS      =13;
27
    public final static byte STATEID_GPSVIEW          =14;
28
    public final static byte STATEID_FILEOPEN         =15;
29
    public final static byte STATEID_GRAPH            =16;
30
    public final static byte STATEID_CONN_DETAILS     =17;
31
    public final static byte STATEID_IPINPUT          =18;
32
    public final static byte STATEID_PROXY            =19;
33
    public final static byte STATEID_TRAFFIC          =20;
34
    public final static byte STATEID_SELECT_COMPORT   =21;
35
    public final static byte STATEID_ABOUT            =22;
224 ligi 36
    public final static byte STATEID_ERROR_MSG        =23;
211 ligi 37
    public final static byte STATEID_FLASHING         =24;
38
    public final static byte STATEID_NAMEINPUT        =25;
39
    public final static byte STATEID_DATABUFF         =26;
222 ligi 40
    public final static byte STATEID_HORIZON          =27;
224 ligi 41
    public final static byte STATEID_SUCCESS_MSG      =28;
213 ligi 42
    public final static byte STATEID_STRINGINPUT      =29;
223 ligi 43
    public final static byte STATEID_SCANNING         =30;
224 ligi 44
    public final static byte STATEID_RESET_PARAMS     =31;
45
    public final static byte STATEID_PARAM_MENU       =32;
252 ligi 46
    public final static byte STATEID_PARAM_MASSWRITE  =33;
47
    public final static byte STATEID_COUNT            =34;
211 ligi 48
 
49
 
50
 
242 ligi 51
    public final static byte ACTIONID_SETTINGS              = 0;
52
    public final static byte ACTIONID_DEVICESELECT          = 1;
53
    public final static byte ACTIONID_DEBUG                 = 2;
54
    public final static byte ACTIONID_CONN_DETAILS          = 3;
55
    public final static byte ACTIONID_SWITCH_NC             = 4;
56
    public final static byte ACTIONID_SWITCH_FC             = 5;
57
    public final static byte ACTIONID_GRAPH                 = 6;
58
    public final static byte ACTIONID_LCD                   = 7;
59
    public final static byte ACTIONID_RAWDEBUG              = 8;
60
    public final static byte ACTIONID_RCDATA                = 9;
61
    public final static byte ACTIONID_KEYCONTROL            = 10;
62
    public final static byte ACTIONID_MOTORTEST             = 11;
63
    public final static byte ACTIONID_EDIT_PARAMS           = 12;
64
    public final static byte ACTIONID_CAM                   = 13;
65
    public final static byte ACTIONID_PROXY                 = 14;
66
    public final static byte ACTIONID_GPSDATA               = 15;
67
    public final static byte ACTIONID_TRAFFIC               = 16;
68
    public final static byte ACTIONID_ABOUT                 = 17;
69
    public final static byte ACTIONID_NC_ERRORS             = 18;
70
    public final static byte ACTIONID_WRITE_PARAMS          = 19;
71
    public final static byte ACTIONID_UNDO_PARAMS           = 20;
72
    public final static byte ACTIONID_MAINMENU              = 21;
73
    public final static byte ACTIONID_HORIZON               = 22;
74
    public final static byte ACTIONID_WRITE_PARAM_AS        = 23;
75
    public final static byte ACTIONID_PARAM_WRITE_OK        = 24;
76
    public final static byte ACTIONID_PARAM_MENU            = 25;
77
    public final static byte ACTIONID_PARAM_LOAD_MOBILE     = 26;
78
    public final static byte ACTIONID_PARAM_COPY_MOBILE     = 27;
79
    public final static byte ACTIONID_DATABUFF              = 28;
80
    public final static byte ACTIONID_SWITCH_MK3MAG         = 29;
81
    public final static byte ACTIONID_CONNECT_TCP           = 30;
82
    public final static byte ACTIONID_SCAN_BT               = 31;
83
    public final static byte ACTIONID_SELECT_COM            = 32;
84
    public final static byte ACTIONID_PROXY_INPUT           = 33;
85
    public final static byte ACTIONID_FLASH                 = 34;
86
    public final static byte ACTIONID_RESET_PARAMS          = 35;
87
    public final static byte ACTIONID_BACK_TO_CONNDETAILS   = 36;    
88
    public final static byte ACTIONID_SELECT_PARAMS         = 37;    
89
    public final static byte ACTIONID_RENAME_PARAMS         = 38;
90
    public final static byte ACTIONID_QUIT                  = 100;
211 ligi 91
 
92
 
93
 
94
 
242 ligi 95
    public  final static String[] param_menu_items={"Edit Settings","Copy all to Mobile","Load from Mobile","Reinitialize all","back"};
96
    public  final static byte[] param_menu_actions={ACTIONID_SELECT_PARAMS,ACTIONID_PARAM_COPY_MOBILE,ACTIONID_PARAM_LOAD_MOBILE,ACTIONID_RESET_PARAMS,ACTIONID_MAINMENU};
211 ligi 97
 
98
 
224 ligi 99
    public  final static String[] handle_params_menu_items={"Edit Content","Rename","Save AS","Save","Read Again","back"};
100
    public  final static byte[] handle_params_menu_actions={ACTIONID_EDIT_PARAMS,ACTIONID_RENAME_PARAMS,ACTIONID_WRITE_PARAM_AS,ACTIONID_WRITE_PARAMS,ACTIONID_UNDO_PARAMS,ACTIONID_SELECT_PARAMS };
211 ligi 101
 
102
 
224 ligi 103
    /*
214 ligi 104
    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" };
211 ligi 105
    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};
242 ligi 106
    */
211 ligi 107
 
108
    public final static String[] onlyback_menu_items={"back" };
109
    public final static byte[]    back_to_conndetails_actions={ACTIONID_BACK_TO_CONNDETAILS};
110
 
111
 
112
    final static byte SKINID_DARK= 0;
113
    final static byte SKINID_LIGHT = 1;
114
 
115
 
116
 
117
    final static String[] credits= {
118
//#expand "About DUBwise v%VERSION%",
119
        "",
213 ligi 120
        "",
211 ligi 121
        "Digital UFO",
122
        "Broadcasting With ",
123
        "Byteelligent Service",
124
        "Equipment",
125
        "",
126
        "2007-2008 by ",
127
        "Marcus LiGi B"+(char)(252)+"schleb",
128
        "mailto:ligi"+"@"+"ligi.de",
129
        "",
130
        "Licence:",
131
        "Creative Commons(CC)",
132
        " -Attribution",
133
        " -Noncommercial",
134
        " -Share Alike",
135
        " -No Violence",
136
        " ",
137
        "Credits: ",
138
        " -HolgerB&IngoB",
139
        " -CaScAdE",
140
        " -Orion8",
141
        " -Joko",
142
        " -Speedy",
143
        " -Jamiro",
144
        "",
145
        "More Infos:",
146
        " www.ligi.de",
147
        " www.mikrokopter.com"};
148
 
149
 
150
    public final static char[] idle_seq={'.','_','-','='};
151
 
152
 
153
    public final static int[] default_ip={192,168,1,42,4242};
154
 
155
 
156
 
157
 
158
}