aboutsummaryrefslogtreecommitdiff
path: root/src/presentation.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-11-22 21:04:26 +0100
committerThomas White <taw@bitwiz.org.uk>2011-11-22 21:04:26 +0100
commit4c98abb02ad47d13de2694f2bfe2e994f17b3095 (patch)
treeca3ca222d48f681132b32792a2672c2d8414255a /src/presentation.h
parent096fb6d129ded7b7f72bc5b36c932fd84d45ed22 (diff)
Let tools add stuff to the toolbar
Diffstat (limited to 'src/presentation.h')
-rw-r--r--src/presentation.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/presentation.h b/src/presentation.h
index d766a6d..228d886 100644
--- a/src/presentation.h
+++ b/src/presentation.h
@@ -68,6 +68,8 @@ enum drag_status
struct toolinfo
{
+ GtkWidget *tbox;
+
void (*click_select)(struct presentation *p, struct toolinfo *tip,
double x, double y, GdkEventButton *event,
enum drag_status *drag_status,
@@ -117,6 +119,7 @@ struct presentation
GtkActionGroup *action_group;
GtkIMContext *im_context;
GtkWidget *tbox;
+ GtkWidget *cur_tbox;
/* Pointers to the current "editing" and "projection" slides */
struct slide *cur_edit_slide;