mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-07-10 02:55:22 +02:00
UI Cleanup + Fixed waterfall zoom bug
This commit is contained in:
@ -43,4 +43,14 @@ namespace style {
|
||||
ImGui::PopItemFlag();
|
||||
ImGui::PopStyleColor(3);
|
||||
}
|
||||
}
|
||||
|
||||
namespace ImGui {
|
||||
void LeftLabel(char* text) {
|
||||
float vpos = ImGui::GetCursorPosY();
|
||||
ImGui::SetCursorPosY(vpos + GImGui->Style.FramePadding.y);
|
||||
ImGui::Text(text);
|
||||
ImGui::SameLine();
|
||||
ImGui::SetCursorPosY(vpos);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user