mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
8c3d07816f
commit
f31b836836
2 changed files with 242 additions and 37 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue