mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 21:17:44 +00:00
GamesSettings: Introduce a new GamesSettings application :^)
This currently has exactly one setting: The background colour for card games. My thinking is, it's better to not have a Settings application for each individual game we include in the system, since most will only have a small number of settings, all Settings windows have tabs anyway, and I don't want to flood the Settings app list unnecessarily. As for having a single setting for all the card games: it's nice when things match. :^)
This commit is contained in:
parent
0737d217cb
commit
a01c4c50d1
7 changed files with 134 additions and 0 deletions
19
Userland/Applications/GamesSettings/CardSettingsWidget.gml
Normal file
19
Userland/Applications/GamesSettings/CardSettingsWidget.gml
Normal file
|
@ -0,0 +1,19 @@
|
|||
@GUI::Frame {
|
||||
fill_with_background_color: true
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [8]
|
||||
}
|
||||
|
||||
@GUI::GroupBox {
|
||||
title: "Background Color"
|
||||
max_height: "shrink"
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [8]
|
||||
}
|
||||
|
||||
@GUI::ColorInput {
|
||||
name: "cards_background_color"
|
||||
has_alpha_channel: false
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue