GDS-Render v1.2.1
|
Implementation of the Layer selection list. More...
#include <gtk/gtk.h>
#include <glib.h>
#include <gds-render/layer/color-palette.h>
#include <gds-render/layer/layer-settings.h>
Go to the source code of this file.
Macros | |
#define | TYPE_LAYER_SELECTOR (layer_selector_get_type()) |
Enumerations | |
enum | layer_selector_sort_algo { LAYER_SELECTOR_SORT_DOWN = 0 , LAYER_SELECTOR_SORT_UP } |
Defines how to sort the layer selector list box. More... | |
Functions | |
G_BEGIN_DECLS | G_DECLARE_FINAL_TYPE (LayerSelector, layer_selector, LAYER, SELECTOR, GObject) |
LayerSelector * | layer_selector_new (GtkListBox *list_box) |
layer_selector_new More... | |
void | layer_selector_generate_layer_widgets (LayerSelector *selector, GList *libs) |
Generate layer widgets in in the LayerSelector instance. More... | |
void | layer_selector_set_load_mapping_button (LayerSelector *selector, GtkWidget *button, GtkWindow *main_window) |
Supply button for loading the layer mapping. More... | |
void | layer_selector_set_save_mapping_button (LayerSelector *selector, GtkWidget *button, GtkWindow *main_window) |
Supply button for saving the layer mapping. More... | |
LayerSettings * | layer_selector_export_rendered_layer_info (LayerSelector *selector) |
Get a list of all layers that shall be exported when rendering the cells. More... | |
void | layer_selector_force_sort (LayerSelector *selector, enum layer_selector_sort_algo sort_function) |
Force the layer selector list to be sorted according to sort_function . More... | |
void | layer_selector_select_all_layers (LayerSelector *layer_selector, gboolean select) |
Set 'export' value of all layers in the LayerSelector to the supplied select value. More... | |
void | layer_selector_auto_color_layers (LayerSelector *layer_selector, ColorPalette *palette, double global_alpha) |
Apply colors from palette to all layers. Aditionally set alpha. More... | |
void | layer_selector_auto_name_layers (LayerSelector *layer_selector, gboolean overwrite) |
Auto name all layers in the layer selector. More... | |
gboolean | layer_selector_contains_elements (LayerSelector *layer_selector) |
Check if the given layer selector contains layer elements. More... | |
size_t | layer_selector_num_of_named_elements (LayerSelector *layer_selector) |
Get number of layer elements that are named. More... | |
Implementation of the Layer selection list.
Definition in file layer-selector.h.