52 # include "ios_display_frame.h"
53 # elif defined( ANDROID )
54 # include "android_display_frame.h"
55 # elif defined( EMSCRIPTEN )
64 typedef EmbeddedDisplayFrame glsDisplayFrame;
73 # pragma warning( push )
74 # pragma warning( disable : 4244 )
77 # include <FL/Fl_Box.H>
78 # include <FL/Fl_Gl_Window.H>
79 # include <FL/Fl_Window.H>
81 # pragma warning( pop )
93 class glsDisplayFrame;
105 GLS_EXPORT
void draw();
112 GLS_EXPORT
void end();
123 GLS_EXPORT
void resize(
int x,
int y,
int w,
int h );
128 GLS_EXPORT
void show();
131 GLS_EXPORT
int handle(
int );
218 virtual GLS_EXPORT
void Create(
void );
231 virtual GLS_EXPORT
void Redraw(
void );
235 virtual GLS_EXPORT
void SetRedraw(
void );
268 virtual GLS_EXPORT
void WindowFlags(
unsigned long flags );
273 virtual GLS_EXPORT
void WidthOffset(
float offset );
308 virtual GLS_EXPORT
void DepthFactor(
float factor );
319 virtual GLS_EXPORT
void FOV(
double fov );
324 virtual GLS_EXPORT
double FOV();
333 virtual GLS_EXPORT
void CurrentView(
const int view ) { _current_view = view; }
virtual void Create(void)
virtual void CurrentView(const int view)
Definition: gls_display_frame.h:333
virtual void CreateSplash()
bool _sKeyTogglesStatistics
Definition: gls_display_frame.h:189
bool _redraw
Definition: gls_display_frame.h:167
EventCompressor< DisplayFrame > eventCompressor
Definition: gls_display_frame.h:199
Definition: gls_display_frame.h:98
Timer frameTimer
Definition: gls_display_frame.h:165
OpenGLWindow(int x, int y, int w, int h, const char *l, glsDisplayFrame *frame_)
float _height_offset
Definition: gls_display_frame.h:170
virtual bool SKeyTogglesStatistics()
virtual float WidthOffset(void)
GlsDrawCallback _preDrawCallback
Definition: gls_display_frame.h:173
Definition: splash_display.h:79
Definition: display_frame.h:75
bool _autoCalcFarZ
Definition: gls_display_frame.h:187
OpenGLWindow * theWindow
Definition: gls_display_frame.h:196
virtual void CenterOnLogical(float lx, float ly)
float _smoothedFrameDelay
Definition: gls_display_frame.h:166
float _depthFactor
Definition: gls_display_frame.h:182
virtual void Redraw(void)
void resize(int x, int y, int w, int h)
disti::eglDisplayFrame class. The class for creating standalone executables for EGL.
virtual void PreDrawCallback(GlsDrawCallback cb)
virtual float DepthFactor()
virtual bool EscKeyExits()
glsDisplayFrame(const char *name, int width, int height)
The disti::Timer class. An OS portable timing class.
virtual void SetProjection(void)
Definition: runtime_display_frame.h:52
virtual bool FrameAnimate(void)
A file for all GL Studio files to include.
void WindowToLogical(glsDisplayFrame *frame, float x, float y, float &lx, float &ly)
SplashDisplay * splashDisplay
Definition: gls_display_frame.h:176
virtual bool UpdateAnimate(void)
The standard Mouse and keyboard events and event structures.
virtual float HeightOffset(void)
Definition: gls_display_frame.h:162
double _fov
Definition: gls_display_frame.h:183
virtual void RemoveSplash()
double _farZ
Definition: gls_display_frame.h:186
virtual int CurrentView(void) const
Definition: gls_display_frame.h:338
float _width_offset
Definition: gls_display_frame.h:169
int _current_view
Definition: gls_display_frame.h:178
virtual void GetWindowDimensions(int &X, int &Y, int &W, int &H)
virtual void WindowFlags(unsigned long flags)
bool _autoCalcNearZ
Definition: gls_display_frame.h:185
double _nearZ
Definition: gls_display_frame.h:184
virtual void SetWindowDimensions(int X, int Y, int W, int H)
GlsDrawCallback _postDrawCallback
Definition: gls_display_frame.h:174
void resizable(OpenGLWindow *win)
void GrabWindow(char *filename)
virtual void PostDrawCallback(GlsDrawCallback cb)
The disti::RuntimeDisplayFrame class, parent class of all DisplayFrames used in runtime code...
virtual bool PostHandle(bool handled, DisplayEvent *ev)
Definition: bmpimage.h:46
virtual void SetRedraw(void)
bool _escKeyExits
Definition: gls_display_frame.h:190