HoverRace
2.0
|
#include <SdlFillBoxView.h>
Public Member Functions | |
SdlFillBoxView (SdlDisplay &disp, FillBox &model) | |
virtual | ~SdlFillBoxView () |
Vec3 | Measure () override |
void | OnModelUpdate (int) override |
Called by the view model to indicate that a property has changed. More... | |
void | PrepareRender () override |
void | Render () override |
Public Member Functions inherited from HoverRace::Display::SDL::SdlBoxView< FillBox > | |
SdlBoxView (SdlDisplay &disp, FillBox &model) | |
virtual | ~SdlBoxView () |
Vec2 | GetScreenPos () const override |
Retrieve the screen-space position, if available. More... | |
Vec2 | GetScreenSize () const override |
Retrieve the screen-space size, if available. More... | |
Public Member Functions inherited from HoverRace::Display::SDL::SdlView< FillBox > | |
SdlView (SdlDisplay &display, FillBox &model) | |
virtual | ~SdlView () |
Public Member Functions inherited from HoverRace::Display::View | |
virtual | ~View () |
View & | operator= (const View &)=delete |
Private Types | |
using | SUPER = SdlBoxView< FillBox > |
Additional Inherited Members | |
Protected Member Functions inherited from HoverRace::Display::SDL::SdlBoxView< FillBox > | |
void | CalcScreenBounds () |
Update the screen-space bounds from the UI-space bounds. More... | |
Protected Attributes inherited from HoverRace::Display::SDL::SdlBoxView< FillBox > | |
Vec2 | screenPos |
Vec2 | screenSize |
Protected Attributes inherited from HoverRace::Display::SDL::SdlView< FillBox > | |
SdlDisplay & | display |
FillBox & | model |
|
private |
|
inline |
|
inlinevirtual |
|
overridevirtual |
Implements HoverRace::Display::View.
|
inlineoverridevirtual |
Called by the view model to indicate that a property has changed.
The view can use this to decide if view-specific resources need to be reloaded.
prop | The model-specific ID of the property that changed. |
Reimplemented from HoverRace::Display::View.
|
inlineoverridevirtual |
Implements HoverRace::Display::View.
|
overridevirtual |
Implements HoverRace::Display::View.