4
4
* Generates clickable image maps.
6
* Copyright (C) 1998-2004 Maurits Rijk m.rijk@chello.nl
6
* Copyright (C) 1998-2005 Maurits Rijk m.rijk@chello.nl
8
8
* This program is free software; you can redistribute it and/or modify
9
9
* it under the terms of the GNU General Public License as published by
24
24
#ifndef _IMAP_MISC_H
25
25
#define _IMAP_MISC_H
27
void toolbar_add_space (GtkWidget *toolbar);
28
GtkWidget *make_toolbar_stock_icon(GtkWidget *toolbar, const gchar *stock_id,
29
const char *identifier,
31
void (*callback)(GtkWidget*, gpointer),
33
GtkWidget *make_toolbar_radio_icon(GtkWidget *toolbar, const gchar *stock_id,
34
GtkWidget *prev, const char *identifier,
36
void (*callback)(GtkWidget*, gpointer),
38
GtkWidget *make_toolbar_toggle_icon(GtkWidget *toolbar, const gchar *stock_id,
39
const char *identifier,
41
void (*callback)(GtkWidget*, gpointer),
44
27
void set_sash_size(gboolean double_size);
45
28
void draw_sash(GdkWindow *window, GdkGC *gc, gint x, gint y);
46
29
gboolean near_sash(gint sash_x, gint sash_y, gint x, gint y);
49
DefaultDialog_t *dialog;
53
Alert_t *create_alert(const gchar *stock_id);
54
Alert_t *create_confirm_alert(const gchar *stock_id);
55
void alert_set_text(Alert_t *alert, const char *primary_text,
56
const char *secondary_text);
58
31
#endif /* _IMAP_MISC_H */