Platform IME: add ImGuiPlatformImeData::InputLineHeight (unused by win32). (#3113)

This commit is contained in:
Liu Liu
2022-01-05 13:38:51 +01:00
committed by ocornut
parent 29a8ee0826
commit de36ff043e
3 changed files with 3 additions and 0 deletions

View File

@ -2834,6 +2834,7 @@ struct ImGuiPlatformImeData
{
bool WantVisible; // A widget wants the IME to be visible
ImVec2 InputPos; // Position of the input cursor
float InputLineHeight; // Line height
ImGuiPlatformImeData() { memset(this, 0, sizeof(*this)); }
};