-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjuke.rcp
59 lines (53 loc) · 1.31 KB
/
juke.rcp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#include "juke.h"
FORM ID formID_juke AT ( 0 0 160 160 )
NOFRAME
USABLE
MENUID menuID_juke
BEGIN
TITLE "Juke"
FIELD ID fieldID_text AT (30 25 100 AUTO ) USABLE LEFTALIGN FONT 0 EDITABLE
UNDERLINED SINGLELINE MAXCHARS 20
BUTTON "Read from Serial" ID buttonID_convert AT ( 2 46 AUTO AUTO) USABLE FRAME FONT 0
BUTTON "Send to Serial" ID buttonID_send AT ( 2 60 AUTO AUTO) USABLE FRAME FONT 0
FIELD ID fieldID_hex AT (30 80 100 50 ) USABLE LEFTALIGN FONT 0 NONEDITABLE
MULTIPLELINES MAXCHARS 90
GRAFFITISTATEINDICATOR AT (145 150)
END
VERSION 1 "1.0"
ICON "juke.bmp"
BITMAP ID bitmapID_text "text.bmp"
BITMAP ID bitmapID_hex "hex.bmp"
MENU ID menuID_juke
BEGIN
PULLDOWN "Commands"
BEGIN
MENUITEM "Convert" menuitemID_convert
MENUITEM "About" menuitemID_about "A"
END
PULLDOWN "Edit"
BEGIN
MENUITEM "Copy" menuitemID_copy "C"
MENUITEM "Paste" menuitemID_paste "P"
END
END
ALERT ID alertID_about
INFORMATION
BEGIN
TITLE "About Juke"
MESSAGE "Demo program for the GNU Pilot SDK tutorial"
BUTTONS "Done"
END
ALERT ID alertID_errornullstring
ERROR
BEGIN
TITLE "Error"
MESSAGE "Cannot convert a null string"
BUTTONS "Oops"
END
ALERT ID alertID_senderror
ERROR
BEGIN
TITLE "Error"
MESSAGE "Unable to send to serial"
BUTTONS "Ok"
END