Refactor CalcWordWrapPositionA() to take on the responsability of minimum character display. Add CalcWordWrapNextLineStartA(), simplify caller code.

Should be no-op but incrementing IMGUI_VERSION_NUM just in case.
Preparing for #5720
This commit is contained in:
ocornut
2022-09-28 12:42:06 +02:00
parent 5c4426c5b8
commit 4d4889bf1b
2 changed files with 21 additions and 28 deletions

View File

@ -23,7 +23,7 @@
// Library Version
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals, e.g. '#if IMGUI_VERSION_NUM > 12345')
#define IMGUI_VERSION "1.89 WIP"
#define IMGUI_VERSION_NUM 18823
#define IMGUI_VERSION_NUM 18824
#define IMGUI_HAS_TABLE
/*