cursor
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@180 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
055fddbd3a
commit
1a28f5bcda
13 changed files with 352 additions and 10 deletions
|
|
@ -16,12 +16,12 @@ typedef struct _MwTextKeyValue MwTextKeyValue;
|
|||
typedef struct _MwUserHandlerKeyValue MwUserHandlerKeyValue;
|
||||
typedef struct _MwVoidKeyValue MwVoidKeyValue;
|
||||
typedef struct _MwFont MwFont;
|
||||
typedef struct _MwMenu* MwMenu;
|
||||
typedef struct _MwCursor MwCursor;
|
||||
#ifdef _MILSKO
|
||||
typedef struct _MwWidget *MwWidget, MwWidgetRec;
|
||||
typedef struct _MwMenu * MwMenu, MwMenuRec;
|
||||
typedef struct _MwWidget* MwWidget;
|
||||
#else
|
||||
typedef void* MwWidget;
|
||||
typedef void* MwMenu;
|
||||
#endif
|
||||
typedef void (*MwHandler)(MwWidget handle);
|
||||
typedef int (*MwHandler2)(MwWidget handle);
|
||||
|
|
@ -88,6 +88,7 @@ struct _MwWidget {
|
|||
|
||||
MwWidget* destroy_queue;
|
||||
};
|
||||
#endif
|
||||
|
||||
struct _MwMenu {
|
||||
char* name;
|
||||
|
|
@ -95,7 +96,15 @@ struct _MwMenu {
|
|||
MwWidget wsub;
|
||||
MwMenu* sub;
|
||||
};
|
||||
#endif
|
||||
|
||||
#define MwCursorDataHeight 16
|
||||
struct _MwCursor {
|
||||
int width;
|
||||
int height;
|
||||
int x;
|
||||
int y;
|
||||
unsigned int data[MwCursorDataHeight];
|
||||
};
|
||||
|
||||
struct _MwClass {
|
||||
MwHandler2 create;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue