*/
#include "common.h"
#include <stdlib.h>
-#include <strings.h>
+#include <string.h>
#include "wm.h"
// === IMPORTS ===
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 ;
}
// --- Pre-Rendering ---
+/**
+ * \name Pre-Rendering
+ * \brief Updates the element positions and sizes
+ * \{
+ */
/**
* \brief Updates the dimensions of an element
*
);
}
-
/**
* \brief Update the minimum dimensions of the element
* \note Called after a child's minimum dimensions have changed
// Recurse upwards
WM_UpdateMinDims(Element->Parent);
}
+/**
+ * \}
+ */
// --- Render ---
void WM_RenderWidget(tElement *Element)