blob: 99dc115c4ff1f805ecb11dd0600d909fd4458ec4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#pragma once
#include "UIScene.h"
class UIComponent_Panorama : public UIScene
{
private:
bool m_bSplitscreen;
bool m_bShowingDay;
protected:
IggyName m_funcShowPanoramaDay;
UI_BEGIN_MAP_ELEMENTS_AND_NAMES(UIScene)
UI_MAP_NAME(m_funcShowPanoramaDay, L"ShowPanoramaDay");
UI_END_MAP_ELEMENTS_AND_NAMES()
public:
UIComponent_Panorama(int iPad, void *initData, UILayer *parentLayer);
protected:
// TODO: This should be pure virtual in this class
virtual wstring getMoviePath();
public:
virtual EUIScene getSceneType() { return eUIComponent_Panorama;}
// Returns true if this scene handles input
virtual bool stealsFocus() { return false; }
// Returns true if this scene has focus for the pad passed in
virtual bool hasFocus(int iPad) { return false; }
virtual void tick();
// RENDERING
virtual void render(S32 width, S32 height, C4JRender::eViewportType viewport);
private:
void setPanorama(bool isDay);
};
|