#include <PickupNotification.hpp>
◆ PickupNotification()
| PickupNotification::PickupNotification |
( |
| ) |
|
◆ draw()
| void PickupNotification::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.
◆ entries_
| std::vector<Entry> PickupNotification::entries_ |
|
private |
◆ entryFontSize
| float PickupNotification::entryFontSize = 11.f |
◆ entryGap
| float PickupNotification::entryGap = 4.f |
◆ entryHeight
| float PickupNotification::entryHeight = 22.f |
◆ entryLifetime
| float PickupNotification::entryLifetime = 4.f |
◆ fadeOut
| float PickupNotification::fadeOut = 0.6f |
The documentation for this struct was generated from the following files: