Issue #25: Add layer_selector_select_all_layers() function

This commit is contained in:
2019-08-25 23:21:45 +02:00
parent c77c08299f
commit 7fd8768fd0
2 changed files with 28 additions and 0 deletions

View File

@@ -92,6 +92,13 @@ LayerSettings *layer_selector_export_rendered_layer_info(LayerSelector *selector
*/
void layer_selector_force_sort(LayerSelector *selector, enum layer_selector_sort_algo sort_function);
/**
* @brief Set 'export' value of all layers in the LayerSelector to the supplied select value
* @param layer_selector LayerSelector object
* @param select
*/
void layer_selector_select_all_layers(LayerSelector *layer_selector, gboolean select);
/**
* @brief Apply colors from palette to all layers. Aditionally set alpha
* @param layer_selector LayerSelector object