Added previous/next example control.

This commit is contained in:
Branimir Karadžić
2017-07-02 20:17:21 -07:00
parent 1e0e2555dc
commit e5426f78f5
2 changed files with 45 additions and 10 deletions
+7 -1
View File
@@ -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");