mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 06:30:52 +00:00
merge git PR #3
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@468 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -41,6 +41,14 @@ MWDECL MwLLColor MwLightenColor(MwWidget handle, MwLLColor color, int r, int g,
|
||||
*/
|
||||
MWDECL void MwDrawRect(MwWidget handle, MwRect* rect, MwLLColor color);
|
||||
|
||||
/*!
|
||||
* %brief Draws a filled rectangle that fades to a darker color
|
||||
* %param handle Widget
|
||||
* %param rect Rectangle area
|
||||
* %param color Color
|
||||
*/
|
||||
MWDECL void MwDrawRectFading(MwWidget handle, MwRect* rect, MwLLColor color);
|
||||
|
||||
/*!
|
||||
* %brief Draws a frame
|
||||
* %param handle Widget
|
||||
@@ -51,6 +59,16 @@ MWDECL void MwDrawRect(MwWidget handle, MwRect* rect, MwLLColor color);
|
||||
*/
|
||||
MWDECL void MwDrawFrame(MwWidget handle, MwRect* rect, MwLLColor color, int invert);
|
||||
|
||||
/*!
|
||||
* %brief Does the DrawFrame/DrawRect combo used for drawing widget.
|
||||
* %param handle Widget
|
||||
* %param rect Rectangle area
|
||||
* %param color Color
|
||||
* %param invert Invert the 3D border color or not
|
||||
* %warning `rect` gets changed to the area of rectangle inside
|
||||
*/
|
||||
MWDECL void MwDrawWidgetBack(MwWidget handle, MwRect* rect, MwLLColor color, int invert, int border);
|
||||
|
||||
/*!
|
||||
* %brief Draws a triangle
|
||||
* %param handle Widget
|
||||
|
||||
Reference in New Issue
Block a user