summaryrefslogtreecommitdiffstats
path: root/src/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/node.c')
-rw-r--r--src/node.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/node.c b/src/node.c
index e2b6213..b873450 100644
--- a/src/node.c
+++ b/src/node.c
@@ -109,13 +109,10 @@ ganv_node_draw(GanvItem* item,
int cx, int cy,
int width, int height)
{
- GanvNode* node = GANV_NODE(item);
-
- // Draw label
- if (node->impl->label) {
- GanvItem* label_item = GANV_ITEM(node->impl->label);
- GANV_ITEM_GET_CLASS(label_item)->draw(label_item, cr, cx, cy, width, height);
- }
+ /* TODO: Label is not drawn here because ports need to draw control
+ rects then the label on top. I can't see a way of solving this since
+ there's no single time parent class draw needs to be called, so perhaps
+ label shouldn't be part of this class... */
}
static void