Commit Graph

348 Commits

Author SHA1 Message Date
Mario Hüttel 4b238c55ea Replace 0 by 0.0 for double value comparison. This is nicer. 2019-08-20 22:42:44 +02:00
Mario Hüttel 85f037ce59 Fix #19: Renderers are now implemented as objects. Implementation of asynchronous functionality can begin. Feature needs further testing to be considered stable 2019-08-20 19:05:14 +02:00
Mario Hüttel 92506485e0 Output renderer base class: Fix wrong assigned property name 2019-08-20 19:03:59 +02:00
Mario Hüttel 3ec91ab322 Cairo Renderer: Fix bug introduced in 3ffd63115f due to the introduction of the LayerSettings class 2019-08-20 19:01:03 +02:00
Mario Hüttel a38946b803 LayerSelector: Rewrite layer_selector_export_rendered_layer_info() to return LayerSettings object. 2019-08-20 18:12:40 +02:00
Mario Hüttel 943e924337 gds-parser.h: Fix typo 2019-08-20 18:12:09 +02:00
Mario Hüttel e0f2e7d605 gds-parser.h: Fix psoition of ifdef guards compared to doxygen group 2019-08-20 18:11:38 +02:00
Mario Hüttel bd64e13d87 GUI: render callback: Remove unnecessary variable layer_list 2019-08-20 18:09:15 +02:00
Mario Hüttel 0123385b40 Command line: Improve code style in function 2019-08-20 18:08:15 +02:00
Mario Hüttel a4f9be1ef4 Add async rendering option. Not yet functional 2019-08-19 20:39:25 +02:00
Mario Hüttel 731e377b6e Implement new layer rendering object and add it to the CLI. 2019-08-19 19:54:53 +02:00
Mario Hüttel 0d0b692960 Fix memory leak in color palette due to missing dispose function 2019-08-19 19:52:50 +02:00
Mario Hüttel c2323ab43d Fix typo 2019-08-19 19:51:40 +02:00
Mario Hüttel 17c9d088cc Merge branch 'master' into output-renderer-rework 2019-07-03 21:35:18 +02:00
Mario Hüttel 5f40f148b6 Update doxygen: Windows compilation 2019-07-03 21:33:16 +02:00
Mario Hüttel 86566a038f Update version information in Compilation doxygen site 2019-07-03 21:14:17 +02:00
Mario Hüttel 4ca1f75813 Fix typo 2019-06-22 14:20:00 +02:00
Mario Hüttel 4d2f3b0d70 Issue #19: Restructure code 2019-06-22 14:17:08 +02:00
Mario Hüttel ed37fc0222 Issue #19: Fix bug in Latex renderer 2019-06-22 14:16:51 +02:00
Mario Hüttel d4f14c52ed Issue #19: Replace g_errors because these errors are not fatal 2019-06-22 14:04:11 +02:00
Mario Hüttel 58d3f5c57c Fix function prototype description for external renderer 2019-06-22 14:03:33 +02:00
Mario Hüttel 2510a54aac Fix compiler warning about uninitialized variable 2019-06-22 01:28:58 +02:00
Mario Hüttel 02a59c4cc5 Merge branch 'dev' into output-renderer-rework 2019-06-22 01:27:25 +02:00
Mario Hüttel 40c4c8b4fb Fix compiler warning about uninitialized variable 2019-06-22 01:27:03 +02:00
Mario Hüttel 01c9701492 Issue #19: Implement first draft of command line rendering (synchronous-mode). Not yet fully tested!! 2019-06-22 01:21:26 +02:00
Mario Hüttel 01ab56e07a Issue #19: Remove unused variable from layer settings 2019-06-22 01:20:45 +02:00
Mario Hüttel 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
Mario Hüttel 31c4efe99b Update GUI image in doxygen documentation to show new button style 2019-06-19 20:57:07 +02:00
Mario Hüttel f5bc8de86e Issue #19: Edit usage site in doxygen because the command line parameters have severly changed 2019-06-19 20:50:12 +02:00
Mario Hüttel d107954859 Issue #19: Finish integration of renderers to into command line interface 2019-06-19 20:47:19 +02:00
Mario Hüttel 5c994f892a Issue #19: Implement CairoRenderer as GObject 2019-06-19 19:21:20 +02:00
Mario Hüttel 96f1347b2c Issue #19: rename renderer source files and implement latex renderer new functions 2019-06-19 19:01:40 +02:00
Mario Hüttel 2d2ca67c48 Issue #19: Move LaTeX Renderer to GObject 2019-06-18 21:46:43 +02:00
Mario Hüttel d9282d8e5a Issue #19: Add dispose to ExternalRenderer class in order to free the path to the shared object 2019-06-18 21:46:02 +02:00
Mario Hüttel d5f1b2edf4 Issue #19: Implement external_renderer_new_with_so() 2019-06-18 21:10:53 +02:00
Mario Hüttel f224b28613 Issue #19: Add property shared-object-path to ExternalRenderer 2019-06-18 21:08:29 +02:00
Mario Hüttel 7b10d41160 Issue #19: Convert external renderer to GObject. Not yet fully integrated 2019-06-18 19:43:00 +02:00
Mario Hüttel 302d462cda Issue #19:
Create a base class GdsOutputRenderer with a virtual function render_output,
which can be derived by the different output renderers.
2019-06-17 22:59:27 +02:00
Mario Hüttel c146bcd094 Output renderers: Move existing renderers to common folder 2019-06-17 21:50:49 +02:00
Mario Hüttel e6abaddcd1 Cell selector: LibCellRenderer: Update doxygen 2019-06-17 21:40:41 +02:00
Mario Hüttel a35231b9ec Fix #20:
Move all cell selector specific code to a new folder "cell-selector".
2019-06-17 21:32:45 +02:00
Mario Hüttel 24b70eec48 Merge branch 'master' into dev 2019-06-13 23:25:00 +02:00
Mario Hüttel 8ffcba830d Fix #18: Segmentation fault due to a pointer pointing to already freed data. 2019-06-13 23:17:20 +02:00
Mario Hüttel 022d9561db Remove temporary files of fot from doxygen output (DOT_CLEANUP) 2019-06-13 22:28:18 +02:00
Mario Hüttel f5f8509b91 Merge branch 'color-palette-feature' into dev 2019-06-13 22:25:54 +02:00
Mario Hüttel 61f607ac94 Add autocoloring to layer selector. Auto coloring feature now fully implemented. Fix #14 2019-06-13 22:22:59 +02:00
Mario Hüttel ee1b55120f Gui: Add button callback for auto color button 2019-06-13 22:21:35 +02:00
Mario Hüttel 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
Mario Hüttel 3c05b50bc7 Gui: Add color palette object to gui. Will be used in button callback to
fill layer colors automatically.
2019-06-13 22:21:35 +02:00
Mario Hüttel 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