mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
4f1ada7a2f
## Link to GitHub Issue, if one exists
n/a
## Description of change
In Options (and in Advanced/API/Search tabs), remove the help marker
`(?)` and instead add a tooltip to the option name label and the control
widgets like the checkbox, text input, and combo. This is to help with
discoverability as many users failed to discover the `(?)` widget.
Similarly, update the Patches tab to remove `(?)` and add tooltips to
widgets. Patches with warnings `(!)` will continue to show it to
distinguish it from other patches.
Update styling for the tooltip (dark red background -> dark gray) so
that it stands out from other widgets.
Remove the purple option text used for game-specific options.
## Compiling
👍
## Testing
Tested in spicecfg, and in-game overlay.
13 lines
371 B
C++
13 lines
371 B
C++
#pragma once
|
|
|
|
namespace ImGui {
|
|
|
|
void HelpTooltip(const char* desc);
|
|
void HelpMarker(const char* desc);
|
|
void WarnTooltip(const char* desc, const char* warn);
|
|
void WarnMarker(const char* desc, const char* warn);
|
|
void DummyMarker();
|
|
void Knob(float fraction, float size, float thickness = 2.f,
|
|
float pos_x = -1.f, float pos_y = -1.f);
|
|
}
|