mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-07 21:39:54 +02:00
CalcTextSize() default third parameter to false because it almost never makes sense to use it from the outside (may obsolete it)
This commit is contained in:
2
imgui.h
2
imgui.h
@ -303,7 +303,7 @@ namespace ImGui
|
||||
IMGUI_API int GetFrameCount();
|
||||
IMGUI_API const char* GetStyleColorName(ImGuiCol idx);
|
||||
IMGUI_API void GetDefaultFontData(const void** fnt_data, unsigned int* fnt_size, const void** png_data, unsigned int* png_size);
|
||||
IMGUI_API ImVec2 CalcTextSize(const char* text, const char* text_end = NULL, bool hide_text_after_double_hash = true, float wrap_width = -1.0f);
|
||||
IMGUI_API ImVec2 CalcTextSize(const char* text, const char* text_end = NULL, bool hide_text_after_double_hash = false, float wrap_width = -1.0f);
|
||||
|
||||
} // namespace ImGui
|
||||
|
||||
|
Reference in New Issue
Block a user