source: trunk/hiptop/pester/locale/en_US/Pester.rsrc@ 240

Last change on this file since 240 was 240, checked in by Nicholas Riley, 18 years ago

More UI.

File size: 3.6 KB
Line 
1# -*- coding: utf-8 -*-
2
3package "net.sabi.pester"
4
5interface "{source}net/sabi/pester/Resources.java"
6events "{source}net/sabi/pester/Commands.java"
7
8string ID_APP_NAME "Pester"
9string ID_APP_CLASS "net.sabi.pester.Pester"
10string ID_APP_FLAGS ""
11string ID_LOCALE "en_US"
12
13bitmap ID_LARGE_ICON "{base}LargeIcon.png"
14bitmap ID_SMALL_ICON "{base}SmallIcon.png"
15
16bitmap ID_SPLASH_SCREEN_NO_TITLE "{base}SplashScreenTransparent.png"
17
18string ID_VERSION "V@APP_VERSION_MAJOR@.@APP_VERSION_MINOR@"
19
20splashScreen ID_SPLASH_SCREEN_RESOURCE
21 image
22 bitmap = ID_SPLASH_SCREEN_NO_TITLE
23 alignWithParentTop = 0
24 alignWithParentLeft = 0
25 staticTextBox
26 text = ID_APP_NAME
27 alignWithParentLeft = 2
28 alignWithParentTop = 0
29 fillToRight = 2
30 transparent
31 doesNotHaveBorder
32endSplashScreen
33
34menu ID_ALARM_LIST_MENU
35 menuItem
36 title = "New Alarm"
37 shortcut = 'N'
38 icon = soundIcon
39 event = EVENT_NEW_ALARM
40
41 divider
42
43 menuItem
44 id = ID_DISCARD_ITEM
45 title = "Discard"
46 shortcut = deleteKey
47 event = EVENT_DISCARD_ALARM
48endMenu
49screen ID_ALARM_LIST_SCREEN
50 title = "Pester"
51 actionMenu = ID_ALARM_LIST_MENU
52 className = "net.sabi.pester.AlarmListWindow"
53 icon = ID_SMALL_ICON
54
55 activeListView
56 fillToBottom = 0
57 id = ID_ALARM_LIST_VIEW
58 alignWithParentLeft = 0
59 alignWithParentTop = 0
60 initialFocus
61 widthPct = 100
62 itemHeight = 12
63 className = "net.sabi.pester.AlarmListView"
64
65endScreen
66
67menu ID_PERIOD_UNITS_MENU
68 menuItem
69 title = "second(s)"
70 id = 1
71 menuItem
72 title = "minute(s)"
73 id = 60
74 menuItem
75 title = "hour(s)"
76 id = 3600
77endMenu
78
79dialog ID_ALARM_SET_DIALOG
80 title = "Set Alarm"
81 showCancel
82# className = "net.sabi.pester.AlarmSetDialog"
83 widthPct = 100
84
85 staticText
86 text = "Message"
87 id = ID_MESSAGE_LABEL
88 alignWithParentTop = 3
89 alignWithParentLeft = 5
90 justifyRight
91 font = boldSysFont
92
93 typeAheadTextField
94 fillToRight = 0
95 id = ID_MESSAGE_FIELD
96 alignBaseline = ID_MESSAGE_LABEL
97 positionToRight = ID_MESSAGE_LABEL : 3
98 autoCap
99 initiallySelectAll
100 initialFocus
101
102 groupBox
103 id = ID_IN_GROUP
104 onOffControl = ID_IN_BUTTON
105 onOffControlLeftPosition
106 positionBelow = ID_MESSAGE_LABEL : 7
107 fillToRight = 0
108 height = 22
109
110 radioButton
111 id = ID_IN_BUTTON
112 title = "In"
113 event = EVENT_IN
114
115 numberEditor
116 id = ID_PERIOD_FIELD
117 dontWrap
118 minValue = 1
119 maxValue = 99
120 alignBaseline = ID_IN_BUTTON
121 positionToRight = ID_IN_BUTTON : 1
122
123 popupMenu
124 id = ID_PERIOD_UNITS_POPUP
125 menu = ID_PERIOD_UNITS_MENU
126 alignBaseline = ID_PERIOD_FIELD
127 positionToRight = ID_PERIOD_FIELD : 1
128
129 checkBox
130 id = ID_PERIOD_REPEAT_CHECKBOX
131 title = "Repeat"
132 alignBaseline = ID_PERIOD_UNITS_POPUP
133 positionToRight = ID_PERIOD_UNITS_POPUP : 3
134 endGroupBox
135
136 groupBox
137 id = ID_AT_GROUP
138 onOffControl = ID_AT_BUTTON
139 onOffControlLeftPosition
140 positionBelow = ID_IN_GROUP : 3
141 fillToRight = 0
142 height = 22
143
144 radioButton
145 title = "At"
146 id = ID_AT_BUTTON
147 event = EVENT_AT
148
149 dateEditor
150 id = ID_TIME_EDITOR
151 longTimeFormat
152 event = EVENT_TIME_EDITOR
153 alignBaseline = ID_AT_BUTTON
154 positionToRight = ID_AT_BUTTON : 1
155
156 dateEditor
157 id = ID_DATE_EDITOR
158 event = EVENT_DATE_EDITOR
159 positionToRight = ID_TIME_EDITOR : 1
160 alignBaseline = ID_TIME_EDITOR
161
162 datePicker
163 id = ID_DATE_PICKER
164 event = EVENT_DATE_PICKER
165 positionToRight = ID_DATE_EDITOR : 1
166 alignTop = ID_DATE_EDITOR
167 endGroupBox
168
169 button
170 id = ID_DISCARD_ALARM_BUTTON
171 position = buttonTop2
172 title = "Discard"
173 event = EVENT_DISCARD_ALARM
174
175 button
176 id = ID_SET_ALARM_BUTTON
177 position = buttonBottom1
178 title = "Set"
179 shortcut = doneButton
180 event = EVENT_SET_ALARM
181endDialog
Note: See TracBrowser for help on using the repository browser.