From c9e2c2a76d9a3f87545231944e633d1988521295 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Thu, 14 Mar 2019 21:40:53 +0100 Subject: [PATCH] Rename layer selector functions. Attention. This commit breaks the code. Compile a later commit, that implements the full feature set, This starts the reworking of the cell selector as a gobject class --- layer/layer-selector.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/layer/layer-selector.h b/layer/layer-selector.h index 968e441..c8473d2 100644 --- a/layer/layer-selector.h +++ b/layer/layer-selector.h @@ -28,7 +28,6 @@ #include #include -#include "../mapping-parser.h" /** * @brief Defines how to sort the layer selector list box. @@ -39,29 +38,29 @@ enum layer_selector_sort_algo {LAYER_SELECTOR_SORT_DOWN = 0, LAYER_SELECTOR_SORT * @brief Generate layer widgets in \p listbox * @note This clears all previously inserted elements * @param listbox - * @param libs The library to add + * @param libs The libraries to add */ -void generate_layer_widgets(GtkListBox *listbox, GList *libs); +void layer_selector_generate_layer_widgets(GtkListBox *listbox, GList *libs); /** * @brief Supply button for loading the layer mapping * @param button * @param main_window Parent window for dialogs */ -void setup_load_mapping_callback(GtkWidget *button, GtkWindow *main_window); +void layer_selector_set_load_mapping_button(GtkWidget *button, GtkWindow *main_window); /** * @brief Supply button for saving the layer mapping * @param button - * @param main_window + * @param main_window Parent window for dialogs */ -void setup_save_mapping_callback(GtkWidget *button, GtkWindow *main_window); +void layer_selector_set_save_mapping_button(GtkWidget *button, GtkWindow *main_window); /** * @brief get the layer information present in the listbox of the selector * @return List with layer_info elements */ -GList *export_rendered_layer_info(void); +GList *layer_selector_export_rendered_layer_info(void); /** * @brief Force sorting of the layer selector in a specified way