[237] | 1 | # -*- coding: utf-8 -*-
|
---|
| 2 |
|
---|
| 3 | package "net.sabi.pester"
|
---|
| 4 |
|
---|
| 5 | interface "{source}net/sabi/pester/Resources.java"
|
---|
| 6 | events "{source}net/sabi/pester/Commands.java"
|
---|
| 7 |
|
---|
| 8 | string ID_APP_NAME "Pester"
|
---|
| 9 | string ID_APP_CLASS "net.sabi.pester.Pester"
|
---|
| 10 | string ID_APP_FLAGS ""
|
---|
| 11 | string ID_LOCALE "en_US"
|
---|
| 12 |
|
---|
| 13 | bitmap ID_LARGE_ICON "{base}LargeIcon.png"
|
---|
| 14 | bitmap ID_SMALL_ICON "{base}SmallIcon.png"
|
---|
| 15 |
|
---|
| 16 | bitmap ID_SPLASH_SCREEN_NO_TITLE "{base}SplashScreenTransparent.png"
|
---|
| 17 |
|
---|
| 18 | string ID_VERSION "V@APP_VERSION_MAJOR@.@APP_VERSION_MINOR@"
|
---|
| 19 |
|
---|
| 20 | splashScreen 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
|
---|
| 32 | endSplashScreen
|
---|
| 33 |
|
---|
| 34 | menu 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
|
---|
| 48 | endMenu
|
---|
| 49 | screen 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 |
|
---|
| 65 | endScreen
|
---|
[238] | 66 |
|
---|
| 67 | menu 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
|
---|
| 77 | endMenu
|
---|
| 78 |
|
---|
[237] | 79 | dialog 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 |
|
---|
[238] | 102 | radioButton
|
---|
| 103 | title = "In"
|
---|
| 104 | id = ID_IN_BUTTON
|
---|
| 105 | positionBelow = ID_MESSAGE_FIELD : 5
|
---|
| 106 | alignRight = ID_MESSAGE_LABEL
|
---|
| 107 |
|
---|
| 108 | numberEditor
|
---|
| 109 | # width = 50
|
---|
| 110 | id = ID_PERIOD_FIELD
|
---|
| 111 | dontWrap
|
---|
| 112 | minValue = 1
|
---|
| 113 | maxValue = 99
|
---|
| 114 | alignBaseline = ID_IN_BUTTON
|
---|
| 115 | positionToRight = ID_IN_BUTTON : 3
|
---|
| 116 |
|
---|
| 117 | popupMenu
|
---|
| 118 | menu = ID_PERIOD_UNITS_MENU
|
---|
| 119 | positionToRight = ID_PERIOD_FIELD : 3
|
---|
| 120 |
|
---|
| 121 | radioButton
|
---|
| 122 | title = "At"
|
---|
| 123 | id = ID_AT_BUTTON
|
---|
| 124 | positionBelow = ID_PERIOD_FIELD : 5
|
---|
| 125 | alignRight = ID_MESSAGE_LABEL
|
---|
| 126 |
|
---|
| 127 | dateEditor
|
---|
| 128 | id = ID_TIME_EDITOR
|
---|
| 129 | longTimeFormat
|
---|
| 130 | positionToRight = ID_AT_BUTTON : 3
|
---|
| 131 | alignBaseline = ID_AT_BUTTON
|
---|
| 132 |
|
---|
| 133 | dateEditor
|
---|
| 134 | id = ID_DATE_EDITOR
|
---|
| 135 | positionToRight = ID_TIME_EDITOR : 1
|
---|
| 136 | alignBaseline = ID_AT_BUTTON
|
---|
| 137 |
|
---|
| 138 | datePicker
|
---|
| 139 | id = ID_DATE_PICKER
|
---|
| 140 | positionToRight = ID_DATE_EDITOR : 1
|
---|
| 141 | alignTop = ID_DATE_EDITOR
|
---|
| 142 |
|
---|
[237] | 143 | button
|
---|
[238] | 144 | id = ID_DISCARD_ALARM_BUTTON
|
---|
| 145 | position = buttonTop2
|
---|
| 146 | title = "Discard"
|
---|
| 147 | event = EVENT_DISCARD_ALARM
|
---|
| 148 |
|
---|
| 149 | button
|
---|
[237] | 150 | position = buttonBottom1
|
---|
| 151 | title = "Set"
|
---|
| 152 | shortcut = doneButton
|
---|
| 153 | event = EVENT_SET_ALARM
|
---|
| 154 | endDialog
|
---|