X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin2_src%2FWM%2Fwm.c;h=9bd5aa43df6512d7921dc5ccad1bfb955420f9d2;hb=2b28991acfe9e9014eb14dd47def8e31e4c2b7e4;hp=a8fc96db9c692138b7c8091326cbad8063481021;hpb=b98fbd4e9c71447d81fc9bd643fb174c76346e0f;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin2_src/WM/wm.c b/Usermode/Applications/axwin2_src/WM/wm.c index a8fc96db..9bd5aa43 100644 --- a/Usermode/Applications/axwin2_src/WM/wm.c +++ b/Usermode/Applications/axwin2_src/WM/wm.c @@ -6,7 +6,7 @@ */ #include "common.h" #include -#include +#include #include "wm.h" // === IMPORTS === @@ -90,6 +90,10 @@ void WM_SetSize(tElement *Element, int Size) return ; } +/** + * \brief Set the text field of an element + * \note Used for the image path on ELETYPE_IMAGE + */ void WM_SetText(tElement *Element, char *Text) { if(!Element) return ; @@ -125,6 +129,11 @@ void WM_SetText(tElement *Element, char *Text) } // --- Pre-Rendering --- +/** + * \name Pre-Rendering + * \brief Updates the element positions and sizes + * \{ + */ /** * \brief Updates the dimensions of an element * @@ -286,7 +295,6 @@ void WM_UpdatePosition(tElement *Element) ); } - /** * \brief Update the minimum dimensions of the element * \note Called after a child's minimum dimensions have changed @@ -331,6 +339,9 @@ void WM_UpdateMinDims(tElement *Element) // Recurse upwards WM_UpdateMinDims(Element->Parent); } +/** + * \} + */ // --- Render --- void WM_RenderWidget(tElement *Element)