added plots and new style
This commit is contained in:
@@ -19,7 +19,7 @@ namespace example
|
||||
|
||||
void ui_layer::render()
|
||||
{
|
||||
VE_PUSH_FONT(REGULAR, 20);
|
||||
VE_PUSH_FONT(REGULAR, 30);
|
||||
if (ImGui::BeginMainMenuBar())
|
||||
{
|
||||
if (ImGui::BeginMenu("File"))
|
||||
@@ -59,9 +59,28 @@ namespace example
|
||||
hack::log()(r);
|
||||
}
|
||||
|
||||
ImPlot::ShowDemoWindow();
|
||||
ImPlot3D::ShowDemoWindow();
|
||||
ImGui::ShowDemoWindow();
|
||||
|
||||
ImGui::TextDisabled("asdfasdf");
|
||||
|
||||
if (ImGui::BeginTable("table1", 3))
|
||||
{
|
||||
for (int row = 0; row < 4; row++)
|
||||
{
|
||||
ImGui::TableNextRow();
|
||||
for (int column = 0; column < 3; column++)
|
||||
{
|
||||
ImGui::TableSetColumnIndex(column);
|
||||
ImGui::Text("Row %d Column %d", row, column);
|
||||
}
|
||||
}
|
||||
ImGui::EndTable();
|
||||
}
|
||||
|
||||
|
||||
VE_POP_FONT();
|
||||
|
||||
|
||||
ImGui::End();
|
||||
}
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@ namespace example
|
||||
VE_OVERIDE();
|
||||
VE_EVENT_OVERIDE();
|
||||
|
||||
ImVec2 m_size = ImVec2{ 400.f, 400.f };
|
||||
ImVec2 m_pos = ImVec2{ 400.f, 400.f };
|
||||
ImVec2 m_size = ImVec2{ 1200.f, 400.f };
|
||||
ImVec2 m_pos = ImVec2{ 1200.f, 400.f };
|
||||
std::string m_key;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user