mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-05 11:44:53 +01:00
Moved colored implementation to their own functions
To minimise source code modifications, colored input text has been moved to their own functions. The ImFont is still modified tho.
This commit is contained in:
parent
804355fa54
commit
d2a75db930
6 changed files with 845 additions and 16 deletions
5
ImGui/imgui_user.h
Normal file
5
ImGui/imgui_user.h
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
namespace ImGui
|
||||
{
|
||||
IMGUI_API bool ColoredInputTextMultiline(const char* label, char* buf, size_t buf_size, const ImVec2& size = ImVec2(0, 0), ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = NULL, void* user_data = NULL);
|
||||
IMGUI_API bool ColoredInputTextEx(const char* label, const char* hint, char* buf, int buf_size, const ImVec2& size_arg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback = NULL, void* user_data = NULL);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue