From a90ed5b4b84881e6903b87b90a84ce48ae526502 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 17 Aug 2018 14:38:57 +0200 Subject: [PATCH] Wrap ImGuiColorTextEdit in tracy namespace. --- imguicolortextedit/TextEditor.cpp | 5 +++++ imguicolortextedit/TextEditor.h | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/imguicolortextedit/TextEditor.cpp b/imguicolortextedit/TextEditor.cpp index 25d84835..a1f55c25 100644 --- a/imguicolortextedit/TextEditor.cpp +++ b/imguicolortextedit/TextEditor.cpp @@ -6,6 +6,9 @@ #include "TextEditor.h" +namespace tracy +{ + static const int cTextStart = 7; // TODO @@ -2124,3 +2127,5 @@ TextEditor::LanguageDefinition TextEditor::LanguageDefinition::Lua() } return langDef; } + +} diff --git a/imguicolortextedit/TextEditor.h b/imguicolortextedit/TextEditor.h index f8ba7a16..e560a99b 100644 --- a/imguicolortextedit/TextEditor.h +++ b/imguicolortextedit/TextEditor.h @@ -8,7 +8,11 @@ #include #include #include -#include "imgui.h" + +#include "../imgui/imgui.h" + +namespace tracy +{ class TextEditor { @@ -321,3 +325,4 @@ private: Coordinates mInteractiveStart, mInteractiveEnd; }; +}