Push sliders fonctionnels (x4)

This commit is contained in:
mduval76
2023-12-01 17:55:25 -05:00
parent 90e736a14c
commit def1ab284e
2 changed files with 96 additions and 95 deletions

View File

@@ -64,6 +64,8 @@ private:
void DisplayAudioMenu(float centerX, float centerY);
void DisplayGraphicsMenu(float centerX, float centerY);
void DisplayGameplayMenu(float centerX, float centerY);
void DrawSliderBackground(float centerX, float centerY, float minVal, float maxVal, float bottomSideValue, float topSideValue);
void RedrawSlider(float centerX, float centerY, float value, float minVal, float maxVal, float bottomSideValue, float topSideValue);
void DrawHud(float elapsedTime, BlockType bloc);
void PrintText(float x, float y, const std::string& t, float charSizeMultiplier = 1.0f);
void ProcessNotificationQueue();
@@ -152,17 +154,17 @@ private:
int m_nbReductionChunk = 4;
int m_timerReductionChunk = 30;
float m_volMain = 50.0f;
float m_volMusic = 50.0f;
float m_volEffects = 50.0f;
float m_volSensible = 50.0f;
float m_volPrincipal = 0.0f;
float m_volMusique = 0.0f;
float m_volEffets = 0.0f;
float m_volSensible = 0.0f;
int m_selectedOption = 0;
bool m_selectedPrincipalBar = false;
bool m_selectedMusicBar = false;
bool m_selectedEffectsBar = false;
bool m_selectedSensibilityBar = false;
bool m_selectedMusiqueBar = false;
bool m_selectedEffetsBar = false;
bool m_selectedSensibleBar = false;
bool m_damage = false;