Diff of /trunk/src/misc.h

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

src/misc.h revision 1 by harbaum, Tue Dec 9 20:06:06 2008 UTC trunk/src/misc.h revision 200 by harbaum, Thu Jul 9 11:44:27 2009 UTC
# Line 20  Line 20 
20  #ifndef MISC_H  #ifndef MISC_H
21  #define MISC_H  #define MISC_H
22    
23  #define MISC_AGAIN_ID_DELETE          (1<<0)  #define MISC_AGAIN_ID_DELETE           (1<<0)
24  #define MISC_AGAIN_ID_JOIN_NODES      (1<<1)  #define MISC_AGAIN_ID_JOIN_NODES       (1<<1)
25  #define MISC_AGAIN_ID_JOIN_WAYS       (1<<2)  #define MISC_AGAIN_ID_JOIN_WAYS        (1<<2)
26  #define MISC_AGAIN_ID_OVERWRITE_TAGS  (1<<3)  #define MISC_AGAIN_ID_OVERWRITE_TAGS   (1<<3)
27  #define MISC_AGAIN_ID_EXTEND_WAY      (1<<4)  #define MISC_AGAIN_ID_EXTEND_WAY       (1<<4)
28  #define MISC_AGAIN_ID_EXTEND_WAY_END  (1<<5)  #define MISC_AGAIN_ID_EXTEND_WAY_END   (1<<5)
29    #define MISC_AGAIN_ID_EXPORT_OVERWRITE (1<<6)
30    
31  typedef struct file_chain_s {  typedef struct file_chain_s {
32    char *name;    char *name;
# Line 50  gboolean yes_no_f(GtkWidget *parent, Line 51  gboolean yes_no_f(GtkWidget *parent,
51  char *find_file(char *name);  char *find_file(char *name);
52  file_chain_t *file_scan(char *pattern);  file_chain_t *file_scan(char *pattern);
53    
54    /* dialog size are specified rather fuzzy */
55    #define MISC_DIALOG_NOSIZE  -1
56    #define MISC_DIALOG_SMALL    0
57    #define MISC_DIALOG_MEDIUM   1
58    #define MISC_DIALOG_LARGE    2
59    #define MISC_DIALOG_WIDE     3
60    #define MISC_DIALOG_HIGH     4
61    
62    GtkWidget *misc_dialog_new(guint hint, const char *title, GtkWindow *parent, ...);
63    GtkWidget *misc_scrolled_window_new(gboolean etched_in);
64    void misc_scrolled_window_add_with_viewport(GtkWidget *win, GtkWidget *child);
65    const char *misc_get_proxy_uri(settings_t *settings);
66  #endif // MISC_H  #endif // MISC_H

Legend:
Removed from v.1  
changed lines
  Added in v.200