5 #include "bcresources.inc"
6 #include "bcwindowbase.inc"
20 // Must set path of resource file before loading first image.
21 // Path defaults to executable path.
22 void set_path(char *path
);
24 // These create image sets which are stored in the set table.
25 // Takes comma delimited char* pointers to filenames.
26 VFrame
** new_image_set(int total
, ...);
27 VFrame
** new_button(char *overlay_path
,
31 VFrame
** new_button(char *overlay_path
,
35 VFrame
** new_toggle(char *overlay_path
,
40 char *checkedhi_path
);
41 VFrame
** new_toggle(char *overlay_path
,
47 // Decompresses image and puts on images table before returning it.
48 VFrame
* new_image(char *title
);
49 // Verify all images have been used after initialization.
53 BC_Resources
* get_resources();
56 void overlay(VFrame
*dst
, VFrame
*src
, int in_x1
= -1, int in_x2
= -1);
60 // Loads compressed data into temporary
61 unsigned char* get_image_data(char *title
);
63 // Decompressed image storage
64 ArrayList
<VFrame
*> images
;
65 ArrayList
<BC_ThemeSet
*> image_sets
;
68 // Compressed images are loaded in here.
70 char *contents_buffer
;
71 ArrayList
<char*> contents
;
72 ArrayList
<int> offsets
;
81 BC_ThemeSet(int total
);