summaryrefslogtreecommitdiff
path: root/src/gui/listbox.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-04-07 15:23:07 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-04-07 15:23:07 +0000
commit92950d2f309550e21b33d851ef9bbf7906ce5e50 (patch)
tree18a6d2539c6e004e52cbebb1e61d8f8f0344f9a0 /src/gui/listbox.h
parent3f3ba5f3e18b0a5093e7275aee574ecd6f293ec6 (diff)
downloadmana-client-92950d2f309550e21b33d851ef9bbf7906ce5e50.tar.gz
mana-client-92950d2f309550e21b33d851ef9bbf7906ce5e50.tar.bz2
mana-client-92950d2f309550e21b33d851ef9bbf7906ce5e50.tar.xz
mana-client-92950d2f309550e21b33d851ef9bbf7906ce5e50.zip
Upgraded to Guichan 0.8.0 (merge from guichan-0.8 branch, except for
gcn::TabbedArea usage)
Diffstat (limited to 'src/gui/listbox.h')
-rw-r--r--src/gui/listbox.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/gui/listbox.h b/src/gui/listbox.h
index 1d480eb1..b226a11e 100644
--- a/src/gui/listbox.h
+++ b/src/gui/listbox.h
@@ -49,37 +49,6 @@ class ListBox : public gcn::ListBox
void draw(gcn::Graphics *graphics);
void mouseDragged(gcn::MouseEvent &event);
-
- /**
- * Adds a listener to the list that's notified each time a change to
- * the selection occurs.
- */
- void addSelectionListener(SelectionListener *listener)
- {
- mListeners.push_back(listener);
- }
-
- /**
- * Removes a listener from the list that's notified each time a change
- * to the selection occurs.
- */
- void removeSelectionListener(SelectionListener *listener)
- {
- mListeners.remove(listener);
- }
-
- /**
- * Sets the index of the selected element.
- */
- virtual void setSelected(int selected);
-
- protected:
- /**
- * Sends out selection events to the list of selection listeners.
- */
- void fireSelectionChangedEvent();
-
- std::list<SelectionListener*> mListeners;
};
#endif