Escape ## in name of style in imgui visualization(issue 61)
This commit is contained in:
parent
6e15149e7a
commit
3bd557b177
4 changed files with 24 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue