00001 00011 #ifndef GITKR_INCLUDES_H 00012 #define GITKR_INCLUDES_H 00013 00014 //-- global includes ----------------------------------------------------------- 00015 00016 #include "config.h" 00017 #include <libgitk/gitk.h> 00018 00019 #include <gtk/gtk.h> 00020 00021 //-- general widget structure -------------------------------------------------- 00022 00024 typedef struct GitkrGtkWidget GitkrGtkWidget; 00026 typedef GitkrGtkWidget *GitkrGtkWidgetPtr; 00030 struct GitkrGtkWidget { 00031 GitkWidgetFields 00032 GtkWidget *impl; 00033 }; 00034 00035 //-- layout structure ---------------------------------------------------------- 00036 00038 typedef struct GitkrGtkLayoutPage GitkrGtkLayoutPage; 00040 typedef GitkrGtkLayoutPage *GitkrGtkLayoutPagePtr; 00042 struct GitkrGtkLayoutPage { 00043 GitkrGtkWidgetPtr widgets; 00044 gint widgetsPerPage; 00045 }; 00046 00048 typedef struct GitkrGtkLayout GitkrGtkLayout; 00050 typedef GitkrGtkLayout *GitkrGtkLayoutPtr; 00054 struct GitkrGtkLayout { 00055 GitkLayoutFields 00056 GtkWindow *window; 00057 GitkrGtkWidgetPtr *focused_widget; 00058 GitkrGtkLayoutPage main; 00059 GitkrGtkLayoutPage ctrl; 00060 }; 00061 00062 //-- local includes ------------------------------------------------------------ 00063 00064 #include "gitkrdone.h" 00065 #include "gitkreventloop.h" 00066 #include "gitkrglobal.h" 00067 #include "gitkrhideshow.h" 00068 #include "gitkrinit.h" 00069 #include "gitkrlayout.h" 00070 #include "gitkrrenderer.h" 00071 #include "gitkrthemes.h" 00072 00073 #include "widgets/gitkrw.h" 00074 00075 #include "widgets/gitkrwaction.h" 00076 00077 #include "widgets/gitkrwcharacterinput.h" 00078 00079 #include "widgets/gitkrwoptionchoice.h" 00080 #include "widgets/gitkrwoptionchoiceboolean.h" 00081 00082 #include "widgets/gitkrwlabel.h" 00083 00084 #endif /* GITKR_INCLUDES */