mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-03 08:00:50 +00:00
functional listbox
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@328 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -16,10 +16,11 @@ typedef struct _MwTextKeyValue MwTextKeyValue;
|
||||
typedef struct _MwUserHandlerKeyValue MwUserHandlerKeyValue;
|
||||
typedef struct _MwVoidKeyValue MwVoidKeyValue;
|
||||
typedef struct _MwFont MwFont;
|
||||
typedef struct _MwMenu* MwMenu;
|
||||
typedef struct _MwCursor MwCursor;
|
||||
typedef struct _MwMenu* MwMenu;
|
||||
typedef struct _MwEntry* MwEntry;
|
||||
typedef struct _MwViewport* MwViewport;
|
||||
typedef struct _MwListBox* MwListBox;
|
||||
typedef struct _MwSizeHints MwSizeHints;
|
||||
#ifdef _MILSKO
|
||||
typedef struct _MwWidget* MwWidget;
|
||||
@@ -88,6 +89,7 @@ struct _MwWidget {
|
||||
|
||||
void* internal;
|
||||
void* opaque;
|
||||
void (*draw_inject)(MwWidget handle);
|
||||
|
||||
MwIntegerKeyValue* integer;
|
||||
MwTextKeyValue* text;
|
||||
@@ -118,6 +120,13 @@ struct _MwViewport {
|
||||
MwWidget inframe;
|
||||
};
|
||||
|
||||
struct _MwListBox {
|
||||
MwWidget vscroll;
|
||||
MwWidget frame;
|
||||
char** list;
|
||||
int selected;
|
||||
};
|
||||
|
||||
struct _MwSizeHints {
|
||||
int min_width;
|
||||
int min_height;
|
||||
|
||||
Reference in New Issue
Block a user