mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-15 05:25:53 +01:00
- the list multiple selection code is working now. it still needs some
minor work and cleanup. - made some bag and array functions to return void instead of int. - a few new array functions. - better handling of mouse wheel. !!! make clean after this update before you rebuild. some enums changed.
This commit is contained in:
@@ -145,6 +145,8 @@ typedef enum {
|
||||
WSIncrementPage,
|
||||
WSDecrementLine,
|
||||
WSIncrementLine,
|
||||
WSDecrementWheel,
|
||||
WSIncrementWheel,
|
||||
WSKnob,
|
||||
WSKnobSlot
|
||||
} WMScrollerPart;
|
||||
@@ -1088,12 +1090,18 @@ WMListItem *WMGetListItem(WMList *lPtr, int row);
|
||||
|
||||
WMArray *WMGetListItems(WMList *lPtr);
|
||||
|
||||
int WMRemoveListItem(WMList *lPtr, int row);
|
||||
void WMRemoveListItem(WMList *lPtr, int row);
|
||||
|
||||
void WMSelectListItem(WMList *lPtr, int row);
|
||||
|
||||
void WMUnselectListItem(WMList *lPtr, int row);
|
||||
|
||||
/* This will select all items in range, and deselect all the others */
|
||||
void WMSetListSelectionToRange(WMList *lPtr, WMRange range);
|
||||
|
||||
/* This will select all items in range, leaving the others as they are */
|
||||
void WMSelectListItemsInRange(WMList *lPtr, WMRange range);
|
||||
|
||||
void WMSelectAllListItems(WMList *lPtr);
|
||||
|
||||
void WMUnselectAllListItems(WMList *lPtr);
|
||||
|
||||
Reference in New Issue
Block a user