mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-11-17 21:36:12 +00:00
Added previous/next example control.
This commit is contained in:
@@ -55,13 +55,19 @@ void showExampleDialog(entry::AppI* _app)
|
||||
cmdExec("app restart");
|
||||
}
|
||||
|
||||
ImGui::SameLine();
|
||||
if (ImGui::Button(ICON_KI_PREVIOUS " Prev") )
|
||||
{
|
||||
cmdExec("app restart prev");
|
||||
}
|
||||
|
||||
ImGui::SameLine();
|
||||
if (ImGui::Button(ICON_KI_NEXT " Next") )
|
||||
{
|
||||
cmdExec("app restart next");
|
||||
}
|
||||
|
||||
ImGui::SameLine(0.0f, 25.0f);
|
||||
ImGui::SameLine();
|
||||
if (ImGui::Button(ICON_KI_EXIT " Exit") )
|
||||
{
|
||||
cmdExec("exit");
|
||||
|
||||
Reference in New Issue
Block a user