#include <AbilitySelectionWidget.hpp>
◆ AbilitySelectionWidget()
| AbilitySelectionWidget::AbilitySelectionWidget |
( |
| ) |
|
◆ draw()
| void AbilitySelectionWidget::draw |
( |
HudContext & | ctx, |
|
|
float | drawX, |
|
|
float | drawY ) |
|
overridevirtual |
Emit geometry into the draw context.
- Parameters
-
| ctx | Immediate-mode draw API. |
| drawX | Resolved pixel X (anchor + offset already applied). |
| drawY | Resolved pixel Y. |
Implements HudWidget.
◆ update()
Called each frame before draw(). Update animation, consume events.
Implements HudWidget.
◆ abilityMenuLabel_
| std::string AbilitySelectionWidget::abilityMenuLabel_ = "Left Alt" |
|
private |
◆ bodyFontSize
| float AbilitySelectionWidget::bodyFontSize = 18.f |
◆ choiceGap
| float AbilitySelectionWidget::choiceGap = 12.f |
◆ choiceHeight
| float AbilitySelectionWidget::choiceHeight = 90.f |
◆ choiceWidth
| float AbilitySelectionWidget::choiceWidth = 244.f |
◆ headerFontSize
| float AbilitySelectionWidget::headerFontSize = 20.f |
◆ keyFontSize
| float AbilitySelectionWidget::keyFontSize = 18.f |
◆ nameFontSize
| float AbilitySelectionWidget::nameFontSize = 20.f |
◆ panelWidth
| float AbilitySelectionWidget::panelWidth = 520.f |
◆ slotOption_
| std::array<int, 2> AbilitySelectionWidget::slotOption_ {0, 1} |
|
private |
◆ slotTag_
| std::array<std::string, 2> AbilitySelectionWidget::slotTag_ {"LMB", "RMB"} |
|
private |
◆ state_
The documentation for this struct was generated from the following files: