mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-09 02:43:30 +00:00
menu
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@105 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user