use MwPolygon/MwLine instead of lowlevel ones
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-09-27 06:09:21 +09:00
commit e591577801
9 changed files with 102 additions and 77 deletions

View file

@ -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