summaryrefslogtreecommitdiff
path: root/new/stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'new/stack.c')
-rw-r--r--new/stack.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/new/stack.c b/new/stack.c
index 338f18a..3a87257 100644
--- a/new/stack.c
+++ b/new/stack.c
@@ -255,7 +255,12 @@ void uiStackAdd(uiControl *st, uiControl *c, int stretchy)
updateParent(s->parent);
}
-// TODO get padded
+int uiStackPadded(uiControl *c)
+{
+ stack *s = (stack *) (c->data);
+
+ return s->padded;
+}
void uiStackSetPadded(uiControl *c, int padded)
{