use MwPolygon/MwLine instead of lowlevel ones
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
6e6233edc8
commit
e591577801
9 changed files with 102 additions and 77 deletions
|
|
@ -83,6 +83,23 @@ MWDECL void MWAPI MwDrawRectLine(MwWidget handle, MwRect* rect, MwColor color);
|
|||
*/
|
||||
MWDECL void MWAPI MwDrawRectFading(MwWidget handle, MwRect* rect, MwColor color);
|
||||
|
||||
/*!
|
||||
* @brief Draws a polygon
|
||||
* @param handle Widget
|
||||
* @param points Points (counter-clockwise)
|
||||
* @param points_count Amount of points
|
||||
* @param color Color
|
||||
*/
|
||||
MWDECL void MWAPI MwPolygon(MwWidget handle, MwPoint* points, int points_count, MwColor color);
|
||||
|
||||
/*!
|
||||
* @brief Draws a Line
|
||||
* @param handle Widget
|
||||
* @param points Points
|
||||
* @param color Color
|
||||
*/
|
||||
MWDECL void MWAPI MwLine(MwWidget handle, MwPoint* points, MwColor color);
|
||||
|
||||
/*!
|
||||
* @brief Draws a frame
|
||||
* @param handle Widget
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue