Navit SVN

/work/compile/navit/src/navit/gui/gtk/gui_gtk.h

00001 
00020 #include "coord.h"
00021 
00022 struct menu_methods;
00023 struct datawindow_methods;
00024 struct navit;
00025 struct callback;
00026 struct statusbar_priv;
00027 
00028 struct gui_priv {
00029         struct navit *nav;
00030         GtkWidget *win;
00031         GtkWidget *dialog_win;
00032         GtkWidget *dialog_entry;
00033         struct pcoord dialog_coord;
00034         GtkWidget *vbox;
00035         GtkWidget *menubar;
00036         GtkActionGroup *base_group;
00037         GtkActionGroup *debug_group;
00038         GtkActionGroup *dyn_group;
00039         GtkUIManager *ui_manager;
00040         GSList *layout_group;
00041         GSList *projection_group;
00042         GSList *vehicle_group;
00043         GList *dest_menuitems;
00044         GList *bookmarks_menuitems;
00045         GList *vehicle_menuitems;
00046         GtkUIManager *menu_manager; // old
00047         struct statusbar_priv *statusbar;
00048         int menubar_enable;
00049         int toolbar_enable;
00050         int statusbar_enable;
00051         int dyn_counter;
00052         struct datawindow_priv *datawindow;
00053 };
00054 
00055 void gui_gtk_ui_init(struct gui_priv *this);
00056 struct menu_priv *gui_gtk_menubar_new(struct gui_priv *gui, struct menu_methods *meth);
00057 struct statusbar_priv *gui_gtk_statusbar_new(struct gui_priv *gui);
00058 struct menu_priv *gui_gtk_popup_new(struct gui_priv *gui, struct menu_methods *meth);
00059 struct datawindow_priv *gui_gtk_datawindow_new(struct gui_priv *gui, char *name, struct callback *click, struct callback *close, struct datawindow_methods *meth);
00060 void gui_gtk_datawindow_destroy(struct datawindow_priv *win);
00061 void gui_gtk_datawindow_set_button(struct datawindow_priv *this_, GtkWidget *btn);
00062