prevent popup deactivation while button_down
[goodguy/history.git] / cinelerra-5.0 / cinelerra / interfaceprefs.h
index af0dd61c54dfba4d6cb600331881e1c034df22c0..f422a86fffed099c744df9e18ebf4947454f528c 100644 (file)
@@ -1,7 +1,7 @@
 
 /*
  * CINELERRA
- * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
+ * Copyright (C) 2008-2015 Adam Williams <broadcast at earthling dot net>
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -43,6 +43,7 @@ class ViewThumbnails;
 #include "deleteallindexes.inc"
 #include "mwindow.inc"
 #include "preferencesthread.h"
+#include "shbtnprefs.inc"
 
 
 class InterfacePrefs : public PreferencesDialog
@@ -55,6 +56,7 @@ public:
 // must delete each derived class
        int update(int new_value);
        const char* behavior_to_text(int mode);
+       int start_shbtn_dialog();
 
        BrowseButton *ipath;
        IndexSize *isize;
@@ -76,6 +78,7 @@ public:
 //     MeterVUInt *vu_int;
        ViewBehaviourText *button1, *button2, *button3;
        ViewThumbnails *thumbnails;
+       ShBtnEditDialog *shbtn_dialog;
 };
 
 
@@ -316,4 +319,14 @@ public:
        AndroidPort(PreferencesWindow *pwindow, int x, int y);
 };
 
+class ShBtnPrefs : public BC_GenericButton
+{
+public:
+       PreferencesWindow *pwindow;
+       InterfacePrefs *iface_prefs;
+
+       int handle_event();
+       ShBtnPrefs(PreferencesWindow *pwindow, InterfacePrefs *iface_prefs, int x, int y);
+};
+
 #endif