Compare commits

...

2 Commits

15 changed files with 18 additions and 13 deletions

View File

@ -16,7 +16,7 @@ add_definitions(${GLIB2_CFLAGS_OTHER})
aux_source_directory("widgets" LAYER_SOURCES)
aux_source_directory("tree-renderer" RENDERER_SOURCES)
aux_source_directory("gds-parser" PARSER_SOURCES)
aux_source_directory("gds-utils" GDS_SOURCES)
aux_source_directory("latex-output" LATEX_SOURCES)
aux_source_directory("cairo-output" CAIRO_SOURCES)
aux_source_directory("trigonometric" TRIG_SOURCES)
@ -27,7 +27,7 @@ set(SOURCE
${SOURCE}
${LAYER_SOURCES}
${RENDERER_SOURCES}
${PARSER_SOURCES}
${GDS_SOURCES}
${LATEX_SOURCES}
${CAIRO_SOURCES}
${TRIG_SOURCES}

View File

@ -25,7 +25,7 @@
#define __CAIRO_OUTPUT_H__
#include "../layer/layer-info.h"
#include "../gds-parser/gds-types.h"
#include "../gds-utils/gds-types.h"
/** @addtogroup Cairo-Renderer
* @{

View File

@ -30,13 +30,13 @@
#include <stdio.h>
#include "command-line.h"
#include "gds-parser/gds-parser.h"
#include "gds-utils/gds-parser.h"
#include "mapping-parser.h"
#include "layer/layer-info.h"
#include "cairo-output/cairo-output.h"
#include "latex-output/latex-output.h"
#include "external-renderer.h"
#include "gds-parser/gds-tree-checker.h"
#include "gds-utils/gds-tree-checker.h"
/**
* @brief Delete layer_info and free nem element.

View File

@ -31,7 +31,7 @@
#ifndef _EXTERNAL_RENDERER_H_
#define _EXTERNAL_RENDERER_H_
#include "gds-parser/gds-types.h"
#include "gds-utils/gds-types.h"
#include <glib.h>
/**

View File

@ -29,7 +29,7 @@
#include "gds-render-gui.h"
#include <stdio.h>
#include "gds-parser/gds-parser.h"
#include "gds-utils/gds-parser.h"
#include <gtk/gtk.h>
#include "layer/layer-selector.h"
#include "tree-renderer/tree-store.h"
@ -39,7 +39,7 @@
#include "trigonometric/cell-trigonometrics.h"
#include "version/version.h"
#include "tree-renderer/lib-cell-renderer.h"
#include "gds-parser/gds-tree-checker.h"
#include "gds-utils/gds-tree-checker.h"
enum gds_render_gui_signal_sig_ids {SIGNAL_WINDOW_CLOSED = 0, SIGNAL_COUNT};

View File

@ -31,7 +31,7 @@
* @{
*/
#include "../gds-parser/gds-types.h"
#include "../gds-utils/gds-types.h"
#include <glib.h>
#include <stdio.h>
#include "../layer/layer-info.h"

View File

@ -30,7 +30,7 @@
#include "layer-selector.h"
#include "layer-info.h"
#include "../gds-parser/gds-parser.h"
#include "../gds-utils/gds-parser.h"
#include "../widgets/layer-element.h"
#include "../mapping-parser.h"
#include <glib.h>

View File

@ -18,7 +18,7 @@
*/
#include "lib-cell-renderer.h"
#include "../gds-parser/gds-types.h"
#include "../gds-utils/gds-types.h"
G_DEFINE_TYPE(LibCellRenderer, lib_cell_renderer, GTK_TYPE_CELL_RENDERER_TEXT)

View File

@ -30,7 +30,7 @@
#include "tree-store.h"
#include "lib-cell-renderer.h"
#include "../gds-parser/gds-types.h"
#include "../gds-utils/gds-types.h"
/**
* @brief this function olny allows cells to be selected
@ -51,6 +51,9 @@ static gboolean tree_sel_func(GtkTreeSelection *selection,
struct gds_cell *cell;
unsigned int error_level;
gboolean ret = FALSE;
(void)selection;
(void)path_currently_selected;
(void)data;
gtk_tree_model_get_iter(model, &iter, path);
gtk_tree_model_get(model, &iter, CELL_SEL_CELL, &cell, CELL_SEL_CELL_ERROR_STATE, &error_level, -1);
@ -112,6 +115,8 @@ exit_filter:
static void change_filter(GtkWidget *entry, gpointer data)
{
struct tree_stores *stores = (struct tree_stores *)data;
(void)entry;
gtk_tree_model_filter_refilter(stores->filter);
}

View File

@ -32,7 +32,7 @@
#define _CELL_TRIGONOMETRICS_H_
#include "bounding-box.h"
#include "../gds-parser/gds-types.h"
#include "../gds-utils/gds-types.h"
/**
* @brief calculate_cell_bounding_box Calculate bounding box of gds cell