Compare commits
2 Commits
67f9d9b4ee
...
4c0df56386
Author | SHA1 | Date | |
---|---|---|---|
4c0df56386 | |||
008fe52cb2 |
@ -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}
|
||||
|
@ -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
|
||||
* @{
|
||||
|
@ -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.
|
||||
|
@ -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>
|
||||
|
||||
/**
|
||||
|
@ -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};
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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>
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user