Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarOptionsMenu.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-01-03 20:08:57 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-01-03 20:08:57 +1100
commitddc64fb14caded7e49c0886cfa58b1ca82900262 (patch)
tree7086be21fb4bd2b5475746f9ae0c68544d90a81a /source/frontend/StarOptionsMenu.hpp
parent91cf2d82515583d7627ce3fd452f81e345918144 (diff)
Fix up and add options menu slider
Diffstat (limited to 'source/frontend/StarOptionsMenu.hpp')
-rw-r--r--source/frontend/StarOptionsMenu.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/frontend/StarOptionsMenu.hpp b/source/frontend/StarOptionsMenu.hpp
index b984f02..d98fb20 100644
--- a/source/frontend/StarOptionsMenu.hpp
+++ b/source/frontend/StarOptionsMenu.hpp
@@ -29,6 +29,7 @@ private:
void initConfig();
+ void updateInstrumentVol();
void updateSFXVol();
void updateMusicVol();
void updateTutorialMessages();
@@ -43,6 +44,7 @@ private:
void displayModBindings();
void displayGraphics();
+ SliderBarWidgetPtr m_instrumentSlider;
SliderBarWidgetPtr m_sfxSlider;
SliderBarWidgetPtr m_musicSlider;
ButtonWidgetPtr m_tutorialMessagesButton;
@@ -51,10 +53,12 @@ private:
ButtonWidgetPtr m_clientP2PJoinableButton;
ButtonWidgetPtr m_allowAssetsMismatchButton;
+ LabelWidgetPtr m_instrumentLabel;
LabelWidgetPtr m_sfxLabel;
LabelWidgetPtr m_musicLabel;
LabelWidgetPtr m_p2pJoinableLabel;
+ //TODO: add instrument range (or just use one range for all 3, it's kinda silly.)
Vec2I m_sfxRange;
Vec2I m_musicRange;