mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-11 11:53:29 +00:00
more methods
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@332 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -211,3 +211,12 @@ void MwListBoxDelete(MwWidget handle, int index) {
|
||||
MwForceRender(lb->frame);
|
||||
}
|
||||
}
|
||||
|
||||
const char* MwListBoxGet(MwWidget handle, int index) {
|
||||
MwListBox lb = handle->internal;
|
||||
|
||||
if(index < 0) return NULL;
|
||||
if(index >= arrlen(lb->list)) return NULL;
|
||||
|
||||
return lb->list[index];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user