summaryrefslogtreecommitdiff
path: root/preload.h
blob: 9794686656e4cc6aa20c8b5d0dced2a1424f36f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _PRELOAD_H_
#define _PRELOAD_H_

#include <gdk-pixbuf/gdk-pixbuf.h>
#include <glib.h>
#include <gtk/gtk.h>

struct preload_hash_table_value_t {
	GdkPixbuf *pb, *pb_orig;
	gint width, height;
	gdouble ratio;
};

void preload_init();
void preload_free();
void preload_start_thread(GtkWidget*, gint, gint);
void preload_clear();
void preload_clear_sized();
gpointer preload_get(const gchar*);

#endif