52 # include "ios_display_frame.h"
53 # elif defined( EMSCRIPTEN )
62 typedef EmbeddedDisplayFrame glsDisplayFrame;
71 # pragma warning( push )
72 # pragma warning( disable : 4244 )
75 # include <FL/Fl_Box.H>
76 # include <FL/Fl_Gl_Window.H>
77 # include <FL/Fl_Window.H>
79 # pragma warning( pop )
90 class glsDisplayFrame;
102 GLS_EXPORT
void draw();
109 GLS_EXPORT
void end();
120 GLS_EXPORT
void resize(
int x,
int y,
int w,
int h );
125 GLS_EXPORT
void show();
128 GLS_EXPORT
int handle(
int );
196 virtual GLS_EXPORT
void Create(
void );
207 GLS_EXPORT
void Paint(
void ) DISTI_METHOD_OVERRIDE;
212 virtual GLS_EXPORT
void Redraw(
void );
218 GLS_EXPORT
void SetRedraw(
void ) DISTI_METHOD_OVERRIDE;
245 virtual GLS_EXPORT
void WindowFlags(
unsigned long flags );
270 virtual GLS_EXPORT
void SKeyTogglesStatistics(
bool flag );
279 virtual GLS_EXPORT
void EscKeyExits(
bool flag );
virtual void Create(void)
virtual void CreateSplash()
bool _sKeyTogglesStatistics
Definition: gls_display_frame.h:167
EventCompressor< DisplayFrame > eventCompressor
Definition: gls_display_frame.h:177
Definition: gls_display_frame.h:95
OpenGLWindow(int x, int y, int w, int h, const char *l, glsDisplayFrame *frame_)
virtual bool SKeyTogglesStatistics()
GlsDrawCallback _preDrawCallback
Definition: gls_display_frame.h:162
Definition: splash_display.h:79
void SetRedraw(void) override
Definition: display_frame.h:77
OpenGLWindow * theWindow
Definition: gls_display_frame.h:174
virtual void CenterOnLogical(float lx, float ly)
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 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:53
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:165
The standard Mouse and keyboard events and event structures.
Definition: gls_display_frame.h:159
virtual void RemoveSplash()
virtual void GetWindowDimensions(int &X, int &Y, int &W, int &H)
virtual void WindowFlags(unsigned long flags)
virtual void SetWindowDimensions(int X, int Y, int W, int H)
void Paint(void) override
GlsDrawCallback _postDrawCallback
Definition: gls_display_frame.h:163
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
bool FrameAnimate() override
bool _escKeyExits
Definition: gls_display_frame.h:168