add new name macros
This commit is contained in:
@@ -44,7 +44,7 @@ namespace example
|
||||
ImGui::SetNextWindowPos(m_pos);
|
||||
ImGui::SetNextWindowSize(m_size);
|
||||
|
||||
if (!ImGui::Begin(VE_NAME("Test signal"), nullptr, m_win_flags)) ImGui::End();
|
||||
if (!ImGui::Begin(VE_NO_NAME("Test signal"), nullptr, m_win_flags)) ImGui::End();
|
||||
|
||||
if (ImGui::Button("Test signal", ImVec2(128, 130)))
|
||||
{
|
||||
|
||||
@@ -9,6 +9,8 @@ namespace example
|
||||
CONNECT(this);
|
||||
|
||||
hack::log()("on_attach");
|
||||
|
||||
m_win_flags &= ~ImGuiWindowFlags_NoTitleBar;
|
||||
}
|
||||
|
||||
void ui_layer_double::on_detach()
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace example
|
||||
VE_OVERIDE();
|
||||
VE_EVENT_OVERIDE();
|
||||
|
||||
ImVec2 m_size = ImVec2{ 400.f, 400.f };
|
||||
ImVec2 m_size = ImVec2{ 800.f, 800.f };
|
||||
ImVec2 m_pos = ImVec2{ 400.f, 400.f };
|
||||
std::string m_key;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user