mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Add UI opacity slider to settings window
Adds an Interface section with a UI Opacity slider (20-100%) that controls the transparency of all ImGui UI elements via the global style alpha.
This commit is contained in:
parent
7054699d21
commit
4e2cf0af8e
2 changed files with 23 additions and 0 deletions
|
|
@ -75,6 +75,10 @@ private:
|
|||
int pendingSfxVolume = 100;
|
||||
float pendingMouseSensitivity = 0.2f;
|
||||
bool pendingInvertMouse = false;
|
||||
int pendingUiOpacity = 100;
|
||||
|
||||
// UI element transparency (0.0 = fully transparent, 1.0 = fully opaque)
|
||||
float uiOpacity_ = 1.0f;
|
||||
|
||||
/**
|
||||
* Render player info window
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue