From e5f228b3c99fbcb076f15ade7cd1989a91e23a29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 2 Jul 2017 11:41:37 -0700 Subject: [PATCH] Cleanup. --- examples/common/example-glue.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/examples/common/example-glue.cpp b/examples/common/example-glue.cpp index 73072a8c8..ca85e0886 100644 --- a/examples/common/example-glue.cpp +++ b/examples/common/example-glue.cpp @@ -50,17 +50,22 @@ void showExampleDialog(entry::AppI* _app) cmdExec(command); } - if (ImGui::Button("Restart") ) + if (ImGui::Button(ICON_FA_REPEAT " Restart" ) ) { cmdExec("app restart"); } ImGui::SameLine(); - if (ImGui::Button("Next") ) + if (ImGui::Button(ICON_KI_NEXT " Next") ) { cmdExec("app restart next"); } + ImGui::SameLine(0.0f, 25.0f); + if (ImGui::Button(ICON_KI_EXIT " Exit") ) + { + cmdExec("exit"); + } } #if 0