#include <EquipmentSlots.hpp>
◆ EquipmentSlots()
| EquipmentSlots::EquipmentSlots |
( |
| ) |
|
◆ draw()
| void EquipmentSlots::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.
◆ abilityElements
◆ abilityIconSize
| float EquipmentSlots::abilityIconSize = 54.f |
◆ barHeight
| float EquipmentSlots::barHeight = 87.f |
◆ barWidth
| float EquipmentSlots::barWidth = 220.f |
◆ bindingFontSize
| float EquipmentSlots::bindingFontSize = 20.f |
◆ bindingLabels_
| std::array<std::string, 2> EquipmentSlots::bindingLabels_ {"", ""} |
|
private |
◆ centerGap
| float EquipmentSlots::centerGap = 0.f |
◆ iconBarGap
| float EquipmentSlots::iconBarGap = 0.f |
◆ iconFrameHeight
| float EquipmentSlots::iconFrameHeight = 87.f |
◆ iconFrameWidth
| float EquipmentSlots::iconFrameWidth = 92.f |
◆ state_
The documentation for this struct was generated from the following files: