Mana
|
A list box, meant to be used inside a scroll area. More...
#include <listbox.h>
Public Member Functions | |
ListBox (gcn::ListModel *listModel) | |
void | draw (gcn::Graphics *graphics) override |
Draws the list box. | |
void | drawFrame (gcn::Graphics *graphics) override |
void | keyPressed (gcn::KeyEvent &keyEvent) override |
void | mousePressed (gcn::MouseEvent &mouseEvent) override |
void | mouseWheelMovedUp (gcn::MouseEvent &mouseEvent) override |
void | mouseWheelMovedDown (gcn::MouseEvent &mouseEvent) override |
void | mouseDragged (gcn::MouseEvent &event) override |
A list box, meant to be used inside a scroll area.
Same as the Guichan list box except this one doesn't have a background, instead completely relying on the scroll area. It also adds selection listener functionality.
ListBox::ListBox | ( | gcn::ListModel * | listModel | ) |
Definition at line 34 of file listbox.cpp.
|
override |
Draws the list box.
Definition at line 39 of file listbox.cpp.
|
inlineoverride |
|
override |
Definition at line 71 of file listbox.cpp.
|
override |
Definition at line 136 of file listbox.cpp.
|
override |
Definition at line 109 of file listbox.cpp.
|
override |
Definition at line 131 of file listbox.cpp.
|
override |
Definition at line 126 of file listbox.cpp.