New Custom pattern entry for New Source

This commit is contained in:
Bruno Herbelin
2022-01-01 10:14:51 +01:00
parent 780a20689c
commit f0ca13150f
5 changed files with 145 additions and 45 deletions

View File

@@ -68,8 +68,11 @@ namespace ImGuiToolkit
// text input
bool InputText(const char* label, std::string* str);
bool InputTextMultiline(const char* label, std::string* str, const ImVec2& size = ImVec2(0, 0), int linesize = 0);
void ShowTextMultiline(const char* label, const std::string &str, float width);
bool InputTextMultiline(const char* label, std::string* str, const ImVec2& size = ImVec2(0, 0));
void TextMultiline(const char* label, const std::string &str, float width);
bool InputCodeMultiline(const char* label, std::string* str, const ImVec2& size = ImVec2(0, 0));
void CodeMultiline(const char* label, const std::string &str, float width);
// accent color of UI
typedef enum {