SDL view for Wallpaper.
More...
#include <SdlWallpaperView.h>
SDL view for Wallpaper.
- Author
- Michael Imamura
HoverRace::Display::SDL::SdlWallpaperView::SdlWallpaperView |
( |
SdlDisplay & |
disp, |
|
|
Wallpaper & |
model |
|
) |
| |
virtual HoverRace::Display::SDL::SdlWallpaperView::~SdlWallpaperView |
( |
| ) |
|
|
inlinevirtual |
Vec3 HoverRace::Display::SDL::SdlWallpaperView::Measure |
( |
| ) |
|
|
overridevirtual |
void HoverRace::Display::SDL::SdlWallpaperView::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::SdlWallpaperView::PrepareRender |
( |
| ) |
|
|
overridevirtual |
void HoverRace::Display::SDL::SdlWallpaperView::Render |
( |
| ) |
|
|
overridevirtual |
void HoverRace::Display::SDL::SdlWallpaperView::Update |
( |
| ) |
|
|
private |
MR_UInt8 HoverRace::Display::SDL::SdlWallpaperView::computedAlpha |
|
private |
SDL_Rect HoverRace::Display::SDL::SdlWallpaperView::destRect |
|
private |
const SDL_Rect* HoverRace::Display::SDL::SdlWallpaperView::destRectPtr |
|
private |
boost::signals2::connection HoverRace::Display::SDL::SdlWallpaperView::displayConfigChangedConn |
|
private |
bool HoverRace::Display::SDL::SdlWallpaperView::fillChanged |
|
private |
bool HoverRace::Display::SDL::SdlWallpaperView::opacityChanged |
|
private |
std::shared_ptr<SdlTexture> HoverRace::Display::SDL::SdlWallpaperView::texture |
|
private |
The documentation for this class was generated from the following files: