/* * GDSII-Converter * Copyright (C) 2018 Mario Hüttel * * This file is part of GDSII-Converter. * * GDSII-Converter is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the License. * * GDSII-Converter is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with GDSII-Converter. If not, see . */ #ifndef __LAYER_SELECTOR_H__ #define __LAYER_SELECTOR_H__ #include #include #include "layer-element.h" struct layer_info { int id; /* This contains both: opacity and Color */ GdkRGBA color; }; void generate_layer_widgets(GtkListBox *listbox, GList *libs); void clear_list_box_widgets(); void setup_load_mapping_callback(GtkWidget *button); void setup_save_mapping_callback(GtkWidget *button); void get_layer_info(GList **info_list, GtkListBox *box); #endif /* __LAYER_SELECTOR_H__ */