mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add fake 'info' frame contents
It should have depth, time, place etc information, but right now it only has a fake depth that doesn't even get updated. Just to show the idea of the table usage. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
7017d17562
commit
a11dbbdb18
4 changed files with 36 additions and 2 deletions
5
main.c
5
main.c
|
@ -94,9 +94,12 @@ int main(int argc, char **argv)
|
|||
/* Frame for dive profile */
|
||||
frame = dive_profile_frame();
|
||||
gtk_table_attach_defaults(GTK_TABLE(table), frame, 1, 2, 1, 2);
|
||||
|
||||
dive_profile = frame;
|
||||
|
||||
/* Frame for dive info */
|
||||
frame = dive_info_frame();
|
||||
gtk_table_attach_defaults(GTK_TABLE(table), frame, 1, 2, 0, 1);
|
||||
|
||||
gtk_widget_set_app_paintable(win, TRUE);
|
||||
gtk_widget_show_all(win);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue