48#include <mach-o/getsect.h>
55 extern const unsigned char _section$__DATA__ ## NAME [];
56#define LDVAR(NAME) _section$__DATA__ ## NAME
57#define LDLEN(NAME) (getsectbyname("__DATA", "__" #NAME)->size)
59#elif (defined __WIN32__)
63 extern const unsigned char _binary_ ## NAME ## _start[]; \
64 extern const unsigned char _binary_ ## NAME ## _end[];
66 _binary_ ## NAME ## _start
68 ((_binary_ ## NAME ## _end) - (_binary_ ## NAME ## _start))
73 extern const unsigned char _binary_ ## NAME ## _start[]; \
74 extern const unsigned char _binary_ ## NAME ## _end[];
76 _binary_ ## NAME ## _start
78 ((_binary_ ## NAME ## _end) - (_binary_ ## NAME ## _start))
84 extern const unsigned char NAME;
86 (const unsigned char*)&NAME
109#include "xresources.h"
binary_stream - struct definition to read binary data into cairo surface
const unsigned char * data
void widget_get_png_from_file(Widget_t *w, const char *filename)
widget_get_png_from_file - read png from file into Widget_t xlib surface
void widget_get_scaled_png_from_file(Widget_t *w, const char *filename)
widget_get_scaled_png_from_file - read scaled png into Widget_t xlib surface
void widget_get_scaled_png(Widget_t *w, const unsigned char *name)
widget_get_scaled_png - read scaled png into Widget_t xlib surface
void widget_get_png(Widget_t *w, const unsigned char *name)
widget_get_png - read png into Widget_t xlib surface
cairo_surface_t * surface_get_png(Widget_t *w, cairo_surface_t *sf, const unsigned char *name)
surface_get_png - read png into Widget_t xlib surface
void widget_set_icon_from_png(Widget_t *w, const unsigned char *name)
widget_set_icon_from_png - set icon image from png binary to Widget_t those icon will be used in the ...
void widget_set_icon_from_surface(Widget_t *w, cairo_surface_t *image)
widget_set_icon_from_surface - set icon image from cairo surface for Widget_t those icon will be used...
cairo_surface_t * cairo_image_surface_create_from_stream(const unsigned char *name)
cairo_image_surface_create_from_stream - read binary data into cairo surface from stream
void widget_get_surface_ptr(Widget_t *w, Widget_t *wid)
widget_get_surface_ptr - set pointer to a 2. Widget_t xlib surface
This file contains definitions and structs used on all platforms. Platform specific definitions are l...