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:
Linus Torvalds 2011-08-31 12:09:19 -07:00
parent 7017d17562
commit a11dbbdb18
4 changed files with 36 additions and 2 deletions

5
main.c
View file

@ -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);