mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 15:57:03 -05:00
refactor: Move custom ImGui functions to ImGuiExt namespace (#1427)
Co-authored-by: Nik <werwolv98@gmail.com>
This commit is contained in:
@@ -20,7 +20,7 @@ public:
|
||||
m_message(std::move(message)) { }
|
||||
|
||||
void drawContent() override {
|
||||
ImGui::TextFormattedWrapped("{}", this->m_message.c_str());
|
||||
ImGuiExt::TextFormattedWrapped("{}", this->m_message.c_str());
|
||||
ImGui::NewLine();
|
||||
ImGui::Separator();
|
||||
|
||||
@@ -63,7 +63,7 @@ public:
|
||||
m_message(std::move(message)), m_maxSize(maxSize) { }
|
||||
|
||||
void drawContent() override {
|
||||
ImGui::TextFormattedWrapped("{}", this->m_message.c_str());
|
||||
ImGuiExt::TextFormattedWrapped("{}", this->m_message.c_str());
|
||||
ImGui::NewLine();
|
||||
|
||||
ImGui::SetItemDefaultFocus();
|
||||
|
||||
Reference in New Issue
Block a user