mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-09 23:54:20 +00:00
Rework TextAligned() api to take size input. (#7024)
This commit is contained in:
parent
6a42d6b339
commit
aed1bcc12c
2 changed files with 15 additions and 16 deletions
|
|
@ -3445,9 +3445,8 @@ namespace ImGui
|
|||
|
||||
// Widgets: Text
|
||||
IMGUI_API void TextEx(const char* text, const char* text_end = NULL, ImGuiTextFlags flags = 0);
|
||||
IMGUI_API void TextAligned(float align_x, const char* fmt, ...); // FIXME-WIP: Works but API is likely to be reworked. This is designed for 1 item on the line. (#7024)
|
||||
IMGUI_API void TextAlignedV(float align_x, const char* fmt, va_list args);
|
||||
IMGUI_API void TextAlignedExV(float align_x, float avail_x, const char* fmt, va_list args);
|
||||
IMGUI_API void TextAligned(float align_x, float size_x, const char* fmt, ...); // FIXME-WIP: Works but API is likely to be reworked. This is designed for 1 item on the line. (#7024)
|
||||
IMGUI_API void TextAlignedV(float align_x, float size_x, const char* fmt, va_list args);
|
||||
|
||||
// Widgets
|
||||
IMGUI_API bool ButtonEx(const char* label, const ImVec2& size_arg = ImVec2(0, 0), ImGuiButtonFlags flags = 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue