mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 17:52:36 +00:00
Remove Status Bar, Move Command Bar to Chat (#57448)
Makes the game screen bigger by removing the status bar and moving the chat bar Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
This commit is contained in:
@@ -60,86 +60,38 @@ window "mainwindow"
|
|||||||
type = MAIN
|
type = MAIN
|
||||||
pos = 281,0
|
pos = 281,0
|
||||||
size = 640x440
|
size = 640x440
|
||||||
anchor1 = none
|
anchor1 = -1,-1
|
||||||
anchor2 = none
|
anchor2 = -1,-1
|
||||||
background-color = none
|
|
||||||
is-default = true
|
is-default = true
|
||||||
saved-params = "pos;size;is-minimized;is-maximized"
|
saved-params = "pos;size;is-minimized;is-maximized"
|
||||||
|
statusbar = false
|
||||||
icon = 'icons\\tg_32.png'
|
icon = 'icons\\tg_32.png'
|
||||||
macro = "default"
|
macro = "default"
|
||||||
menu = "menu"
|
menu = "menu"
|
||||||
outer-size = 656x518
|
|
||||||
inner-size = 640x459
|
|
||||||
elem "split"
|
elem "split"
|
||||||
type = CHILD
|
type = CHILD
|
||||||
pos = 3,0
|
pos = 3,0
|
||||||
size = 634x417
|
size = 634x440
|
||||||
anchor1 = 0,0
|
anchor1 = 0,0
|
||||||
anchor2 = 100,100
|
anchor2 = 100,100
|
||||||
background-color = none
|
|
||||||
saved-params = "splitter"
|
saved-params = "splitter"
|
||||||
left = "mapwindow"
|
left = "mapwindow"
|
||||||
right = "infowindow"
|
right = "infowindow"
|
||||||
is-vert = true
|
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
|
|
||||||
background-color = 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
|
|
||||||
background-color = 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
|
|
||||||
background-color = 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
|
|
||||||
elem "asset_cache_browser"
|
elem "asset_cache_browser"
|
||||||
type = BROWSER
|
type = BROWSER
|
||||||
pos = 0,0
|
pos = 0,0
|
||||||
size = 200x200
|
size = 200x200
|
||||||
anchor1 = none
|
anchor1 = -1,-1
|
||||||
anchor2 = none
|
anchor2 = -1,-1
|
||||||
background-color = none
|
|
||||||
is-visible = false
|
is-visible = false
|
||||||
saved-params = ""
|
saved-params = ""
|
||||||
elem "tooltip"
|
elem "tooltip"
|
||||||
type = BROWSER
|
type = BROWSER
|
||||||
pos = 0,0
|
pos = 0,0
|
||||||
size = 999x999
|
size = 999x999
|
||||||
anchor1 = none
|
anchor1 = -1,-1
|
||||||
anchor2 = none
|
anchor2 = -1,-1
|
||||||
background-color = none
|
|
||||||
is-visible = false
|
is-visible = false
|
||||||
saved-params = ""
|
saved-params = ""
|
||||||
|
|
||||||
@@ -148,13 +100,10 @@ window "mapwindow"
|
|||||||
type = MAIN
|
type = MAIN
|
||||||
pos = 281,0
|
pos = 281,0
|
||||||
size = 640x480
|
size = 640x480
|
||||||
anchor1 = none
|
anchor1 = -1,-1
|
||||||
anchor2 = none
|
anchor2 = -1,-1
|
||||||
background-color = none
|
|
||||||
saved-params = "pos;size;is-minimized;is-maximized"
|
saved-params = "pos;size;is-minimized;is-maximized"
|
||||||
is-pane = true
|
is-pane = true
|
||||||
outer-size = 656x538
|
|
||||||
inner-size = 640x499
|
|
||||||
elem "map"
|
elem "map"
|
||||||
type = MAP
|
type = MAP
|
||||||
pos = 0,0
|
pos = 0,0
|
||||||
@@ -173,20 +122,16 @@ window "infowindow"
|
|||||||
type = MAIN
|
type = MAIN
|
||||||
pos = 281,0
|
pos = 281,0
|
||||||
size = 640x480
|
size = 640x480
|
||||||
anchor1 = none
|
anchor1 = -1,-1
|
||||||
anchor2 = none
|
anchor2 = -1,-1
|
||||||
background-color = none
|
|
||||||
saved-params = "pos;size;is-minimized;is-maximized"
|
saved-params = "pos;size;is-minimized;is-maximized"
|
||||||
is-pane = true
|
is-pane = true
|
||||||
outer-size = 656x538
|
|
||||||
inner-size = 640x499
|
|
||||||
elem "info"
|
elem "info"
|
||||||
type = CHILD
|
type = CHILD
|
||||||
pos = 0,30
|
pos = 0,30
|
||||||
size = 640x445
|
size = 640x445
|
||||||
anchor1 = 0,0
|
anchor1 = 0,0
|
||||||
anchor2 = 100,100
|
anchor2 = 100,100
|
||||||
background-color = none
|
|
||||||
saved-params = "splitter"
|
saved-params = "splitter"
|
||||||
left = "statwindow"
|
left = "statwindow"
|
||||||
right = "outputwindow"
|
right = "outputwindow"
|
||||||
@@ -197,7 +142,6 @@ window "infowindow"
|
|||||||
size = 104x20
|
size = 104x20
|
||||||
anchor1 = 3,0
|
anchor1 = 3,0
|
||||||
anchor2 = 19,0
|
anchor2 = 19,0
|
||||||
background-color = none
|
|
||||||
saved-params = "is-checked"
|
saved-params = "is-checked"
|
||||||
text = "Changelog"
|
text = "Changelog"
|
||||||
command = "changelog"
|
command = "changelog"
|
||||||
@@ -207,7 +151,6 @@ window "infowindow"
|
|||||||
size = 100x20
|
size = 100x20
|
||||||
anchor1 = 19,0
|
anchor1 = 19,0
|
||||||
anchor2 = 34,0
|
anchor2 = 34,0
|
||||||
background-color = none
|
|
||||||
saved-params = "is-checked"
|
saved-params = "is-checked"
|
||||||
text = "Rules"
|
text = "Rules"
|
||||||
command = "rules"
|
command = "rules"
|
||||||
@@ -217,7 +160,6 @@ window "infowindow"
|
|||||||
size = 100x20
|
size = 100x20
|
||||||
anchor1 = 34,0
|
anchor1 = 34,0
|
||||||
anchor2 = 50,0
|
anchor2 = 50,0
|
||||||
background-color = none
|
|
||||||
saved-params = "is-checked"
|
saved-params = "is-checked"
|
||||||
text = "Wiki"
|
text = "Wiki"
|
||||||
command = "wiki"
|
command = "wiki"
|
||||||
@@ -227,7 +169,6 @@ window "infowindow"
|
|||||||
size = 100x20
|
size = 100x20
|
||||||
anchor1 = 50,0
|
anchor1 = 50,0
|
||||||
anchor2 = 66,0
|
anchor2 = 66,0
|
||||||
background-color = none
|
|
||||||
saved-params = "is-checked"
|
saved-params = "is-checked"
|
||||||
text = "Forum"
|
text = "Forum"
|
||||||
command = "forum"
|
command = "forum"
|
||||||
@@ -237,7 +178,6 @@ window "infowindow"
|
|||||||
size = 100x20
|
size = 100x20
|
||||||
anchor1 = 66,0
|
anchor1 = 66,0
|
||||||
anchor2 = 81,0
|
anchor2 = 81,0
|
||||||
background-color = none
|
|
||||||
saved-params = "is-checked"
|
saved-params = "is-checked"
|
||||||
text = "Github"
|
text = "Github"
|
||||||
command = "github"
|
command = "github"
|
||||||
@@ -247,7 +187,6 @@ window "infowindow"
|
|||||||
size = 100x20
|
size = 100x20
|
||||||
anchor1 = 81,0
|
anchor1 = 81,0
|
||||||
anchor2 = 97,0
|
anchor2 = 97,0
|
||||||
background-color = none
|
|
||||||
saved-params = "is-checked"
|
saved-params = "is-checked"
|
||||||
text = "Report Issue"
|
text = "Report Issue"
|
||||||
command = "report-issue"
|
command = "report-issue"
|
||||||
@@ -257,17 +196,66 @@ window "outputwindow"
|
|||||||
type = MAIN
|
type = MAIN
|
||||||
pos = 281,0
|
pos = 281,0
|
||||||
size = 640x480
|
size = 640x480
|
||||||
anchor1 = none
|
anchor1 = -1,-1
|
||||||
anchor2 = none
|
anchor2 = -1,-1
|
||||||
background-color = none
|
background-color = none
|
||||||
saved-params = "pos;size;is-minimized;is-maximized"
|
saved-params = "pos;size;is-minimized;is-maximized"
|
||||||
is-pane = true
|
is-pane = true
|
||||||
outer-size = 656x538
|
outer-size = 656x538
|
||||||
inner-size = 640x499
|
inner-size = 640x499
|
||||||
|
elem "input"
|
||||||
|
type = INPUT
|
||||||
|
pos = 2,460
|
||||||
|
size = 517x20
|
||||||
|
anchor1 = 0,100
|
||||||
|
anchor2 = 100,100
|
||||||
|
background-color = #d3b5b5
|
||||||
|
is-default = true
|
||||||
|
border = sunken
|
||||||
|
saved-params = "command"
|
||||||
|
elem "oocbutton"
|
||||||
|
type = BUTTON
|
||||||
|
pos = 599,460
|
||||||
|
size = 40x19
|
||||||
|
anchor1 = 100,100
|
||||||
|
anchor2 = -1,-1
|
||||||
|
background-color = none
|
||||||
|
border = line
|
||||||
|
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\""
|
||||||
|
is-flat = true
|
||||||
|
button-type = pushbox
|
||||||
|
elem "saybutton"
|
||||||
|
type = BUTTON
|
||||||
|
pos = 519,460
|
||||||
|
size = 40x19
|
||||||
|
anchor1 = 100,100
|
||||||
|
anchor2 = -1,-1
|
||||||
|
background-color = none
|
||||||
|
border = line
|
||||||
|
saved-params = "is-checked"
|
||||||
|
text = "Say"
|
||||||
|
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\""
|
||||||
|
is-flat = true
|
||||||
|
button-type = pushbox
|
||||||
|
elem "mebutton"
|
||||||
|
type = BUTTON
|
||||||
|
pos = 559,460
|
||||||
|
size = 40x19
|
||||||
|
anchor1 = 100,100
|
||||||
|
anchor2 = -1,-1
|
||||||
|
background-color = none
|
||||||
|
border = line
|
||||||
|
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\""
|
||||||
|
is-flat = true
|
||||||
|
button-type = pushbox
|
||||||
elem "browseroutput"
|
elem "browseroutput"
|
||||||
type = BROWSER
|
type = BROWSER
|
||||||
pos = 0,0
|
pos = 0,0
|
||||||
size = 640x480
|
size = 640x456
|
||||||
anchor1 = 0,0
|
anchor1 = 0,0
|
||||||
anchor2 = 100,100
|
anchor2 = 100,100
|
||||||
background-color = #ffffff
|
background-color = #ffffff
|
||||||
@@ -277,7 +265,7 @@ window "outputwindow"
|
|||||||
elem "output"
|
elem "output"
|
||||||
type = OUTPUT
|
type = OUTPUT
|
||||||
pos = 0,0
|
pos = 0,0
|
||||||
size = 640x480
|
size = 640x456
|
||||||
anchor1 = 0,0
|
anchor1 = 0,0
|
||||||
anchor2 = 100,100
|
anchor2 = 100,100
|
||||||
is-default = true
|
is-default = true
|
||||||
@@ -288,23 +276,20 @@ window "popupwindow"
|
|||||||
type = MAIN
|
type = MAIN
|
||||||
pos = 281,0
|
pos = 281,0
|
||||||
size = 120x120
|
size = 120x120
|
||||||
anchor1 = none
|
anchor1 = -1,-1
|
||||||
anchor2 = none
|
anchor2 = -1,-1
|
||||||
background-color = none
|
|
||||||
is-visible = false
|
is-visible = false
|
||||||
saved-params = "pos;size;is-minimized;is-maximized"
|
saved-params = "pos;size;is-minimized;is-maximized"
|
||||||
statusbar = false
|
statusbar = false
|
||||||
can-resize = false
|
can-resize = false
|
||||||
outer-size = 136x159
|
|
||||||
inner-size = 120x120
|
|
||||||
|
|
||||||
window "preferences_window"
|
window "preferences_window"
|
||||||
elem "preferences_window"
|
elem "preferences_window"
|
||||||
type = MAIN
|
type = MAIN
|
||||||
pos = 281,0
|
pos = 281,0
|
||||||
size = 1280x1000
|
size = 1280x1000
|
||||||
anchor1 = none
|
anchor1 = -1,-1
|
||||||
anchor2 = none
|
anchor2 = -1,-1
|
||||||
is-visible = false
|
is-visible = false
|
||||||
saved-params = "pos;size;is-minimized;is-maximized"
|
saved-params = "pos;size;is-minimized;is-maximized"
|
||||||
statusbar = false
|
statusbar = false
|
||||||
@@ -329,20 +314,16 @@ window "statwindow"
|
|||||||
type = MAIN
|
type = MAIN
|
||||||
pos = 281,0
|
pos = 281,0
|
||||||
size = 640x480
|
size = 640x480
|
||||||
anchor1 = none
|
anchor1 = -1,-1
|
||||||
anchor2 = none
|
anchor2 = -1,-1
|
||||||
background-color = none
|
|
||||||
saved-params = "pos;size;is-minimized;is-maximized"
|
saved-params = "pos;size;is-minimized;is-maximized"
|
||||||
is-pane = true
|
is-pane = true
|
||||||
outer-size = 656x538
|
|
||||||
inner-size = 640x499
|
|
||||||
elem "statbrowser"
|
elem "statbrowser"
|
||||||
type = BROWSER
|
type = BROWSER
|
||||||
pos = 0,0
|
pos = 0,0
|
||||||
size = 640x480
|
size = 640x480
|
||||||
anchor1 = 0,0
|
anchor1 = 0,0
|
||||||
anchor2 = 100,100
|
anchor2 = 100,100
|
||||||
background-color = none
|
|
||||||
is-visible = false
|
is-visible = false
|
||||||
saved-params = ""
|
saved-params = ""
|
||||||
|
|
||||||
|
|||||||
@@ -94,6 +94,13 @@ const setupApp = () => {
|
|||||||
'size': '0x0',
|
'size': '0x0',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Resize the panel to match the non-browser output
|
||||||
|
Byond.winget('output').then(output => {
|
||||||
|
Byond.winset('browseroutput', {
|
||||||
|
'size': output.size,
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
// Enable hot module reloading
|
// Enable hot module reloading
|
||||||
if (module.hot) {
|
if (module.hot) {
|
||||||
setupHotReloading();
|
setupHotReloading();
|
||||||
|
|||||||
Reference in New Issue
Block a user