SDL view for Picture.
More...
#include <SdlPictureView.h>
SDL view for Picture.
- Author
- Michael Imamura
HoverRace::Display::SDL::SdlPictureView::SdlPictureView |
( |
SdlDisplay & |
disp, |
|
|
Picture & |
model |
|
) |
| |
virtual HoverRace::Display::SDL::SdlPictureView::~SdlPictureView |
( |
| ) |
|
|
inlinevirtual |
Vec3 HoverRace::Display::SDL::SdlPictureView::Measure |
( |
| ) |
|
|
overridevirtual |
void HoverRace::Display::SDL::SdlPictureView::OnModelUpdate |
( |
int |
prop | ) |
|
|
overridevirtual |
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.
- Parameters
-
prop | The model-specific ID of the property that changed. |
Reimplemented from HoverRace::Display::View.
void HoverRace::Display::SDL::SdlPictureView::PrepareRender |
( |
| ) |
|
|
overridevirtual |
void HoverRace::Display::SDL::SdlPictureView::Render |
( |
| ) |
|
|
overridevirtual |
std::shared_ptr<SdlTexture> HoverRace::Display::SDL::SdlPictureView::texture |
|
private |
bool HoverRace::Display::SDL::SdlPictureView::textureChanged |
|
private |
The documentation for this class was generated from the following files: