GDS-Render v1.2.1
layer-element.c File Reference

Implementation of the layer element used for configuring layer colors etc. More...

#include <gds-render/widgets/layer-element.h>
#include <glib/gi18n.h>
Include dependency graph for layer-element.c:

Go to the source code of this file.

Functions

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)
 
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...
 

Detailed Description

Implementation of the layer element used for configuring layer colors etc.

Author
Mario Hüttel mario.nosp@m..hue.nosp@m.ttel@.nosp@m.gmx..nosp@m.net

Definition in file layer-element.c.