Subversion Repositories Projects

Rev

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