GDS-Render v1.2.1
|
Data Structures | |
struct | _LayerElementPriv |
struct | _LayerElement |
struct | layer_element_dnd_data |
This structure holds the necessary data to set up a LayerElement for Drag'n'Drop. More... | |
Macros | |
#define | TYPE_LAYER_ELEMENT (layer_element_get_type()) |
Typedefs | |
typedef struct _LayerElementPriv | LayerElementPriv |
Functions | |
GtkWidget * | layer_element_new (void) |
Create new layer element object. More... | |
const char * | layer_element_get_name (LayerElement *elem) |
get name of the layer More... | |
void | layer_element_set_name (LayerElement *elem, const char *name) |
layer_element_set_name More... | |
void | layer_element_set_layer (LayerElement *elem, int layer) |
Set layer number for this layer. More... | |
int | layer_element_get_layer (LayerElement *elem) |
Get layer number. More... | |
void | layer_element_set_export (LayerElement *elem, gboolean export) |
Set export flag for this layer. More... | |
gboolean | layer_element_get_export (LayerElement *elem) |
Get export flag of layer. More... | |
void | layer_element_get_color (LayerElement *elem, GdkRGBA *rgba) |
Get color of layer. More... | |
void | layer_element_set_color (LayerElement *elem, GdkRGBA *rgba) |
Set color of layer. More... | |
void | layer_element_set_dnd_callbacks (LayerElement *elem, struct layer_element_dnd_data *data) |
Setup drag and drop of elem for use in the LayerSelector. More... | |
static void | layer_element_dispose (GObject *obj) |
static void | layer_element_constructed (GObject *obj) |
static void | layer_element_class_init (LayerElementClass *klass) |
static void | layer_element_init (LayerElement *self) |
#define TYPE_LAYER_ELEMENT (layer_element_get_type()) |
Definition at line 42 of file layer-element.h.
typedef struct _LayerElementPriv LayerElementPriv |
|
static |
|
static |
|
static |
void layer_element_get_color | ( | LayerElement * | elem, |
GdkRGBA * | rgba | ||
) |
Get color of layer.
elem | Layer Element |
rgba | RGBA color |
Definition at line 123 of file layer-element.c.
gboolean layer_element_get_export | ( | LayerElement * | elem | ) |
Get export flag of layer.
elem | Layer Element |
Definition at line 118 of file layer-element.c.
int layer_element_get_layer | ( | LayerElement * | elem | ) |
Get layer number.
elem | Layer Element |
Definition at line 108 of file layer-element.c.
const char * layer_element_get_name | ( | LayerElement * | elem | ) |
get name of the layer
elem | Layer element |
Definition at line 87 of file layer-element.c.
|
static |
Definition at line 63 of file layer-element.c.
GtkWidget * layer_element_new | ( | void | ) |
Create new layer element object.
Definition at line 82 of file layer-element.c.
void layer_element_set_color | ( | LayerElement * | elem, |
GdkRGBA * | rgba | ||
) |
Set color of layer.
elem | Layer Element |
rgba | RGBA color |
Definition at line 131 of file layer-element.c.
void layer_element_set_dnd_callbacks | ( | LayerElement * | elem, |
struct layer_element_dnd_data * | data | ||
) |
Setup drag and drop of elem
for use in the LayerSelector.
elem | Layer element to set up |
data | Data array containing the necessary callbacks etc. for drag and drop. |
Definition at line 139 of file layer-element.c.
void layer_element_set_export | ( | LayerElement * | elem, |
gboolean | export | ||
) |
Set export flag for this layer.
elem | Layer Element |
export | flag |
Definition at line 113 of file layer-element.c.
void layer_element_set_layer | ( | LayerElement * | elem, |
int | layer | ||
) |
Set layer number for this layer.
elem | Layer element |
layer | Layer number |
Definition at line 97 of file layer-element.c.
void layer_element_set_name | ( | LayerElement * | elem, |
const char * | name | ||
) |
layer_element_set_name
elem | set the name of the layer |
name | Name. Can be freed after call to this function |
Definition at line 92 of file layer-element.c.