summaryrefslogtreecommitdiff
path: root/ui/mod.menu
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-03-22 17:56:34 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-03-22 17:56:34 +0100
commit6a777afc079c2a8d3af3ecd2145fe8dd50567a39 (patch)
tree520f4489cebf8564ef6cb27064ceea45cbc005b3 /ui/mod.menu
Funko sources as released by Rotacak.HEADmaster
Diffstat (limited to 'ui/mod.menu')
-rw-r--r--ui/mod.menu106
1 files changed, 106 insertions, 0 deletions
diff --git a/ui/mod.menu b/ui/mod.menu
new file mode 100644
index 0000000..51c6231
--- /dev/null
+++ b/ui/mod.menu
@@ -0,0 +1,106 @@
+#include "ui/menudef.h"
+
+{
+ \\ MOD \\
+
+ menuDef
+ {
+ name "mod"
+ visible 0
+ fullscreen 0
+ rect 160 120 320 240
+ focusColor 1 .75 0 1
+ style 1
+ border 1
+ popup
+ onEsc
+ {
+ close mod;
+ open main
+ }
+ onOpen
+ {
+ uiScript loadMods
+ }
+
+ itemDef
+ {
+ name window
+ rect 0 0 320 240
+ style WINDOW_STYLE_FILLED
+ backcolor 0 0 0 1
+ visible 1
+ decoration
+
+ border WINDOW_BORDER_FULL
+ borderSize 1.0
+ borderColor 0.5 0.5 0.5 1
+ }
+
+ itemDef
+ {
+ name modlist
+ rect 10 10 300 200
+ type ITEM_TYPE_LISTBOX
+ style WINDOW_STYLE_EMPTY
+ elementwidth 120
+ elementheight 20
+ textscale .25
+ elementtype LISTBOX_TEXT
+ feeder FEEDER_MODS
+ textalign 3
+ textaligny 14
+ border 1
+ bordercolor 0.5 0.5 0.5 0.5
+ forecolor 1 1 1 1
+ backcolor 0.2 0.2 0.2 1
+ outlinecolor 0.1 0.1 0.1 0.5
+ visible 1
+ doubleClick
+ {
+ play "sound/misc/menu1.wav";
+ uiScript RunMod
+ }
+ }
+
+ itemDef
+ {
+ name ok
+ text "OK"
+ type 1
+ textscale .25
+ rect 250 210 30 26
+ textalign 1
+ textalignx 15
+ textaligny 20
+ forecolor 1 1 1 1
+ visible 1
+ action
+ {
+ play "sound/misc/menu1.wav";
+ close mod;
+ uiScript RunMod
+ }
+ }
+
+ itemDef
+ {
+ name cancel
+ text "Cancel"
+ type 1
+ textscale .25
+ rect 280 210 30 26
+ textalign 1
+ textalignx 15
+ textaligny 20
+ forecolor 1 1 1 1
+ visible 1
+ action
+ {
+ play "sound/misc/menu3.wav";
+ close mod;
+ open main
+ }
+ }
+ }
+}