Files
Bubberstation/interface/skin.dmf
John Willard 793853a2d4 Moves info buttons to the Escape menu (#91234)
## About The Pull Request

This is my second contribution to the move towards removing the stat
panel (first one being https://github.com/tgstation/tgstation/pull/90572
)

This moves the info buttons at the top right of the game's screen
(Changelog, Rules, Wiki, etc) to the Escape menu, except for Fullscreen
which is now a pref instead. This means you can set Fullscreen to be on
permanently and every launch will automatically fullscreen you (the
viewport will be a little off because it only fixes it once
initialization is complete). This follows through rounds and auto
updates if you set your game to fullscreen with the OOC button or F11,
so players will learn about the pref after playing a round with
fullscreen enabled.

What the game now looks like

##### Alt ideas for sprites: Changelog can be a newspaper and Forums can
be a newscaster


https://github.com/user-attachments/assets/7871a226-1e0b-410d-a690-88f3616bebb0

This is something I wanted to do since the Esc menu was added but just
never got around to it, but here it is.

## Why It's Good For The Game

These buttons don't warrant being in the player's face 24/7 and since
we've want to remove the stat panel and this has to be somewhere, I
thought it would be a better fit in the Escape menu. It helps make the
Esc menu the tool players use to access their OOC tools and overall I
think improves the appearance of the game's screen to something more
like an actual game would look like, especially when our comparison is
SS14.

## Changelog

🆑
qol: Info buttons previously at the top right of your screen (Changelog,
wiki, forums) is now in the Escape menu.
qol: Fullscreen is now a preferences and will follow you through rounds.
/🆑
2025-05-29 18:25:33 -07:00

428 lines
9.5 KiB
Plaintext

macro "default"
elem ".winset :map.right-click=false"
name = "SHIFT+Shift"
elem "Shift"
name = "SHIFT"
command = ".winset :map.right-click=false"
elem "ShiftUp"
name = "SHIFT+UP"
command = ".winset :map.right-click=true"
menu "menu"
elem
name = "&File"
command = ""
saved-params = "is-checked"
elem
name = "&Quick screenshot\tF2"
command = ".screenshot auto"
category = "&File"
saved-params = "is-checked"
elem
name = "&Save screenshot as...\tShift+F2"
command = ".screenshot"
category = "&File"
saved-params = "is-checked"
elem
name = ""
command = ""
category = "&File"
saved-params = "is-checked"
elem "reconnectbutton"
name = "&Reconnect"
command = ".reconnect"
category = "&File"
saved-params = "is-checked"
elem
name = "&Quit\tAlt-F4"
command = ".quit"
category = "&File"
saved-params = "is-checked"
elem "help-menu"
name = "&Help"
command = ""
saved-params = "is-checked"
elem
name = "&Admin Help\tF1"
command = "adminhelp"
category = "&Help"
saved-params = "is-checked"
elem
name = "&Hotkeys"
command = "Hotkeys-Help"
category = "&Help"
saved-params = "is-checked"
window "mainwindow"
elem "mainwindow"
type = MAIN
pos = 281,0
size = 640x440
anchor1 = -1,-1
anchor2 = -1,-1
is-default = true
saved-params = "pos;size;is-minimized;is-maximized"
statusbar = false
icon = 'icons\\ui\\common\\tg_32.png'
macro = "default"
menu = "menu"
elem "split"
type = CHILD
pos = 0,0
size = 640x440
anchor1 = 0,0
anchor2 = 100,100
saved-params = "splitter"
left = "mapwindow"
right = "info_and_buttons"
is-vert = true
elem "asset_cache_browser"
type = BROWSER
pos = 0,0
size = 200x200
anchor1 = -1,-1
anchor2 = -1,-1
is-visible = false
saved-params = ""
elem "tooltip"
type = BROWSER
pos = 0,0
size = 999x999
anchor1 = -1,-1
anchor2 = -1,-1
is-visible = false
saved-params = ""
elem "commandbar_spy"
type = BROWSER
pos = 0,0
size = 200x200
anchor1 = -1,-1
anchor2 = -1,-1
is-visible = false
saved-params = ""
window "mapwindow"
elem "mapwindow"
type = MAIN
pos = 281,0
size = 640x480
anchor1 = -1,-1
anchor2 = -1,-1
saved-params = "pos;size;is-minimized;is-maximized"
is-pane = true
on-status = ".winset \"status_bar.text=[[*]]\" "
elem "map"
type = MAP
pos = 0,0
size = 640x480
anchor1 = 0,0
anchor2 = 100,100
font-family = "Grand9K Pixel"
font-size = 6
is-default = true
right-click = true
saved-params = "zoom;letterbox;zoom-mode"
style = ".center { text-align: center; } .maptext { font-family: 'Grand9K Pixel'; font-size: 6pt; -dm-text-outline: 1px black; color: white; line-height: 1.0; } .command_headset { font-weight: bold; } .context { font-family: 'Pixellari'; font-size: 12pt; -dm-text-outline: 1px black; } .subcontext { font-family: 'TinyUnicode'; font-size: 12pt; line-height: 0.75; } .small { font-family: 'Spess Font'; font-size: 6pt; line-height: 1.4; } .big { font-family: 'Pixellari'; font-size: 12pt; } .reallybig { font-size: 12pt; } .extremelybig { font-size: 12pt; } .greentext { color: #00FF00; font-size: 6pt; } .redtext { color: #FF0000; font-size: 6pt; } .clown { color: #FF69BF; font-weight: bold; } .his_grace { color: #15D512; } .hypnophrase { color: #0d0d0d; font-weight: bold; } .yell { font-weight: bold; } .italics { font-family: 'Spess Font'; font-size: 6pt; line-height: 1.4; }"
elem "status_bar"
type = LABEL
pos = 0,470
size = 128x10
anchor1 = 0,99
anchor2 = 20,100
text-color = #ffffff
background-color = #222222
border = line
saved-params = ""
text = ""
align = left
window "info_and_buttons"
elem "info_and_buttons"
type = MAIN
pos = 0,0
size = 640x480
anchor1 = 0,0
anchor2 = 100,100
saved-params = "pos;size;is-minimized;is-maximized"
is-pane = true
elem "info_button_child"
type = CHILD
pos = 0,0
size = 640x477
anchor1 = 0,0
anchor2 = 100,100
background-color = #ffc41f
saved-params = "splitter"
left = "infobuttons"
right = "infowindow"
is-vert = false
splitter = 2
show-splitter = false
window "infowindow"
elem "infowindow"
type = MAIN
pos = 281,0
size = 640x475
anchor1 = -1,-1
anchor2 = -1,-1
saved-params = "pos;size;is-minimized;is-maximized"
is-pane = true
elem "info"
type = CHILD
pos = 0,5
size = 640x475
anchor1 = 0,0
anchor2 = 100,100
saved-params = "splitter"
left = "statwindow"
right = "outputwindow"
is-vert = false
window "outputwindow"
elem "outputwindow"
type = MAIN
pos = 0,0
size = 640x475
anchor1 = -1,-1
anchor2 = -1,-1
saved-params = "pos;size;is-minimized;is-maximized"
is-pane = true
elem "output_input_child"
type = CHILD
pos = 0,0
size = 640x475
anchor1 = 0,0
anchor2 = 100,100
background-color = #ffc41f
saved-params = "splitter"
left = "output_selector"
right = "input_and_buttons"
is-vert = false
splitter = 96
show-splitter = false
window "output_selector"
elem "output_selector"
type = MAIN
pos = 0,0
size = 640x475
anchor1 = -1,-1
anchor2 = -1,-1
saved-params = "pos;size;is-minimized;is-maximized"
is-pane = true
elem "legacy_output_selector"
type = CHILD
pos = 0,0
size = 640x475
anchor1 = 0,0
anchor2 = 100,100
saved-params = "splitter"
left = "output_legacy"
is-vert = false
window "input_and_buttons"
elem "input_and_buttons"
type = MAIN
pos = 291,0
size = 640x20
anchor1 = -1,-1
anchor2 = -1,-1
saved-params = "pos;size;is-minimized;is-maximized"
is-pane = true
elem "input_buttons_child"
type = CHILD
pos = 0,0
size = 640x20
anchor1 = 0,0
anchor2 = 100,100
background-color = #ffc41f
saved-params = "splitter"
left = "inputwindow"
right = "inputbuttons"
is-vert = true
splitter = 80
show-splitter = false
window "inputwindow"
elem "inputwindow"
type = MAIN
pos = 575,0
size = 520x25
anchor1 = -1,-1
anchor2 = -1,-1
background-color = none
saved-params = "pos;size;is-minimized;is-maximized"
is-pane = true
elem "input"
type = INPUT
pos = 0,0
size = 805x20
anchor1 = 0,0
anchor2 = 100,100
is-default = true
border = line
saved-params = "command"
window "inputbuttons"
elem "inputbuttons"
type = MAIN
pos = 291,0
size = 120x25
anchor1 = 0,0
anchor2 = 100,100
saved-params = "pos;size;is-minimized;is-maximized"
is-pane = true
elem "saybutton"
type = BUTTON
pos = 0,0
size = 40x20
anchor1 = 0,0
anchor2 = 33,100
font-size = 4
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 = 40,0
size = 40x20
anchor1 = 33,0
anchor2 = 66,100
font-size = 4
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 "oocbutton"
type = BUTTON
pos = 80,0
size = 40x20
anchor1 = 66,0
anchor2 = 100,100
font-size = 4
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
window "output_legacy"
elem "output_legacy"
type = MAIN
pos = 0,0
size = 640x456
anchor1 = -1,-1
anchor2 = -1,-1
saved-params = "pos;size;is-minimized;is-maximized"
is-pane = true
elem "output"
type = OUTPUT
pos = 0,0
size = 640x456
anchor1 = 0,0
anchor2 = 100,100
is-default = true
saved-params = ""
window "output_browser"
elem "output_browser"
type = MAIN
pos = 0,0
size = 640x456
anchor1 = -1,-1
anchor2 = -1,-1
saved-params = "pos;size;is-minimized;is-maximized"
is-pane = true
elem "browseroutput"
type = BROWSER
pos = 0,0
size = 640x456
anchor1 = 0,0
anchor2 = 100,100
saved-params = ""
window "popupwindow"
elem "popupwindow"
type = MAIN
pos = 281,0
size = 120x120
anchor1 = -1,-1
anchor2 = -1,-1
is-visible = false
saved-params = "pos;size;is-minimized;is-maximized"
statusbar = false
can-resize = false
window "preferences_window"
elem "preferences_window"
type = MAIN
pos = 281,0
size = 1280x1000
anchor1 = -1,-1
anchor2 = -1,-1
is-visible = false
saved-params = "pos;size;is-minimized;is-maximized"
statusbar = false
elem "preferences_browser"
type = BROWSER
pos = 0,0
size = 960x1000
anchor1 = 0,0
anchor2 = 75,100
saved-params = ""
elem "character_preview_map"
type = MAP
pos = 960,0
size = 320x1000
anchor1 = 75,0
anchor2 = 100,100
right-click = true
saved-params = "zoom;letterbox;zoom-mode"
window "statwindow"
elem "statwindow"
type = MAIN
pos = 281,0
size = 640x480
anchor1 = -1,-1
anchor2 = -1,-1
saved-params = "pos;size;is-minimized;is-maximized"
is-pane = true
elem "statbrowser"
type = BROWSER
pos = 0,0
size = 640x480
anchor1 = 0,0
anchor2 = 100,100
is-visible = false
saved-params = ""
window "tgui_say"
elem "tgui_say"
type = MAIN
pos = 848,500
size = 231x30
anchor1 = 50,50
anchor2 = 50,50
is-visible = false
saved-params = ""
statusbar = false
can-minimize = false
elem "browser"
type = BROWSER
pos = 0,0
size = 231x30
anchor1 = 0,0
anchor2 = 0,0
saved-params = ""