2014-07-24 12:47:35 -07:00
|
|
|
#ifndef EFL_EXAMPLE_EOLIAN_CXX_COLOURABLE_STUB_H
|
|
|
|
#define EFL_EXAMPLE_EOLIAN_CXX_COLOURABLE_STUB_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
struct _Colourable_Data
|
|
|
|
{
|
|
|
|
int r;
|
|
|
|
int g;
|
|
|
|
int b;
|
|
|
|
};
|
|
|
|
typedef struct _Colourable_Data Colourable_Data;
|
|
|
|
|
2014-09-12 12:12:04 -07:00
|
|
|
void _colourable_eo_base_constructor(Eo *obj, Colourable_Data *self);
|
|
|
|
void _colourable_eo_base_destructor(Eo *obj, Colourable_Data *self);
|
2014-07-24 12:47:35 -07:00
|
|
|
void _colourable_rgb_24bits_constructor(Eo *obj, Colourable_Data *self, int rgb);
|
|
|
|
void _colourable_print_colour(Eo *obj, Colourable_Data *self);
|
|
|
|
void _colourable_print_colour(Eo *obj, Colourable_Data *self);
|
|
|
|
int _colourable_colour_mask(Eo *obj, Colourable_Data *self, int mask);
|
|
|
|
void _colourable_composite_colour_get(Eo *obj, Colourable_Data *self, int* r, int* g, int* b);
|
|
|
|
void _colourable_composite_colour_set(Eo *obj, Colourable_Data *self, int r, int g, int b);
|
|
|
|
int _colourable_colour_get(Eo *obj, Colourable_Data *self);
|
|
|
|
void _colourable_colour_set(Eo *obj, Colourable_Data *self, int rgb);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // EFL_EXAMPLE_EOLIAN_CXX_COLOURABLE_STUB_H
|