mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-05 09:00:54 +00:00
very wip combobox
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@673 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -46,5 +46,6 @@
|
||||
#include <Mw/Widget/ListBox.h>
|
||||
#include <Mw/Widget/ProgressBar.h>
|
||||
#include <Mw/Widget/RadioBox.h>
|
||||
#include <Mw/Widget/ComboBox.h>
|
||||
|
||||
#endif
|
||||
|
||||
@@ -18,6 +18,7 @@ typedef struct _MwMenu* MwMenu;
|
||||
typedef struct _MwEntry* MwEntry;
|
||||
typedef struct _MwViewport* MwViewport;
|
||||
typedef struct _MwListBox* MwListBox;
|
||||
typedef struct _MwComboBox* MwComboBox;
|
||||
typedef struct _MwListBoxEntry MwListBoxEntry;
|
||||
typedef struct _MwDirectoryEntry MwDirectoryEntry;
|
||||
typedef struct _MwListBoxPacket MwListBoxPacket;
|
||||
@@ -129,6 +130,10 @@ struct _MwListBox {
|
||||
int changed;
|
||||
};
|
||||
|
||||
struct _MwComboBox {
|
||||
int opened;
|
||||
};
|
||||
|
||||
struct _MwDirectoryEntry {
|
||||
char* name;
|
||||
int type;
|
||||
|
||||
25
include/Mw/Widget/ComboBox.h
Normal file
25
include/Mw/Widget/ComboBox.h
Normal file
@@ -0,0 +1,25 @@
|
||||
/* $Id: ComboBox.h 206 2025-10-07 15:10:46Z nishi $ */
|
||||
/*!
|
||||
* @file Mw/Widget/ComboBox.h
|
||||
* @brief ComboBox widget
|
||||
*/
|
||||
#ifndef __MW_WIDGET_COMBOBOX_H__
|
||||
#define __MW_WIDGET_COMBOBOX_H__
|
||||
|
||||
#include <Mw/MachDep.h>
|
||||
#include <Mw/TypeDefs.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*!
|
||||
* @brief ComboBox widget class
|
||||
*/
|
||||
MWDECL MwClass MwComboBoxClass;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user