virtual int grab_event(XEvent *event) { return 0; };
virtual void create_objects() { return; };
+ static void init_resources(float scale);
+ static void finit_resources();
int get_window_type() { return window_type; }
// Wait until event loop is running
void init_wait();
int allocate_color_table();
int init_gc();
int init_fonts();
+ void init_glyphs();
void init_xft();
void init_im();
void finit_im();
// Whether the window has the focus
int has_focus;
- static BC_Resources resources;
+ static BC_Resources *resources;
#ifndef SINGLE_THREAD
// Array of repeaters for multiple repeating objects.