menu buttons

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@106 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-01 16:28:48 +00:00
parent 5d7d47907a
commit cb46c5ba34
10 changed files with 116 additions and 10 deletions

View File

@@ -18,6 +18,15 @@ extern "C" {
*/
MWDECL MwClass MwMenuClass;
/*!
* %brief Adds a menu
* %param handle Widget
* %param menu Menu
* %param name Menu name
* %return Menu
*/
MWDECL void* MwMenuAdd(MwWidget handle, void* menu, const char* name);
#ifdef __cplusplus
}
#endif

View File

@@ -89,6 +89,7 @@ struct _MwClass {
MwHandler destroy;
MwHandler draw;
MwHandler click;
MwHandler parent_resize;
};
struct _MwFont {