treeview works

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@762 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-20 12:45:07 +00:00
parent d96c6fef5e
commit 75c73e98e1
5 changed files with 126 additions and 73 deletions

View File

@@ -35,6 +35,7 @@ struct _MwLLX11 {
int top;
int grabbed;
int force_render;
unsigned long red_mask;
unsigned long red_max;

View File

@@ -140,19 +140,20 @@ struct _MwComboBox {
};
struct _MwTreeViewEntry {
char* label;
MwLLPixmap pixmap;
MwTreeViewEntry* tree;
int opened;
int selected;
unsigned long click_time;
char* label;
MwLLPixmap pixmap;
MwTreeViewEntry** tree;
int opened;
int selected;
unsigned long click_time;
MwTreeViewEntry* parent;
};
struct _MwTreeView {
MwWidget frame;
MwWidget vscroll;
int changed;
MwTreeViewEntry* tree;
MwWidget frame;
MwWidget vscroll;
int changed;
MwTreeViewEntry** tree;
MwPoint pressed;
};