Diff of /trunk/src/gpxview.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8 by harbaum, Thu Jun 25 19:08:48 2009 UTC revision 32 by harbaum, Tue Jul 28 13:21:22 2009 UTC
# Line 27  Line 27 
27  // these are on maemo fremantle  // these are on maemo fremantle
28  #include <hildon/hildon-button.h>  #include <hildon/hildon-button.h>
29  #include <hildon/hildon-text-view.h>  #include <hildon/hildon-text-view.h>
30    #include <hildon/hildon-window-stack.h>
31  #define USE_HILDON_TEXT_VIEW  #define USE_HILDON_TEXT_VIEW
32  #define USE_STACKABLE_WINDOW  #define USE_STACKABLE_WINDOW
33  #define NO_COPY_N_PASTE  #define NO_COPY_N_PASTE
# Line 60  Line 61 
61  #if MAEMO_VERSION_MAJOR >= 5  #if MAEMO_VERSION_MAJOR >= 5
62  #define USE_PANNABLE_AREA  #define USE_PANNABLE_AREA
63  #include <hildon/hildon-pannable-area.h>  #include <hildon/hildon-pannable-area.h>
64    /* panning a gtkhtml view currently doesn't work well */
65    #define PANNABLE_HTML
66  #endif  #endif
67  #endif  #endif
68    
# Line 102  typedef struct { Line 105  typedef struct {
105    pos_t gps;                  /* saved last gps position */    pos_t gps;                  /* saved last gps position */
106    
107    char *image_path;           /* path to cache images in */    char *image_path;           /* path to cache images in */
   gboolean load_images;       /* load images and cache them */  
108    
109    int search;                 /* "search in" items */    int search;                 /* "search in" items */
110    char *search_str;    char *search_str;
# Line 143  typedef struct { Line 145  typedef struct {
145    GtkTextBuffer *active_buffer;    GtkTextBuffer *active_buffer;
146  #endif  #endif
147    
148    #ifdef USE_STACKABLE_WINDOW
149      GtkWidget *export_menu, *tools_menu;
150    #endif
151    
152    /* save result here to be able to "goto" it */    /* save result here to be able to "goto" it */
153    pos_t geomath;    pos_t geomath;
154    
# Line 208  typedef struct { Line 214  typedef struct {
214  #include "precpos.h"  #include "precpos.h"
215  #include "garmin_export.h"  #include "garmin_export.h"
216    
217    #ifdef ENABLE_OSM_GPS_MAP
218    #include "map-tool.h"
219    #endif
220    
221  #ifdef USE_MAEMO  #ifdef USE_MAEMO
222  #include "dbus.h"  #include "dbus.h"
223  #endif  #endif
# Line 238  extern void main_after_settings_redraw(a Line 248  extern void main_after_settings_redraw(a
248  #include <stdarg.h>  #include <stdarg.h>
249  extern void errorf(const char *fmt, ...);  extern void errorf(const char *fmt, ...);
250  extern gboolean on_window_key_press(GtkWidget *widget,  extern gboolean on_window_key_press(GtkWidget *widget,
251                                      GdkEventKey *event, gpointer data);                                      GdkEventKey *event, appdata_t *appdata);
252  #ifdef USE_STACKABLE_WINDOW  #ifdef USE_STACKABLE_WINDOW
253  HildonAppMenu *menu_create(appdata_t *appdata, int mode);  HildonAppMenu *menu_create(appdata_t *appdata, int mode);
254  #endif  #endif

Legend:
Removed from v.8  
changed lines
  Added in v.32