From d74de7f575a9ec49f96138c3c5251f28946c0c0e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 24 Nov 2018 13:44:02 +0100 Subject: Squashed 'waflib/' changes from 6e726eb..5ea8f99 5ea8f99 Improve test output spacing 0e23b29 Raise exception when test suite fails to ensure non-zero exit status d6de073 Show run time of unit tests 5b65554 Add short configure option for ultra-strict flags 4687ba6 Use gtest-like test output 258903d Fix failure count in test group summaries da07e73 Fix verbose tests with Python 3 git-subtree-dir: waflib git-subtree-split: 5ea8f99f6e1246079c1fe6bb590c38a53aadd40d --- ganv/edge.h | 129 ------------------------------------------------------------ 1 file changed, 129 deletions(-) delete mode 100644 ganv/edge.h (limited to 'ganv/edge.h') diff --git a/ganv/edge.h b/ganv/edge.h deleted file mode 100644 index bf0fb14..0000000 --- a/ganv/edge.h +++ /dev/null @@ -1,129 +0,0 @@ -/* This file is part of Ganv. - * Copyright 2007-2015 David Robillard - * - * Ganv 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 3 of the License, or any later version. - * - * Ganv 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 details. - * - * You should have received a copy of the GNU General Public License along - * with Ganv. If not, see . - */ - -#ifndef GANV_EDGE_H -#define GANV_EDGE_H - -#include "ganv/item.h" -#include "ganv/node.h" -#include "ganv/types.h" - -G_BEGIN_DECLS - -#define GANV_TYPE_EDGE (ganv_edge_get_type()) -#define GANV_EDGE(obj) (GTK_CHECK_CAST((obj), GANV_TYPE_EDGE, GanvEdge)) -#define GANV_EDGE_CLASS(klass) (GTK_CHECK_CLASS_CAST((klass), GANV_TYPE_EDGE, GanvEdgeClass)) -#define GANV_IS_EDGE(obj) (GTK_CHECK_TYPE((obj), GANV_TYPE_EDGE)) -#define GANV_IS_EDGE_CLASS(klass) (GTK_CHECK_CLASS_TYPE((klass), GANV_TYPE_EDGE)) -#define GANV_EDGE_GET_CLASS(obj) (GTK_CHECK_GET_CLASS((obj), GANV_TYPE_EDGE, GanvEdgeClass)) - -typedef struct _GanvEdgeClass GanvEdgeClass; -typedef struct _GanvEdgePrivate GanvEdgePrivate; - -struct _GanvEdge { - GanvItem item; - GanvEdgePrivate* impl; -}; - -struct _GanvEdgeClass { - GanvItemClass parent_class; - - /* Reserved for future expansion */ - gpointer spare_vmethods[4]; -}; - -GType ganv_edge_get_type(void) G_GNUC_CONST; - -GanvEdge* -ganv_edge_new(GanvCanvas* canvas, - GanvNode* tail, - GanvNode* head, - const char* first_prop_name, ...); - -gboolean -ganv_edge_is_within(const GanvEdge* edge, - double x1, - double y1, - double x2, - double y2); - -gboolean -ganv_edge_get_curved(const GanvEdge* edge); - -void -ganv_edge_set_curved(GanvEdge* edge, gboolean curved); - -gboolean -ganv_edge_get_constraining(const GanvEdge* edge); - -void -ganv_edge_set_constraining(GanvEdge* edge, gboolean constraining); - -void -ganv_edge_set_selected(GanvEdge* edge, gboolean selected); - -void -ganv_edge_set_highlighted(GanvEdge* edge, gboolean highlighted); - -void -ganv_edge_select(GanvEdge* edge); - -void -ganv_edge_unselect(GanvEdge* edge); - -void -ganv_edge_highlight(GanvEdge* edge); - -void -ganv_edge_unhighlight(GanvEdge* edge); - -/** - * ganv_edge_disconnect: - * - * Disconnect the edge. This will disconnect the edge just as if it had been - * disconnected by the user via the canvas. The canvas disconnect signal will - * be emitted, allowing the application to control disconnect logic. - */ -void -ganv_edge_disconnect(GanvEdge* edge); - -/** - * ganv_edge_remove: - * - * Remove the edge from the canvas. This will only remove the edge visually, - * it will not emit the canvas disconnect signal to notify the application. - */ -void -ganv_edge_remove(GanvEdge* edge); - -/** - * ganv_edge_get_tail: - * - * Return value: (transfer none): The tail of `edge`. - */ -GanvNode* -ganv_edge_get_tail(const GanvEdge* edge); - -/** - * ganv_edge_get_head: - * - * Return value: (transfer none): The head of `edge`. - */ -GanvNode* -ganv_edge_get_head(const GanvEdge* edge); - -G_END_DECLS - -#endif /* GANV_EDGE_H */ -- cgit v1.2.1