summaryrefslogtreecommitdiffstats
path: root/src/box.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-13 21:22:11 +0000
committerDavid Robillard <d@drobilla.net>2011-12-13 21:22:11 +0000
commit646675f0d21abec2848ae8e25f906aa693139fbd (patch)
treef53846e77aa6ae10d44f5123990a1c9a0b81207b /src/box.c
parent650f610fc90c07aa5a09cd0117a01afd7b1a85c0 (diff)
downloadganv-646675f0d21abec2848ae8e25f906aa693139fbd.tar.gz
ganv-646675f0d21abec2848ae8e25f906aa693139fbd.tar.bz2
ganv-646675f0d21abec2848ae8e25f906aa693139fbd.zip
Remove libart dependency.
Replace unneeded arbitrary per-item affine with simple x, y coordinates. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3867 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/box.c')
-rw-r--r--src/box.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/box.c b/src/box.c
index 38ed9a4..2390c9d 100644
--- a/src/box.c
+++ b/src/box.c
@@ -145,7 +145,6 @@ ganv_box_bounds_item(const GanvBoxCoords* coords,
}
}
-
static void
request_redraw(GanvItem* item,
const GanvBoxCoords* coords,
@@ -183,9 +182,7 @@ ganv_box_bounds(GanvItem* item,
}
static void
-ganv_box_update(GanvItem* item,
- double* affine,
- int flags)
+ganv_box_update(GanvItem* item, int flags)
{
GanvBox* box = GANV_BOX(item);
GanvBoxImpl* impl = box->impl;
@@ -195,7 +192,7 @@ ganv_box_update(GanvItem* item,
request_redraw(item, &impl->old_coords, TRUE);
GanvItemClass* item_class = GANV_ITEM_CLASS(parent_class);
- item_class->update(item, affine, flags);
+ item_class->update(item, flags);
// Store old coordinates in world relative coordinates in case the
// group we are in moves between now and the next update
@@ -212,7 +209,6 @@ ganv_box_update(GanvItem* item,
// Request redraw of new location
request_redraw(item, &impl->coords, FALSE);
-
}
static void