Go to the documentation of this file.
53 #define MAX_ICON_SPACES 10
77 #define ROTATE_RIGHT(c) if ((c) & 01) (c) = ((c) >>1) + 0x80000000; else (c) >>= 1;
144 int nx, ny, iscale, factor;
310 int x, y, wx, wy, w, h;
313 pbar = gtk_progress_bar_new();
320 gtk_widget_show(
pbar);
322 }
else if (start == total) {
329 gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(
pbar), (
float)start / end);
330 while (gtk_events_pending()) {
331 gtk_main_iteration();
354 int scaled_image_size;
382 #include "../../pixmaps/question.xpm"
385 gdk_pixbuf_new_from_xpm_data((
const gchar **)question_xpm);
387 gdk_pixbuf_new_from_xpm_data((
const gchar **)question_xpm);
int create_and_rescale_image_from_data(Cache_Entry *ce, int pixmap_num, guint8 *rgba_data, int width, int height)
static void create_map_image(guint8 *data, PixmapInfo *pi)
static void create_icon_image(guint8 *data, PixmapInfo *pi)
GdkPixbuf * full_icon_image
void reset_image_data(void)
PixmapInfo * pixmaps[MAXPIXMAPNUM]
static void free_pixmap(PixmapInfo *pi)
static void create_full_icon_image(guint8 *data, PixmapInfo *pi)
#define DEFAULT_IMAGE_SIZE
void get_map_image_size(int face, guint8 *w, guint8 *h)
void reset_image_cache_data(void)
int associate_cache_entry(Cache_Entry *ce, int pixnum)
void do_new_image(guint8 *data, PixmapInfo *pi)
void get_window_coord(GtkWidget *win, int *x, int *y, int *wx, int *wy, int *w, int *h)
gint16 want_config[CONFIG_NUMS]
static const int icon_rescale_factor[MAX_ICON_SPACES]
void addsmooth(guint16 face, guint16 smooth_face)
void init_image_cache_data(void)
cairo_surface_t * rgba_to_cairo_surface(guint8 *data, int width, int height)
void init_common_cache_data(void)
void image_update_download_status(int start, int end, int total)
gint16 use_config[CONFIG_NUMS]
GdkPixbuf * rgba_to_gdkpixbuf(guint8 *data, int width, int height)
guint8 * rescale_rgba_data(guint8 *data, int *width, int *height, int scale)
static GtkWidget * pbar_window
#define CONFIG_DISPLAYMODE