40 #ifndef EMBEDDED_DISPLAY_H
41 #define EMBEDDED_DISPLAY_H
82 void WindowFlags(
int ) {}
90 virtual GLS_EXPORT
void BuildAndSendEvent(
int x,
int y,
int pressure,
unsigned int eventType );
96 enum iDeviceOrientation
98 ORIENTATION_UNKNOWN = 0,
99 ORIENTATION_PORTRAIT = 1,
100 ORIENTATION_PORTRAIT_UPSIDE_DOWN = 2,
101 ORIENTATION_LANDSCAPE_LEFT = 3,
102 ORIENTATION_LANDSCAPE_RIGHT = 4,
103 ORIENTATION_FACE_UP = 5,
104 ORIENTATION_FACE_DOWN = 6
107 GLS_EXPORT EmbeddedDisplayFrame(
const char* name,
int width,
int height );
109 virtual GLS_EXPORT ~EmbeddedDisplayFrame();
139 virtual GLS_EXPORT
void Redraw(
void );
143 virtual GLS_EXPORT
void SetRedraw(
void );
154 virtual GLS_EXPORT
void WidthOffset(
float offset );
173 virtual GLS_EXPORT
void DepthFactor(
float factor );
184 virtual GLS_EXPORT
void FOV(
double fov );
189 virtual GLS_EXPORT
double FOV();
198 virtual GLS_EXPORT
void CurrentView(
const int view ) { _current_view = view; }
EventCompressor< DisplayFrame > eventCompressor
Definition: embedded_display_frame.h:112
virtual void Redraw(void)
Definition: display_frame.h:75
float _depthFactor
Definition: embedded_display_frame.h:73
virtual int CurrentView(void) const
Definition: embedded_display_frame.h:203
virtual void RemoveSplash()
Definition: embedded_display_frame.h:117
virtual void SetProjection(GlsMatrixType &projMatrix, GlsMatrixType &model)
double _farZ
Definition: embedded_display_frame.h:77
virtual void CurrentView(const int view)
Definition: embedded_display_frame.h:198
The disti::Timer class. An OS portable timing class.
Definition: runtime_display_frame.h:52
A file for all GL Studio files to include.
virtual float WidthOffset(void)
virtual bool UpdateAnimate(void)
double _nearZ
Definition: embedded_display_frame.h:75
virtual void CreateSplash()
Definition: embedded_display_frame.h:124
The standard Mouse and keyboard events and event structures.
bool _redraw
Definition: embedded_display_frame.h:65
Timer frameTimer
Definition: embedded_display_frame.h:63
float _height_offset
Definition: embedded_display_frame.h:68
bool _autoCalcFarZ
Definition: embedded_display_frame.h:78
virtual float HeightOffset(void)
double _fov
Definition: embedded_display_frame.h:74
Definition: embedded_display_frame.h:60
virtual void BuildAndSendEvent(int x, int y, int pressure, unsigned int eventType)
bool _autoCalcNearZ
Definition: embedded_display_frame.h:76
float _width_offset
Definition: embedded_display_frame.h:67
virtual void SetRedraw(void)
float _smoothedFrameDelay
Definition: embedded_display_frame.h:64
The disti::RuntimeDisplayFrame class, parent class of all DisplayFrames used in runtime code...
virtual float DepthFactor()
virtual bool FrameAnimate(void)
Definition: bmpimage.h:46
int _current_view
Definition: embedded_display_frame.h:80