summaryrefslogtreecommitdiffstats
path: root/ganv
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-18 11:55:45 +0200
committerDavid Robillard <d@drobilla.net>2020-07-18 11:56:30 +0200
commitdced6ada2b53c601ed6a90849cd54a78b6485980 (patch)
tree8e637bbde754adfcc767e6571db250e64566d005 /ganv
parentcd07449e306366fe8cc881b469d9a97b17c0c22e (diff)
downloadganv-dced6ada2b53c601ed6a90849cd54a78b6485980.tar.gz
ganv-dced6ada2b53c601ed6a90849cd54a78b6485980.tar.bz2
ganv-dced6ada2b53c601ed6a90849cd54a78b6485980.zip
Remove spurious semicolons
Diffstat (limited to 'ganv')
-rw-r--r--ganv/Canvas.hpp58
-rw-r--r--ganv/Edge.hpp4
-rw-r--r--ganv/Item.hpp16
-rw-r--r--ganv/Module.hpp4
-rw-r--r--ganv/Node.hpp4
-rw-r--r--ganv/Port.hpp4
6 files changed, 45 insertions, 45 deletions
diff --git a/ganv/Canvas.hpp b/ganv/Canvas.hpp
index 8db1f66..d3b2281 100644
--- a/ganv/Canvas.hpp
+++ b/ganv/Canvas.hpp
@@ -56,63 +56,63 @@ public:
GanvItem* root() { return ganv_canvas_root(gobj()); }
- METHOD0(ganv_canvas, clear);
+ METHOD0(ganv_canvas, clear)
METHODRET0(ganv_canvas, gboolean, empty)
- METHOD2(ganv_canvas, resize, double, width, double, height);
- METHOD4(ganv_canvas, set_scroll_region, double, x1, double, y1, double, x2, double, y2);
- METHOD4(ganv_canvas, get_scroll_region, double*, x1, double*, y1, double*, x2, double*, y2);
- METHOD1(ganv_canvas, set_center_scroll_region, gboolean, c);
- METHODRET0(ganv_canvas, gboolean, get_center_scroll_region);
- METHOD2(ganv_canvas, scroll_to, int, x, int, y);
+ METHOD2(ganv_canvas, resize, double, width, double, height)
+ METHOD4(ganv_canvas, set_scroll_region, double, x1, double, y1, double, x2, double, y2)
+ METHOD4(ganv_canvas, get_scroll_region, double*, x1, double*, y1, double*, x2, double*, y2)
+ METHOD1(ganv_canvas, set_center_scroll_region, gboolean, c)
+ METHODRET0(ganv_canvas, gboolean, get_center_scroll_region)
+ METHOD2(ganv_canvas, scroll_to, int, x, int, y)
void get_scroll_offsets(int& cx, int& cy) const {
ganv_canvas_get_scroll_offsets(gobj(), &cx, &cy);
}
- METHOD1(ganv_canvas, w2c_affine, cairo_matrix_t*, matrix);
- METHOD4(ganv_canvas, w2c, double, wx, double, wy, int*, cx, int*, cy);
- METHOD4(ganv_canvas, w2c_d, double, wx, double, wy, double*, cx, double*, cy);
- METHOD4(ganv_canvas, c2w, int, cx, int, cy, double*, wx, double*, wy);
- METHOD4(ganv_canvas, window_to_world, double, winx, double, winy, double*, worldx, double*, worldy);
- METHOD4(ganv_canvas, world_to_window, double, worldx, double, worldy, double*, winx, double*, winy);
+ METHOD1(ganv_canvas, w2c_affine, cairo_matrix_t*, matrix)
+ METHOD4(ganv_canvas, w2c, double, wx, double, wy, int*, cx, int*, cy)
+ METHOD4(ganv_canvas, w2c_d, double, wx, double, wy, double*, cx, double*, cy)
+ METHOD4(ganv_canvas, c2w, int, cx, int, cy, double*, wx, double*, wy)
+ METHOD4(ganv_canvas, window_to_world, double, winx, double, winy, double*, worldx, double*, worldy)
+ METHOD4(ganv_canvas, world_to_window, double, worldx, double, worldy, double*, winx, double*, winy)
Item* get_item_at(double x, double y) const;
Edge* get_edge(Node* tail, Node* head) const;
void remove_edge_between(Node* tail, Node* head);
void remove_edge(Edge* edge);
- METHOD0(ganv_canvas, arrange);
- METHODRET2(ganv_canvas, int, export_image, const char*, filename, bool, draw_background);
- METHOD1(ganv_canvas, export_dot, const char*, filename);
- METHODRET0(ganv_canvas, gboolean, supports_sprung_layout);
- METHODRET1(ganv_canvas, gboolean, set_sprung_layout, gboolean, sprung_layout);
+ METHOD0(ganv_canvas, arrange)
+ METHODRET2(ganv_canvas, int, export_image, const char*, filename, bool, draw_background)
+ METHOD1(ganv_canvas, export_dot, const char*, filename)
+ METHODRET0(ganv_canvas, gboolean, supports_sprung_layout)
+ METHODRET1(ganv_canvas, gboolean, set_sprung_layout, gboolean, sprung_layout)
METHOD2(ganv_canvas, for_each_node, GanvNodeFunc, f, void*, data)
METHOD2(ganv_canvas, for_each_selected_node, GanvNodeFunc, f, void*, data)
METHOD2(ganv_canvas, for_each_edge, GanvEdgeFunc, f, void*, data)
METHOD3(ganv_canvas, for_each_edge_from,
const GanvNode*, tail,
GanvEdgeFunc, f,
- void*, data);
+ void*, data)
METHOD3(ganv_canvas, for_each_edge_to,
const GanvNode*, head,
GanvEdgeFunc, f,
- void*, data);
+ void*, data)
METHOD3(ganv_canvas, for_each_edge_on,
const GanvNode*, node,
GanvEdgeFunc, f,
- void*, data);
+ void*, data)
METHOD2(ganv_canvas, for_each_selected_edge, GanvEdgeFunc, f, void*, data)
- METHOD0(ganv_canvas, select_all);
- METHOD0(ganv_canvas, clear_selection);
- METHODRET0(ganv_canvas, double, get_zoom);
- METHOD1(ganv_canvas, set_zoom, double, pix_per_unit);
- METHOD0(ganv_canvas, zoom_full);
+ METHOD0(ganv_canvas, select_all)
+ METHOD0(ganv_canvas, clear_selection)
+ METHODRET0(ganv_canvas, double, get_zoom)
+ METHOD1(ganv_canvas, set_zoom, double, pix_per_unit)
+ METHOD0(ganv_canvas, zoom_full)
METHODRET0(ganv_canvas, double, get_default_font_size)
METHODRET0(ganv_canvas, double, get_font_size)
- METHOD1(ganv_canvas, set_font_size, double, points);
- METHOD0(ganv_canvas, get_move_cursor);
- METHOD2(ganv_canvas, move_contents_to, double, x, double, y);
+ METHOD1(ganv_canvas, set_font_size, double, points)
+ METHOD0(ganv_canvas, get_move_cursor)
+ METHOD2(ganv_canvas, move_contents_to, double, x, double, y)
RW_PROPERTY(gboolean, locked)
RW_PROPERTY(double, width)
diff --git a/ganv/Edge.hpp b/ganv/Edge.hpp
index a01de44..5c60711 100644
--- a/ganv/Edge.hpp
+++ b/ganv/Edge.hpp
@@ -74,8 +74,8 @@ public:
RW_PROPERTY(guint, color)
RW_PROPERTY(gdouble, handle_radius)
- METHODRETWRAP0(ganv_edge, Node*, get_tail);
- METHODRETWRAP0(ganv_edge, Node*, get_head);
+ METHODRETWRAP0(ganv_edge, Node*, get_tail)
+ METHODRETWRAP0(ganv_edge, Node*, get_head)
GanvEdge* gobj() { return (GanvEdge*)_gobj; }
const GanvEdge* gobj() const { return (GanvEdge*)_gobj; }
diff --git a/ganv/Item.hpp b/ganv/Item.hpp
index 680b991..1d090d3 100644
--- a/ganv/Item.hpp
+++ b/ganv/Item.hpp
@@ -54,14 +54,14 @@ public:
RW_PROPERTY(double, x)
RW_PROPERTY(double, y)
- METHOD0(ganv_item, raise);
- METHOD0(ganv_item, lower);
- METHOD2(ganv_item, move, double, dx, double, dy);
- METHOD0(ganv_item, show);
- METHOD0(ganv_item, hide);
- METHOD2(ganv_item, i2w, double*, x, double*, y);
- METHOD2(ganv_item, w2i, double*, x, double*, y);
- METHOD0(ganv_item, grab_focus);
+ METHOD0(ganv_item, raise)
+ METHOD0(ganv_item, lower)
+ METHOD2(ganv_item, move, double, dx, double, dy)
+ METHOD0(ganv_item, show)
+ METHOD0(ganv_item, hide)
+ METHOD2(ganv_item, i2w, double*, x, double*, y)
+ METHOD2(ganv_item, w2i, double*, x, double*, y)
+ METHOD0(ganv_item, grab_focus)
Canvas* canvas() const {
return Glib::wrap(ganv_item_get_canvas(_gobj));
diff --git a/ganv/Module.hpp b/ganv/Module.hpp
index 8ca4393..64efa12 100644
--- a/ganv/Module.hpp
+++ b/ganv/Module.hpp
@@ -112,9 +112,9 @@ public:
return Glib::wrap(ganv_module_get_port(gobj(), index));
}
- METHOD2(ganv_module, for_each_port, GanvPortFunc, f, void*, data);
+ METHOD2(ganv_module, for_each_port, GanvPortFunc, f, void*, data)
- METHODRET0(ganv_module, guint, num_ports);
+ METHODRET0(ganv_module, guint, num_ports)
RW_PROPERTY(gboolean, stacked)
diff --git a/ganv/Node.hpp b/ganv/Node.hpp
index 2fef74c..2dd9dbc 100644
--- a/ganv/Node.hpp
+++ b/ganv/Node.hpp
@@ -63,7 +63,7 @@ public:
RW_PROPERTY(gboolean, draggable)
RW_PROPERTY(gboolean, grabbed)
- RW_OBJECT_PROPERTY(Node*, partner);
+ RW_OBJECT_PROPERTY(Node*, partner)
GanvNode* gobj() { return GANV_NODE(_gobj); }
const GanvNode* gobj() const { return GANV_NODE(_gobj); }
@@ -71,7 +71,7 @@ public:
METHOD2(ganv_node, move, double, dx, double, dy)
METHOD2(ganv_node, move_to, double, x, double, y)
- METHOD0(ganv_node, disconnect);
+ METHOD0(ganv_node, disconnect)
sigc::signal<void, double, double>& signal_moved() {
return _signal_moved;
diff --git a/ganv/Port.hpp b/ganv/Port.hpp
index 94fb760..20a7e00 100644
--- a/ganv/Port.hpp
+++ b/ganv/Port.hpp
@@ -50,7 +50,7 @@ public:
METHODRET0(ganv_port, gboolean, is_input)
METHODRET0(ganv_port, gboolean, is_output)
- METHODRET0(ganv_port, double, get_natural_width);
+ METHODRET0(ganv_port, double, get_natural_width)
METHODRET0(ganv_port, float, get_control_value)
METHODRET0(ganv_port, float, get_control_min)
METHODRET0(ganv_port, float, get_control_max)
@@ -61,7 +61,7 @@ public:
METHOD1(ganv_port, set_control_value, float, value)
METHOD1(ganv_port, set_control_min, float, min)
METHOD1(ganv_port, set_control_max, float, max)
- METHOD1(ganv_port, set_value_label, const char*, str);
+ METHOD1(ganv_port, set_value_label, const char*, str)
sigc::signal<void, double> signal_value_changed;