Rebindable Hotkeys (#12138)

* demodularize interface

* keybindings

* binds

* prefs

* loose ends

* globals

* changes

* s

* datum ref lists

* ok

* fixes

* fixes

* fix

* ok

* sigh

* sigh

* indicators

* let's play the move code around game

* let's play the i didn't comma my lists game

* let's play the indent game

* let's play hte spelling bee

* let's fail the spelling bee

* LET'S PLAY THe HOW HARd  IS  IT TO SPELL A PROC GAME

* let's play the bugfix game

* bugfixes

* improvements

* Update bindings_client.dm

* pixel shift

* A

* wups
This commit is contained in:
kevinz000
2020-05-20 14:40:20 -07:00
committed by GitHub
parent f73f5211f9
commit b57e1c1e93
41 changed files with 1346 additions and 879 deletions
+68 -50
View File
@@ -54,6 +54,7 @@ window "mainwindow"
size = 640x440
anchor1 = none
anchor2 = none
background-color = #242424
is-default = true
saved-params = "pos;size;is-minimized;is-maximized"
icon = 'icons\\ss13_64.png'
@@ -61,60 +62,23 @@ window "mainwindow"
menu = "menu"
elem "split"
type = CHILD
pos = 3,0
size = 634x417
pos = 0,0
size = 637x440
anchor1 = 0,0
anchor2 = 100,100
background-color = #272727
saved-params = "splitter"
left = "mapwindow"
right = "infowindow"
is-vert = true
elem "input"
type = INPUT
pos = 3,420
size = 517x20
anchor1 = 0,100
anchor2 = 100,100
background-color = #d3b5b5
is-default = true
border = sunken
saved-params = "command"
elem "saybutton"
type = BUTTON
pos = 600,420
size = 40x20
anchor1 = 100,100
anchor2 = none
saved-params = "is-checked"
text = "Chat"
command = ".winset \"saybutton.is-checked=true ? input.command=\"!say \\\"\" : input.command=\"\"saybutton.is-checked=true ? mebutton.is-checked=false\"\"saybutton.is-checked=true ? oocbutton.is-checked=false\""
button-type = pushbox
elem "oocbutton"
type = BUTTON
pos = 520,420
size = 40x20
anchor1 = 100,100
anchor2 = none
saved-params = "is-checked"
text = "OOC"
command = ".winset \"oocbutton.is-checked=true ? input.command=\"!ooc \\\"\" : input.command=\"\"oocbutton.is-checked=true ? mebutton.is-checked=false\"\"oocbutton.is-checked=true ? saybutton.is-checked=false\""
button-type = pushbox
elem "mebutton"
type = BUTTON
pos = 560,420
size = 40x20
anchor1 = 100,100
anchor2 = none
saved-params = "is-checked"
text = "Me"
command = ".winset \"mebutton.is-checked=true ? input.command=\"!me \\\"\" : input.command=\"\"mebutton.is-checked=true ? saybutton.is-checked=false\"\"mebutton.is-checked=true ? oocbutton.is-checked=false\""
button-type = pushbox
splitter = 75
elem "asset_cache_browser"
type = BROWSER
pos = 0,0
size = 200x200
anchor1 = none
anchor2 = none
background-color = #272727
is-visible = false
saved-params = ""
elem "tooltip"
@@ -123,6 +87,7 @@ window "mainwindow"
size = 999x999
anchor1 = none
anchor2 = none
background-color = #272727
is-visible = false
saved-params = ""
@@ -134,11 +99,11 @@ window "mapwindow"
anchor1 = none
anchor2 = none
background-color = none
saved-params = ""
saved-params = "pos;size;is-minimized;is-maximized"
statusbar = false
is-pane = true
outer-size = 1090x1192
inner-size = 1068x1136
outer-size = 684x617
inner-size = 662x561
elem "map"
type = MAP
pos = 0,0
@@ -159,6 +124,7 @@ window "infowindow"
size = 640x480
anchor1 = none
anchor2 = none
background-color = #242424
saved-params = "pos;size;is-minimized;is-maximized"
is-pane = true
elem "info"
@@ -167,6 +133,7 @@ window "infowindow"
size = 640x445
anchor1 = 0,0
anchor2 = 100,100
background-color = #272727
saved-params = "splitter"
left = "statwindow"
right = "outputwindow"
@@ -177,6 +144,8 @@ window "infowindow"
size = 104x20
anchor1 = 3,0
anchor2 = 19,0
text-color = #e0e0e0
background-color = #40628a
saved-params = "is-checked"
text = "Changelog"
command = "changelog"
@@ -186,6 +155,8 @@ window "infowindow"
size = 100x20
anchor1 = 19,0
anchor2 = 34,0
text-color = #e0e0e0
background-color = #40628a
saved-params = "is-checked"
text = "Rules"
command = "rules"
@@ -195,6 +166,8 @@ window "infowindow"
size = 100x20
anchor1 = 34,0
anchor2 = 50,0
text-color = #e0e0e0
background-color = #40628a
saved-params = "is-checked"
text = "Wiki"
command = "wiki"
@@ -204,6 +177,8 @@ window "infowindow"
size = 100x20
anchor1 = 50,0
anchor2 = 66,0
text-color = #e0e0e0
background-color = #40628a
saved-params = "is-checked"
text = "Forum"
command = "forum"
@@ -213,8 +188,10 @@ window "infowindow"
size = 100x20
anchor1 = 66,0
anchor2 = 81,0
text-color = #e0e0e0
background-color = #40628a
saved-params = "is-checked"
text = "Github"
text = "GitHub"
command = "github"
elem "report-issue"
type = BUTTON
@@ -222,6 +199,9 @@ window "infowindow"
size = 100x20
anchor1 = 81,0
anchor2 = 97,0
font-size = 8
text-color = #e0e0e0
background-color = #a92c2c
saved-params = "is-checked"
text = "Report Issue"
command = "report-issue"
@@ -233,15 +213,44 @@ window "outputwindow"
size = 640x480
anchor1 = none
anchor2 = none
background-color = #272727
saved-params = "pos;size;is-minimized;is-maximized"
titlebar = false
statusbar = false
can-close = false
can-minimize = false
can-resize = false
is-pane = true
elem "input"
type = INPUT
pos = 2,460
size = 595x20
anchor1 = 0,100
anchor2 = 100,100
background-color = #d3b5b5
is-default = true
border = sunken
saved-params = "command"
elem "say"
type = BUTTON
pos = 600,460
size = 37x20
anchor1 = 100,100
anchor2 = none
text-color = #e0e0e0
background-color = #272727
saved-params = "is-checked"
text = "Chat"
command = ".winset \"say.is-checked=true ? input.command=\"!say \\\"\" : input.command=\""
is-flat = true
button-type = pushbox
elem "browseroutput"
type = BROWSER
pos = 0,0
size = 640x480
size = 640x456
anchor1 = 0,0
anchor2 = 100,100
background-color = #ffffff
background-color = #272727
is-visible = false
is-disabled = true
saved-params = ""
@@ -249,19 +258,22 @@ window "outputwindow"
elem "output"
type = OUTPUT
pos = 0,0
size = 640x480
size = 640x456
anchor1 = 0,0
anchor2 = 100,100
text-color = #e0e0e0
background-color = #272727
is-default = true
saved-params = ""
window "statwindow"
elem "statwindow"
type = MAIN
pos = 0,0
pos = 281,0
size = 640x480
anchor1 = none
anchor2 = none
background-color = #242424
saved-params = "pos;size;is-minimized;is-maximized"
is-pane = true
elem "stat"
@@ -270,8 +282,14 @@ window "statwindow"
size = 640x480
anchor1 = 0,0
anchor2 = 100,100
text-color = #e0e0e0
background-color = #272727
is-default = true
saved-params = ""
tab-text-color = #e0e0e0
tab-background-color = #242424
prefix-color = #e0e0e0
suffix-color = #e0e0e0
window "preferences_window"
elem "preferences_window"