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; |
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 |
|
|
64 |
#endif // MISC_H |
#endif // MISC_H |