Commit Graph

43 Commits

Author SHA1 Message Date
f6abfada2c ColorPalette: Fix Dispose function
* Set freed pointer to NULL in dispose function because dispose cna be run multiple times. This fixes the case of freeing an already freed pointer.
2020-07-09 23:54:40 +02:00
2d7103abbb Fix doxygen 2019-11-17 14:49:00 +01:00
40a7e5a650 Compilation: Add -Wextra to compile arguments + Fix minor resulting warnings 2019-11-12 18:14:07 +01:00
4e38d8f452 LayerSelector: Add layer_selector_contains_elements() function 2019-11-09 02:18:53 +01:00
2e8e258b49 Style improvements 2019-10-25 21:16:31 +02:00
a65295fbeb remove now unneeded mapping parser completely 2019-09-28 23:16:48 +02:00
9245d68da1 LayerSelector: Use Layer Settings for CSV export. This makes the mapping parser unnecessary. It can be removed 2019-09-28 23:16:48 +02:00
0a04f2fed4 LayerSettings: Fix bug in CSV export function 2019-09-28 23:16:48 +02:00
62388e4053 Remove code from mapping parser that implements csv read. Use LayerSettings class instead. 2019-09-28 23:16:48 +02:00
c365c89908 LayerSelector: Make import of layer information from CSV independed from mapping-parser code. Use LayerSettings class instead. 2019-09-28 23:16:48 +02:00
f20826ccf7 LayerSettings: Fix layer_settings_load_from_csv()
* Add stacked position to layer settings
* Check if layer_settings instance is valid
2019-09-28 23:16:48 +02:00
7cbde0f30a Fixup round for doxygen 2019-09-28 22:57:31 +02:00
9f7e1e1696 Issue #26: Add layer_selector_auto_name_layers() function 2019-08-29 18:19:28 +02:00
3489b74027 Add warning about unused parameters to CMake config and fix code accordingly 2019-08-26 20:01:32 +02:00
7fd8768fd0 Issue #25: Add layer_selector_select_all_layers() function 2019-08-25 23:21:45 +02:00
2af859b136 Fix bug of color palette not working properly, due to uninitialized variable 2019-08-25 21:52:22 +02:00
ea27443b39 Fix #21: Rename layer-info files to layer-settings 2019-08-24 14:17:24 +02:00
cae6a9c6c3 LayerSettings: Fix memory leak: GList of layer infos was not freed. Add
dispose to LayerSettings which takes care of this task.
2019-08-23 21:38:59 +02:00
a38946b803 LayerSelector: Rewrite layer_selector_export_rendered_layer_info() to return LayerSettings object. 2019-08-20 18:12:40 +02:00
0d0b692960 Fix memory leak in color palette due to missing dispose function 2019-08-19 19:52:50 +02:00
01ab56e07a Issue #19: Remove unused variable from layer settings 2019-06-22 01:20:45 +02:00
3ffd63115f Issue #19: Add LayerSettings Class
* Remove Command line and GUI rendering code
* Add LayerSettings Class with all options
* Prepare to remove mapping parser. Is now integrated in LayerSettings
* Adopt all renderers to check if the supplied layer_info struct has to be rendered.

Further todos:
* Implement correct command line parsing.
* Implement Layerselector and GUI to use new LayerSettings class
2019-06-21 21:41:38 +02:00
61f607ac94 Add autocoloring to layer selector. Auto coloring feature now fully implemented. Fix #14 2019-06-13 22:22:59 +02:00
b04788b7d4 Layer selector: Add prototype and empty function body for function that
fills all layers with colors from a given color palette.
2019-06-13 22:21:35 +02:00
dfadaa241e Color palette: Finish implementation
Color palette can now be loaded from a resource containing hexadecimal
RGB values.
2019-06-13 22:21:28 +02:00
e847e691bd Merge branch 'multithread-dev' into color-palette-feature
Get newest changes
2019-06-07 19:35:02 +02:00
0d6b2c7a36 Color palette: Cast unused function parameter 2019-06-07 19:33:53 +02:00
6ae316f459 Edit color palette code 2019-05-28 20:05:13 +02:00
1f7f3118fa Start development of color-palette class 2019-05-20 20:07:45 +02:00
f4de9c4402 Code rework 2019-04-08 18:23:30 +02:00
a3626e7b33 Improve doxygen documentation 2019-03-30 19:51:56 +01:00
e8c7f78af4 Update include file hierarchy: Move include file to central include tree 2019-03-26 19:57:19 +01:00
829c9a2386 Restructure code, improve doxygen documentation 2019-03-25 18:47:12 +01:00
a99a469cf0 Rename functions of mapping parser 2019-03-25 17:56:57 +01:00
008fe52cb2 Rename gds-parser folder to gds-utils because it no longer contains only the parser 2019-03-21 21:24:59 +01:00
67f9d9b4ee Add source for ListBox Drag and Drop 2019-03-18 21:12:47 +01:00
5357aff1b8 Fix bug which allowd moving layer elements between different windows. 2019-03-15 23:46:06 +01:00
64508104bc Move drag and drop code from layer element to layer selector. 2019-03-15 23:17:03 +01:00
45f0d90a87 remove layer-selector-dnd.h file 2019-03-15 18:23:25 +01:00
c94c3d591e rework layer selector. This commit is compilable. Layer selector is now a separate GObject 2019-03-14 23:40:26 +01:00
c9e2c2a76d 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 2019-03-14 21:40:53 +01:00
bb2a4f7f04 Rename layer info deletion function 2019-03-14 21:39:12 +01:00
6b03695824 Restructured Code
* Move layer info struct and associated functions to dedicated c/h files.
* Rename layer selector folder more generic "layer"

Besides from restructuring nothing changes
2019-03-14 21:30:37 +01:00