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

Last change on this file since 242 was 242, checked in by Nicholas Riley, 16 years ago

Basic functionality works.

File size: 4.0 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 id = ID_PERIOD_SECONDS
70 title = "second(s)"
71 event = EVENT_PERIOD_UNIT
72 eventData = 1
73 menuItem
74 id = ID_PERIOD_MINUTES
75 title = "minute(s)"
76 event = EVENT_PERIOD_UNIT
77 eventData = 60
78 menuItem
79 id = ID_PERIOD_HOURS
80 title = "hour(s)"
81 event = EVENT_PERIOD_UNIT
82 eventData = 3600
83endMenu
84
85dialog ID_ALARM_SET_DIALOG
86 title = "Set Alarm"
87 showCancel
88# className = "net.sabi.pester.AlarmSetDialog"
89 widthPct = 100
90
91 staticText
92 text = "Message"
93 id = ID_MESSAGE_LABEL
94 alignWithParentTop = 3
95 alignWithParentLeft = 5
96 justifyRight
97 font = boldSysFont
98
99 typeAheadTextField
100 id = ID_MESSAGE_FIELD
101 autoCap
102 initiallySelectAll
103 initialFocus
104 alignBaseline = ID_MESSAGE_LABEL
105 positionToRight = ID_MESSAGE_LABEL : 3
106 fillToRight = 0
107
108 groupBox
109 id = ID_IN_GROUP
110 onOffControl = ID_IN_BUTTON
111 onOffControlLeftPosition
112 positionBelow = ID_MESSAGE_LABEL : 7
113 fillToRight = 0
114 height = 22
115
116 radioButton
117 id = ID_IN_BUTTON
118 title = "In"
119 event = EVENT_IN
120
121 numberEditor
122 id = ID_PERIOD_FIELD
123 dontWrap
124 minValue = 1
125 maxValue = 99
126 alignBaseline = ID_IN_BUTTON
127 positionToRight = ID_IN_BUTTON : 1
128
129 popupMenu
130 id = ID_PERIOD_UNITS_POPUP
131 menu = ID_PERIOD_UNITS_MENU
132 alignBaseline = ID_PERIOD_FIELD
133 positionToRight = ID_PERIOD_FIELD : 1
134
135 checkBox
136 id = ID_PERIOD_REPEAT_CHECKBOX
137 title = "Repeat"
138 alignBaseline = ID_PERIOD_UNITS_POPUP
139 positionToRight = ID_PERIOD_UNITS_POPUP : 3
140 endGroupBox
141
142 groupBox
143 id = ID_AT_GROUP
144 onOffControl = ID_AT_BUTTON
145 onOffControlLeftPosition
146 positionBelow = ID_IN_GROUP : 3
147 fillToRight = 0
148 height = 22
149
150 radioButton
151 title = "At"
152 id = ID_AT_BUTTON
153 event = EVENT_AT
154
155 dateEditor
156 id = ID_TIME_EDITOR
157 longTimeFormat
158 event = EVENT_TIME_EDITOR
159 alignBaseline = ID_AT_BUTTON
160 positionToRight = ID_AT_BUTTON : 1
161
162 dateEditor
163 id = ID_DATE_EDITOR
164 event = EVENT_DATE_EDITOR
165 positionToRight = ID_TIME_EDITOR : 1
166 alignBaseline = ID_TIME_EDITOR
167
168 datePicker
169 id = ID_DATE_PICKER
170 event = EVENT_DATE_PICKER
171 positionToRight = ID_DATE_EDITOR : 1
172 alignTop = ID_DATE_EDITOR
173 endGroupBox
174
175 button
176 id = ID_DISCARD_ALARM_BUTTON
177 event = EVENT_DISCARD_ALARM
178 position = buttonTop2
179 title = "Discard"
180
181 button
182 id = ID_SET_ALARM_BUTTON
183 event = EVENT_SET_ALARM
184 position = buttonBottom1
185 title = "Set"
186 shortcut = doneButton
187endDialog
188
189alert ID_ALARM_ALERT
190 systemDialog
191 title = "Alarm"
192 icon = ID_LARGE_ICON
193 font = "BortBold12"
194 text = "Alarm!"
195 button
196 event = EVENT_DISMISS_ALARM
197 title = "OK"
198 position = buttonBottom1
199 shortcut = doneButton
200endAlert
Note: See TracBrowser for help on using the repository browser.