git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@755 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-19 03:47:01 +00:00
parent d722d9da58
commit 5b0a5235cc
8 changed files with 304 additions and 6 deletions

View File

@@ -19,7 +19,9 @@ typedef struct _MwEntry* MwEntry;
typedef struct _MwViewport* MwViewport;
typedef struct _MwListBox* MwListBox;
typedef struct _MwComboBox* MwComboBox;
typedef struct _MwTreeView* MwTreeView;
typedef struct _MwListBoxEntry MwListBoxEntry;
typedef struct _MwTreeViewEntry MwTreeViewEntry;
typedef struct _MwDirectoryEntry MwDirectoryEntry;
typedef struct _MwListBoxPacket MwListBoxPacket;
#ifdef _MILSKO
@@ -124,7 +126,7 @@ struct _MwListBox {
MwWidget vscroll;
MwWidget frame;
MwListBoxEntry* list;
int selected;
int selected;
unsigned long click_time;
int pressed;
int* width;
@@ -137,6 +139,19 @@ struct _MwComboBox {
MwWidget listbox;
};
struct _MwTreeViewEntry {
char* label;
MwLLPixmap pixmap;
MwTreeViewEntry* tree;
};
struct _MwTreeView {
MwWidget frame;
MwWidget vscroll;
int changed;
MwTreeViewEntry* tree;
};
struct _MwDirectoryEntry {
char* name;
int type;