git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@105 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-01 15:55:53 +00:00
parent e2cfadea90
commit 5d7d47907a
10 changed files with 247 additions and 20 deletions

View File

@@ -68,6 +68,22 @@ MWDECL void MwDrawText(MwWidget handle, MwPoint* point, const char* text, MwLLCo
*/
MWDECL MwLLPixmap MwLoadImage(MwWidget handle, const char* path);
/*!
* %brief Calculates a text width
* %param handle Widget
* %param text Text
* %return Text width
*/
MWDECL int MwTextWidth(MwWidget handle, const char* text);
/*!
* %brief Calculates a text height
* %param handle Widget
* %param text Text
* %return Text height
*/
MWDECL int MwTextHeight(MwWidget handle, const char* text);
#ifdef __cplusplus
}
#endif