summaryrefslogtreecommitdiffstats
path: root/src/ui/uxmanager.h
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2010-01-10 11:22:05 +0000
committerJon A. Cruz <jon@joncruz.org>2010-01-10 11:22:05 +0000
commit7d549f19e53f6bb1b157f04a1cffb69d8f910ec5 (patch)
tree30b3624b86b22bb8422852d1508a0386367c015c /src/ui/uxmanager.h
parentAvoid crash by uninitialized perspectives. (diff)
downloadinkscape-7d549f19e53f6bb1b157f04a1cffb69d8f910ec5.tar.gz
inkscape-7d549f19e53f6bb1b157f04a1cffb69d8f910ec5.zip
Completed base code to flip toolbox orientation.
Basic integration of task switching control. (bzr r8963)
Diffstat (limited to 'src/ui/uxmanager.h')
-rw-r--r--src/ui/uxmanager.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/ui/uxmanager.h b/src/ui/uxmanager.h
index c8b077a57..862c675d0 100644
--- a/src/ui/uxmanager.h
+++ b/src/ui/uxmanager.h
@@ -11,11 +11,20 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
+#include <glib.h>
#include <vector>
-typedef struct _GtkWidget GtkWidget;
+extern "C"
+{
+ typedef struct _GObject GObject;
+ typedef struct _GtkWidget GtkWidget;
+}
+
class SPDesktop;
+struct SPDesktopWidget;
+
+
namespace Inkscape {
namespace UI {
@@ -25,8 +34,13 @@ public:
static UXManager* getInstance();
virtual ~UXManager();
+ void addTrack( SPDesktopWidget* dtw );
+ void delTrack( SPDesktopWidget* dtw );
+
void connectToDesktop( std::vector<GtkWidget *> const & toolboxes, SPDesktop *desktop );
+ void setTask(SPDesktop* dt, gint val);
+
private:
UXManager();
};