Displays a SpellModel in a list widget.
More...
#include <spellview.hpp>
Displays a SpellModel in a list widget.
magic number indicating LineInfo does not correspond to an item in mModel
MWGui::SpellView::SpellView |
( |
| ) |
|
void MWGui::SpellView::addGroup |
( |
const std::string & |
label1, |
|
|
const std::string & |
label2 |
|
) |
| |
|
private |
void MWGui::SpellView::incrementalUpdate |
( |
| ) |
|
simplified update called each frame
void MWGui::SpellView::initialiseOverride |
( |
| ) |
|
|
virtual |
void MWGui::SpellView::layoutWidgets |
( |
| ) |
|
|
private |
void MWGui::SpellView::onMouseWheelMoved |
( |
MyGUI::Widget * |
_sender, |
|
|
int |
_rel |
|
) |
| |
|
private |
void MWGui::SpellView::onSpellSelected |
( |
MyGUI::Widget * |
_sender | ) |
|
|
private |
void MWGui::SpellView::registerComponents |
( |
| ) |
|
|
static |
Register needed components with MyGUI's factory manager.
void MWGui::SpellView::resetScrollbars |
( |
| ) |
|
void MWGui::SpellView::setCoord |
( |
const MyGUI::IntCoord & |
_value | ) |
|
|
virtual |
void MWGui::SpellView::setHighlightSelected |
( |
bool |
highlight | ) |
|
void MWGui::SpellView::setModel |
( |
SpellModel * |
model | ) |
|
Takes ownership of model.
void MWGui::SpellView::setShowCostColumn |
( |
bool |
show | ) |
|
Should the cost/chance column be shown?
void MWGui::SpellView::setSize |
( |
const MyGUI::IntSize & |
_value | ) |
|
|
virtual |
void MWGui::SpellView::update |
( |
| ) |
|
Fired when a spell was clicked.
bool MWGui::SpellView::mHighlightSelected |
|
private |
std::vector< LineInfo > MWGui::SpellView::mLines |
|
private |
std::auto_ptr<SpellModel> MWGui::SpellView::mModel |
|
private |
MyGUI::ScrollView* MWGui::SpellView::mScrollView |
|
private |
bool MWGui::SpellView::mShowCostColumn |
|
private |
const char * MWGui::SpellView::sSpellModelIndex = "SpellModelIndex" |
|
staticprivate |
The documentation for this class was generated from the following files: