From 4b4d8f3cf2036592b82512d1b3ea73abab129199 Mon Sep 17 00:00:00 2001 From: Leonard Ritter Date: Mon, 22 Sep 2014 18:01:07 +0200 Subject: [PATCH] missed prototypes --- oui.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/oui.h b/oui.h index 7fa2bab..cd0439b 100644 --- a/oui.h +++ b/oui.h @@ -515,8 +515,8 @@ OUI_EXPORT void uiSetSize(int item, int w, int h); // set the anchoring behavior of the item to one or multiple UIlayoutFlags OUI_EXPORT void uiSetLayout(int item, int flags); -// like uiSetLayout, but accumulates to the existing flags -OUI_EXPORT void uiAddLayout(int item, int flags); +// set the box model behavior of the item to one or multiple UIboxFlags +OUI_EXPORT void uiSetBox(int item, int flags); // set the left, top, right and bottom margins of an item; when the item is // anchored to the parent or another item, the margin controls the distance @@ -585,6 +585,8 @@ OUI_EXPORT int uiGetHeight(int item); // return the anchoring behavior as set by uiSetLayout() OUI_EXPORT int uiGetLayout(int item); +// return the box model as set by uiSetBox() +OUI_EXPORT int uiGetBox(int item); // return the left margin of the item as set with uiSetMargins() OUI_EXPORT short uiGetMarginLeft(int item);