67 #ifndef GUI_WIDGETS_LISTBOX_H
68 #define GUI_WIDGETS_LISTBOX_H
101 const std::string &skin);
void setDistributeMousePressed(const bool b)
void setListModel(ListModel *listModel)
ListBox(const Widget2 *const widget, ListModel *const listModel, const std::string &skin)
int getPressedIndex() const
std::list< SelectionListener * > SelectionListenerList
SelectionListenerList mSelectionListeners
void mouseReleased1(const MouseEvent &event)
void mouseWheelMovedDown(MouseEvent &event)
void mouseDragged(MouseEvent &event)
void mouseWheelMovedUp(MouseEvent &event)
void distributeValueChangedEvent()
bool isWrappingEnabled() const
void mousePressed(MouseEvent &event)
virtual unsigned int getRowHeight() const
void draw(Graphics *const graphics)
void setRowHeight(unsigned int n)
Color mForegroundSelectedColor2
void mouseReleased(MouseEvent &event)
void removeSelectionListener(SelectionListener *const selectionListener)
virtual void adjustSize()
SelectionListenerList::iterator SelectionListenerIterator
void safeDraw(Graphics *const graphics)
void keyPressed(KeyEvent &event)
void setSelected(const int selected)
void addSelectionListener(SelectionListener *const selectionListener)
virtual int getSelectionByMouse(const int y) const
ListModel * getListModel() const
Color mForegroundSelectedColor
void setWrappingEnabled(const bool wrappingEnabled)
void setCenter(const bool b)
bool mDistributeMousePressed
#define A_DELETE_COPY(func)