summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2014-09-23 18:36:34 +0200
committerJonas Suhr Christensen <jsc@umbraculum.org>2014-09-23 18:36:34 +0200
commit6f0edf4dbb11278f5cce9506b3af2b7940b45824 (patch)
tree1a418c264e8175b2521c20d8c66bf241a401e4fc
parent28947d69c2babe1e2eb347ed01d0928ed05eac2d (diff)
Added features (Needs testing on Windows 7):
* Filtering out hidden and system files. * GUI configuration file to save values from session to session.
-rw-r--r--plugingui/plugingui.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugingui/plugingui.cc b/plugingui/plugingui.cc
index 2dd93f9..b235af3 100644
--- a/plugingui/plugingui.cc
+++ b/plugingui/plugingui.cc
@@ -82,11 +82,11 @@ static void knobChange2(void *ptr)
#endif
}
-static void quit(void *ptr) {
- PluginGUI *gui = (PluginGUI*)ptr;
-
- gui->stopThread();
-}
+//static void quit(void *ptr) {
+// PluginGUI *gui = (PluginGUI*)ptr;
+//
+// gui->stopThread();
+//}
GUI::FileBrowser *fb;
static void selectKitFile(void *ptr, std::string filename)
@@ -450,11 +450,11 @@ void PluginGUI::init()
fb = filebrowser;
// Enable quit button
- GUI::Button *btn_quit = new GUI::Button(window);
- btn_quit->setText("Quit");
- btn_quit->move(50,280);
- btn_quit->resize(80,80);
- btn_quit->registerClickHandler(quit, this);
+// GUI::Button *btn_quit = new GUI::Button(window);
+// btn_quit->setText("Quit");
+// btn_quit->move(50,280);
+// btn_quit->resize(80,80);
+// btn_quit->registerClickHandler(quit, this);
window->show();