19 #ifndef PAWS_SELECTOR_BOX_HEADER    20 #define PAWS_SELECTOR_BOX_HEADER    36 #define SELECTOR_ADD_BUTTON    -100    38 #define SELECTOR_REMOVE_BUTTON -200    43 #define AVAILABLE_BOX -1000    44 #define SELECTED_BOX  -2000    73     bool Setup(iDocumentNode* node);
 bool OnButtonPressed(int mouseButton, int keyModifier, pawsWidget *widget)
Called whenever a button is pressed. 
 
bool SelectAndMoveRow(int rowNo, bool toSelected=true)
Move row automatically, default available->selected. 
 
bool Setup(iDocumentNode *node)
Setup this widget. 
 
void OnListAction(pawsListBox *widget, int status)
Called whenever an item in a child list box is selected. 
 
void RemoveFromSelected(int id)
Remove the row with id from selected list. 
 
void RemoveFromAvailable(int id)
Remove the row with id from available list. 
 
A simple list box widget. 
 
This a available->selected widget. 
 
CREATE_PAWS_FACTORY(pawsSelectorBox)
 
pawsListBoxRow * GetMoved()
Get the row that was moved from one list to the other. 
 
pawsListBoxRow * CreateOption()
Create a new entry in the available box. 
 
int GetAvailableCount(void)
Return number of items in available list.