AlarmCheckBox < Panel height: 20 margin-top: 2 CheckBox id: tick anchors.fill: parent margin-top: 4 font: verdana-11px-rounded text: Player Attack text-offset: 17 -3 AlarmCheckBoxAndSpinBox < Panel height: 20 margin-top: 2 CheckBox id: tick anchors.fill: parent anchors.right: next.left margin-top: 4 font: verdana-11px-rounded text: Player Attack text-offset: 17 -3 SpinBox id: value anchors.top: parent.top margin-top: 1 margin-bottom: 1 anchors.bottom: parent.bottom anchors.right: parent.right width: 40 minimum: 0 maximum: 100 step: 1 editable: true focusable: true AlarmCheckBoxAndTextEdit < Panel height: 20 margin-top: 2 CheckBox id: tick anchors.fill: parent anchors.right: next.left margin-top: 4 font: verdana-11px-rounded text: Creature Name text-offset: 17 -3 BotTextEdit id: text anchors.right: parent.right anchors.top: parent.top anchors.bottom: parent.bottom width: 150 font: terminus-10px margin-top: 1 margin-bottom: 1 AlarmsWindow < MainWindow !text: tr('Alarms') size: 330 400 padding: 15 @onEscape: self:hide() FlatPanel id: list anchors.fill: parent anchors.bottom: settingsList.top margin-bottom: 20 margin-top: 10 layout: verticalBox padding: 10 padding-top: 5 FlatPanel id: settingsList anchors.left: parent.left anchors.right: parent.right anchors.bottom: separator.top margin-bottom: 5 margin-top: 10 padding: 5 padding-left: 10 layout: type: verticalBox fit-children: true Label anchors.verticalCenter: settingsList.top anchors.left: settingsList.left margin-left: 5 width: 200 text: Alarms Settings font: verdana-11px-rounded color: #9f5031 Label anchors.verticalCenter: list.top anchors.left: list.left margin-left: 5 width: 200 text: Active Alarms font: verdana-11px-rounded color: #9f5031 HorizontalSeparator id: separator anchors.right: parent.right anchors.left: parent.left anchors.bottom: closeButton.top margin-bottom: 8 ResizeBorder id: bottomResizeBorder anchors.fill: separator height: 3 minimum: 260 maximum: 600 margin-left: 3 margin-right: 3 background: #ffffff88 Button id: closeButton !text: tr('Close') font: cipsoftFont anchors.right: parent.right anchors.bottom: parent.bottom size: 45 21 margin-right: 5 @onClick: self:getParent():hide()