mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-02 23:50:50 +00:00
wip
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@755 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -49,5 +49,6 @@
|
||||
#include <Mw/Widget/RadioBox.h>
|
||||
#include <Mw/Widget/Separator.h>
|
||||
#include <Mw/Widget/ComboBox.h>
|
||||
#include <Mw/Widget/TreeView.h>
|
||||
|
||||
#endif
|
||||
|
||||
@@ -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;
|
||||
|
||||
26
include/Mw/Widget/TreeView.h
Normal file
26
include/Mw/Widget/TreeView.h
Normal file
@@ -0,0 +1,26 @@
|
||||
/* $Id$ */
|
||||
/*!
|
||||
* @file Mw/Widget/TreeView.h
|
||||
* @brief TreeView widget
|
||||
*/
|
||||
#ifndef __MW_WIDGET_TREEVIEW_H__
|
||||
#define __MW_WIDGET_TREEVIEW_H__
|
||||
|
||||
#include <Mw/MachDep.h>
|
||||
#include <Mw/TypeDefs.h>
|
||||
#include <Mw/Core.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*!
|
||||
* @brief TreeView widget class
|
||||
*/
|
||||
MWDECL MwClass MwTreeViewClass;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user