Escape ## in name of style in imgui visualization(issue 61)

This commit is contained in:
Filip Sykala - NTB T15p 2022-09-21 14:53:53 +02:00
parent 6e15149e7a
commit 3bd557b177
4 changed files with 24 additions and 3 deletions

View file

@ -167,6 +167,13 @@ public:
float width,
const char *tail = " ..");
/// <summary>
/// Escape ## in data by add space between hashes
/// Needed when user written text is visualized by ImGui.
/// </summary>
/// <param name="text">In/Out text to be escaped</param>
static void escape_double_hash(std::string &text);
/// <summary>
/// Suggest loacation of dialog window,
/// dependent on actual visible thing on platter