mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-03 08:00:50 +00:00
move files
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@603 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -89,17 +89,6 @@ MWDECL void MwDrawTriangle(MwWidget handle, MwRect* rect, MwLLColor color, int i
|
||||
*/
|
||||
MWDECL void MwDrawFrameEx(MwWidget handle, MwRect* rect, MwLLColor color, int invert, int border);
|
||||
|
||||
/*!
|
||||
* @brief Draws a text
|
||||
* @param handle Widget
|
||||
* @param point Center point of the text
|
||||
* @param text Text
|
||||
* @param bold Bold
|
||||
* @param align Align
|
||||
* @param color Color
|
||||
*/
|
||||
MWDECL void MwDrawText(MwWidget handle, MwPoint* point, const char* text, int bold, int align, MwLLColor color);
|
||||
|
||||
/*!
|
||||
* @brief Creates a pixmap from image
|
||||
* @param handle Widget
|
||||
@@ -108,22 +97,6 @@ MWDECL void MwDrawText(MwWidget handle, MwPoint* point, const char* text, int bo
|
||||
*/
|
||||
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);
|
||||
|
||||
/*!
|
||||
* @brief Get color components
|
||||
* @param color Color
|
||||
@@ -178,6 +151,35 @@ MWDECL MwLLPixmap MwLoadIcon(MwWidget handle, unsigned int* data);
|
||||
*/
|
||||
MWDECL void MwDrawDiamond(MwWidget handle, MwRect* rect, MwLLColor color, int invert);
|
||||
|
||||
/* text.c */
|
||||
|
||||
/*!
|
||||
* @brief Draws a text
|
||||
* @param handle Widget
|
||||
* @param point Center point of the text
|
||||
* @param text Text
|
||||
* @param bold Bold
|
||||
* @param align Align
|
||||
* @param color Color
|
||||
*/
|
||||
MWDECL void MwDrawText(MwWidget handle, MwPoint* point, const char* text, int bold, int align, MwLLColor color);
|
||||
|
||||
/*!
|
||||
* @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);
|
||||
|
||||
/* color.c */
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user