mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
@@ -66,7 +66,9 @@ namespace ImGui {
|
|||||||
|
|
||||||
void DummyMarker() {
|
void DummyMarker() {
|
||||||
// dummy marker that is the same width as HelpMarker/WarnMarker.
|
// dummy marker that is the same width as HelpMarker/WarnMarker.
|
||||||
ImGui::Dummy(ImVec2(22, 0));
|
// "(?)" and "(!)" render to the same width, so calc it so the spacing
|
||||||
|
// tracks the current font size/scale instead of a fixed pixel count.
|
||||||
|
ImGui::Dummy(ImVec2(ImGui::CalcTextSize("(?)").x, 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
void Knob(float fraction, float size, float thickness, float pos_x, float pos_y) {
|
void Knob(float fraction, float size, float thickness, float pos_x, float pos_y) {
|
||||||
|
|||||||
Reference in New Issue
Block a user