This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| bool InputTextRightAligned(const char* label, const char* text, size_t length, ImGuiInputTextFlags flags, ImGuiInputTextCallback pCallback, void* pUserData) | |
| { | |
| const ImGuiContext& g = *ImGui::GetCurrentContext(); | |
| const ImGuiStyle& style = ImGui::GetStyle(); | |
| ImGuiWindow& window = *ImGui::GetCurrentWindow(); | |
| ImGuiID id = window.GetID(label); | |
| bool active = g.ActiveId == id; | |
| ImVec2 labelSize = ImGui::CalcTextSize(label, nullptr, true); |
OlderNewer