Layer selector: Add prototype and empty function body for function that

fills all layers with colors from a given color palette.
This commit is contained in:
2019-06-13 21:45:10 +02:00
parent 3c05b50bc7
commit b04788b7d4
2 changed files with 19 additions and 0 deletions

View File

@@ -781,4 +781,14 @@ void layer_selector_force_sort(LayerSelector *selector, enum layer_selector_sort
gtk_list_box_set_sort_func(box, NULL, NULL, NULL);
}
void layer_selector_auto_color_layers(LayerSelector *layer_selector, ColorPalette *palette, double global_alpha)
{
if (GDS_RENDER_IS_COLOR_PALETTE(palette) == FALSE || LAYER_IS_SELECTOR(layer_selector) == FALSE)
return;
if (global_alpha <= 0)
return;
}
/** @} */