Files
Bubberstation/interface/skin.dmf
Aylong b02ff6e946 Fullscreen QoL (#84066)
## About The Pull Request
Add hotkey for toggling fullscreen (F11)
Add toggle fullscreen button to the skin buttons
Also, fix little padding on the left and right, maybe that was the
intention, so please tell me if this needs to be returned, screenshots
bellow
| Before | After(With padding) | After(Without padding/final result) |
| - | - | - |
|
![image](https://github.com/tgstation/tgstation/assets/69762909/3c8863dc-94cf-40e9-9eec-24fe548f1474)
|
![image](https://github.com/tgstation/tgstation/assets/69762909/ae167f4d-02e3-4b6d-874f-3b5c38d77bc8)
|
![image](https://github.com/tgstation/tgstation/assets/69762909/30a4ed6c-fc0f-468c-ab01-7c4b66551d0f)
|

## Why It's Good For The Game
It is a little bit not convenient to search for the Toggle Fullscreen
button in any of the tabs, I think no one will argue that the hotkey is
more convenient

## Changelog

🆑
qol: Fullscreen mode can now be toggled by pressing F11 or the button at
the top right
/🆑
2024-06-20 20:45:38 -06:00

377 lines
8.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_icons\\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 = "infowindow"
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
is-default = false
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 = 6pt
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,464
size = 280x16
anchor1 = 0,100
is-visible = true
text = ""
align = left
background-color = #222222
text-color = #ffffff
border = line
window "infowindow"
elem "infowindow"
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 "info"
type = CHILD
pos = 0,30
size = 640x445
anchor1 = 0,0
anchor2 = 100,100
saved-params = "splitter"
left = "statwindow"
right = "outputwindow"
is-vert = false
elem "changelog"
type = BUTTON
pos = 5,5
size = 90x20
anchor1 = 1,0
anchor2 = 15,0
saved-params = "is-checked"
text = "Changelog"
command = "changelog"
elem "rules"
type = BUTTON
pos = 95,5
size = 90x20
anchor1 = 15,0
anchor2 = 29,0
saved-params = "is-checked"
text = "Rules"
command = "rules"
elem "wiki"
type = BUTTON
pos = 185,5
size = 90x20
anchor1 = 29,0
anchor2 = 43,0
saved-params = "is-checked"
text = "Wiki"
command = "wiki"
elem "forum"
type = BUTTON
pos = 275,5
size = 90x20
anchor1 = 43,0
anchor2 = 57,0
saved-params = "is-checked"
text = "Forum"
command = "forum"
elem "github"
type = BUTTON
pos = 365,5
size = 90x20
anchor1 = 57,0
anchor2 = 71,0
saved-params = "is-checked"
text = "Github"
command = "github"
elem "report-issue"
type = BUTTON
pos = 455,5
size = 90x20
anchor1 = 71,0
anchor2 = 85,0
saved-params = "is-checked"
text = "Report Issue"
command = "report-issue"
elem "fullscreen-toggle"
type = BUTTON
pos = 545,5
size = 90x20
anchor1 = 85,0
anchor2 = 99,0
saved-params = "is-checked"
text = "Fullscreen"
command = "fullscreen"
window "outputwindow"
elem "outputwindow"
type = MAIN
pos = 281,0
size = 640x480
anchor1 = -1,-1
anchor2 = -1,-1
background-color = none
saved-params = "pos;size;is-minimized;is-maximized"
is-pane = true
outer-size = 656x538
inner-size = 640x499
elem "input"
type = INPUT
pos = 2,460
size = 517x20
anchor1 = 0,100
anchor2 = 100,100
is-default = true
border = line
saved-params = "command"
elem "oocbutton"
type = BUTTON
pos = 599,460
size = 40x20
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 = 40x20
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 = 40x20
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"
type = BROWSER
pos = 0,0
size = 640x456
anchor1 = 0,0
anchor2 = 100,100
is-visible = false
is-disabled = true
saved-params = ""
elem "output"
type = OUTPUT
pos = 0,0
size = 640x456
anchor1 = 0,0
anchor2 = 100,100
is-default = true
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 = ""