mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-28 17:40:56 +01:00
do not export inline function, it causes problems on some compiers
This commit is contained in:
parent
316555f9de
commit
7a37a1c3f6
2
imgui.h
2
imgui.h
@ -1022,7 +1022,7 @@ struct ImGuiTextEditCallbackData
|
|||||||
// NB: Helper functions for text manipulation. Calling those function loses selection.
|
// NB: Helper functions for text manipulation. Calling those function loses selection.
|
||||||
IMGUI_API void DeleteChars(int pos, int bytes_count);
|
IMGUI_API void DeleteChars(int pos, int bytes_count);
|
||||||
IMGUI_API void InsertChars(int pos, const char* text, const char* text_end = NULL);
|
IMGUI_API void InsertChars(int pos, const char* text, const char* text_end = NULL);
|
||||||
IMGUI_API bool HasSelection() const { return SelectionStart != SelectionEnd; }
|
bool HasSelection() const { return SelectionStart != SelectionEnd; }
|
||||||
};
|
};
|
||||||
|
|
||||||
// Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin().
|
// Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin().
|
||||||
|
Loading…
Reference in New Issue
Block a user