listbox rewrite done
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
This commit is contained in:
parent
a666010564
commit
55c562645a
6 changed files with 77 additions and 32 deletions
|
|
@ -26,7 +26,6 @@ typedef struct _MwLabelSegment MwLabelSegment;
|
|||
typedef struct _MwListBoxEntry MwListBoxEntry;
|
||||
typedef struct _MwTreeViewEntry MwTreeViewEntry;
|
||||
typedef struct _MwDirectoryEntry MwDirectoryEntry;
|
||||
typedef struct _MwListBoxPacket MwListBoxPacket;
|
||||
typedef struct _MwBox* MwBox;
|
||||
typedef struct _MwMouse MwMouse;
|
||||
#ifdef _MILSKO
|
||||
|
|
@ -202,11 +201,6 @@ struct _MwDirectoryEntry {
|
|||
time_t mtime;
|
||||
};
|
||||
|
||||
struct _MwListBoxPacket {
|
||||
MwLLPixmap* pixmaps;
|
||||
char*** names;
|
||||
};
|
||||
|
||||
struct _MwBox {
|
||||
int layout;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -26,10 +26,10 @@ MWDECL MwClass MwListBoxClass;
|
|||
* @param text Text
|
||||
* @return Index
|
||||
*/
|
||||
MwInline int MwListBoxInsert(MwWidget handle, int row, int col, const char* text) {
|
||||
MwInline int MwListBoxSet(MwWidget handle, int row, int col, const char* text) {
|
||||
int out;
|
||||
|
||||
MwVaWidgetExecute(handle, "mwListBoxInsert", (void*)&out, row, col, text);
|
||||
MwVaWidgetExecute(handle, "mwListBoxSet", (void*)&out, row, col, text);
|
||||
|
||||
return out;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue