MwNdocumentActivateHandler
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit

This commit is contained in:
Nishi 2026-09-17 02:03:09 +09:00
commit 8d48075f50
9 changed files with 322 additions and 26 deletions

View file

@ -130,6 +130,7 @@ enum MwDOCUMENT_LAYOUT {
MwDOCUMENT_MONOSPACE,
MwDOCUMENT_STRIKETHROUGH,
MwDOCUMENT_UNDERLINE,
MwDOCUMENT_CLICKABLE
};
enum MwMOUSE {

View file

@ -63,6 +63,26 @@ MWDECL MwCursor MwCursorHidden;
*/
MWDECL MwCursor MwCursorHiddenMask;
/*!
* @brief Hand cursor
*/
MWDECL MwCursor MwCursorHand;
/*!
* @brief Hand cursor mask
*/
MWDECL MwCursor MwCursorHandMask;
/*!
* @brief Center cursor
*/
MWDECL MwCursor MwCursorCenter;
/*!
* @brief Center cursor mask
*/
MWDECL MwCursor MwCursorCenterMask;
#ifdef __cplusplus
}
#endif

View file

@ -84,6 +84,7 @@
#define MwNactivateHandler "Cactivate"
#define MwNlistBoxActivateHandler "ClistBoxActivate"
#define MwNtreeViewActivateHandler "CtreeViewActivate"
#define MwNdocumentActivateHandler "CdocumentActivate"
#define MwNresizeHandler "Cresize"
#define MwNtickHandler "Ctick"
#define MwNmenuHandler "Cmenu"

View file

@ -33,6 +33,7 @@ typedef struct _MwTable* MwTable;
typedef struct _MwChartEntry MwChartEntry;
typedef struct _MwChart* MwChart;
typedef struct _MwDocumentLayout MwDocumentLayout;
typedef struct _MwDocumentClickable MwDocumentClickable;
typedef struct _MwDocument* MwDocument;
typedef struct _MwMouse MwMouse;
typedef struct _MwTTFInfo* MwTTFInfo;
@ -278,9 +279,17 @@ struct _MwDocumentLayout {
MwFLFont font;
};
struct _MwDocumentClickable {
MwRect hitbox;
char* event;
};
struct _MwDocument {
MwDocumentLayout* layouts;
MwFLFont headers[6];
MwDocumentLayout* layouts;
MwDocumentClickable* clickables;
MwFLFont headers[6];
int center_cursor;
};
struct _MwTTFInfo {