#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.
◆ countFontSize
| float EquipmentSlots::countFontSize = 14.f |
◆ keyFontSize
| float EquipmentSlots::keyFontSize = 8.f |
◆ slotGap
| float EquipmentSlots::slotGap = 6.f |
◆ slotSize
| float EquipmentSlots::slotSize = 64.f |
◆ state_
◆ statusFontSize
| float EquipmentSlots::statusFontSize = 10.f |
The documentation for this struct was generated from the following files: