settings: Add UiGeneral class
This commit is contained in:
parent
ea4afbfc54
commit
464aad52cd
4 changed files with 16 additions and 7 deletions
|
@ -144,6 +144,9 @@ float Volume() {
|
|||
return values.volume.GetValue() / static_cast<f32>(values.volume.GetDefault());
|
||||
}
|
||||
|
||||
Linkage::Linkage() = default;
|
||||
Linkage::~Linkage() = default;
|
||||
|
||||
const char* TranslateCategory(Category category) {
|
||||
switch (category) {
|
||||
case Category::Audio:
|
||||
|
@ -176,6 +179,7 @@ const char* TranslateCategory(Category category) {
|
|||
case Category::Controls:
|
||||
return "Controls";
|
||||
case Category::Ui:
|
||||
case Category::UiGeneral:
|
||||
return "UI";
|
||||
case Category::UiLayout:
|
||||
return "UiLayout";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue