add icons

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@255 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-10 16:46:53 +00:00
parent 2ba648ef74
commit 9ce8a02181
11 changed files with 996 additions and 2 deletions

View File

@@ -115,6 +115,24 @@ MWDECL int MwTextHeight(MwWidget handle, const char* text);
*/
MWDECL void MwGetColor(MwLLColor color, int* red, int* green, int* blue);
/*!
* %brief Creates a pixmap from raw data
* %param handle Widget
* %param rgb RGBA data
* %param width Width
* %param height Height
* %return Pixmap
*/
MWDECL MwLLPixmap MwLoadRaw(MwWidget handle, unsigned char* rgb, int width, int height);
/*!
* %brief Creates a pixmap from XPM data
* %param handle Widget
* %param data Data
* %return Pixmap
*/
MWDECL MwLLPixmap MwLoadXPM(MwWidget handle, char** data);
#ifdef __cplusplus
}
#endif