add a messagebox example

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@262 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-11 08:46:58 +00:00
parent c6b81aff02
commit 359fa8c40d
5 changed files with 33 additions and 1 deletions

View File

@@ -26,6 +26,7 @@
#define MwNpixmap "Vpixmap"
#define MwNiconPixmap "ViconPixmap"
#define MwNsizeHints "VsizeHints"
#define MwNactivateHandler "Cactivate"
#define MwNresizeHandler "Cresize"

View File

@@ -19,6 +19,7 @@ typedef struct _MwFont MwFont;
typedef struct _MwMenu* MwMenu;
typedef struct _MwCursor MwCursor;
typedef struct _MwEntry* MwEntry;
typedef struct _MwSizeHints MwSizeHints;
#ifdef _MILSKO
typedef struct _MwWidget* MwWidget;
#else
@@ -108,6 +109,13 @@ struct _MwEntry {
MwPoint mouse;
};
struct _MwSizeHints {
int min_width;
int min_height;
int max_width;
int max_height;
};
#define MwCursorDataHeight 16
struct _MwCursor {
int width;