52 #include "ios_display_frame.h"
53 #elif defined(ANDROID)
54 #include "android_display_frame.h"
55 #elif defined(EMSCRIPTEN)
61 #include "embedded_display_frame.h"
64 typedef EmbeddedDisplayFrame glsDisplayFrame;
74 #pragma warning(disable : 4244)
77 #include <FL/Fl_Window.H>
78 #include <FL/Fl_Gl_Window.H>
79 #include <FL/Fl_Box.H>
93 class glsDisplayFrame;
105 GLS_EXPORT
void draw();
113 GLS_EXPORT
void end();
124 GLS_EXPORT
void resize(
int x,
int y,
int w,
int h);
129 GLS_EXPORT
void show();
132 GLS_EXPORT
int handle(
int);
219 virtual GLS_EXPORT
void Create(
void);
232 virtual GLS_EXPORT
void Redraw(
void);
269 virtual GLS_EXPORT
void WindowFlags(
unsigned long flags);
320 virtual GLS_EXPORT
void FOV(
double fov);
325 virtual GLS_EXPORT
double FOV();
334 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:334
virtual void CreateSplash()
bool _sKeyTogglesStatistics
Definition: gls_display_frame.h:190
bool _redraw
Definition: gls_display_frame.h:168
EventCompressor< DisplayFrame > eventCompressor
Definition: gls_display_frame.h:200
Definition: gls_display_frame.h:98
Timer frameTimer
Definition: gls_display_frame.h:166
OpenGLWindow(int x, int y, int w, int h, const char *l, glsDisplayFrame *frame_)
float _height_offset
Definition: gls_display_frame.h:171
virtual bool SKeyTogglesStatistics()
virtual float WidthOffset(void)
GlsDrawCallback _preDrawCallback
Definition: gls_display_frame.h:174
Definition: splash_display.h:83
Definition: display_frame.h:75
bool _autoCalcFarZ
Definition: gls_display_frame.h:188
OpenGLWindow * theWindow
Definition: gls_display_frame.h:197
virtual void CenterOnLogical(float lx, float ly)
float _smoothedFrameDelay
Definition: gls_display_frame.h:167
float _depthFactor
Definition: gls_display_frame.h:183
virtual void Redraw(void)
void resize(int x, int y, int w, int h)
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:177
virtual bool UpdateAnimate(void)
The standard Mouse and keyboard events and event structures.
virtual float HeightOffset(void)
Definition: gls_display_frame.h:163
double _fov
Definition: gls_display_frame.h:184
virtual void RemoveSplash()
double _farZ
Definition: gls_display_frame.h:187
virtual int CurrentView(void) const
Definition: gls_display_frame.h:339
float _width_offset
Definition: gls_display_frame.h:170
int _current_view
Definition: gls_display_frame.h:179
virtual void GetWindowDimensions(int &X, int &Y, int &W, int &H)
virtual void WindowFlags(unsigned long flags)
bool _autoCalcNearZ
Definition: gls_display_frame.h:186
double _nearZ
Definition: gls_display_frame.h:185
virtual void SetWindowDimensions(int X, int Y, int W, int H)
GlsDrawCallback _postDrawCallback
Definition: gls_display_frame.h:175
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:191