summaryrefslogtreecommitdiffstats
path: root/display-gtk.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2013-01-05 12:16:02 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-05 15:51:53 -0800
commitf31b8368367346277d25e7dc28b0879749da0d95 (patch)
tree1f657287dfab215ace66eaa7276a537af253ed1c /display-gtk.h
parent8c3d07816fb0c8a6d7aeaa394e5ec677ff26ea26 (diff)
downloadsubsurface-f31b8368367346277d25e7dc28b0879749da0d95.tar.gz
Create the infrastructure for a dive plannder based on a tree-model
This doesn't actually do the real work yet, but it creates all the infrastructure to edit a tree model, and verify the contents for time, depth and gas mix. Now we just need the ability to add entries to the tree model (this adds one fake one, just to test the editing), and then read out the final end result and turn it into a plan. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'display-gtk.h')
-rw-r--r--display-gtk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/display-gtk.h b/display-gtk.h
index 629972434..877822b80 100644
--- a/display-gtk.h
+++ b/display-gtk.h
@@ -127,6 +127,7 @@ typedef gint (*sort_func_t)(GtkTreeModel *model,
#define ALIGN_RIGHT 2
#define INVISIBLE 4
#define UNSORTABLE 8
+#define EDITABLE 16
extern GtkTreeViewColumn *tree_view_column(GtkWidget *tree_view, int index, const char *title,
data_func_t data_func, unsigned int flags);