50# if defined( EMSCRIPTEN )
69# pragma warning( push )
70# pragma warning( disable : 4244 )
73# include <FL/Fl_Box.H>
74# include <FL/Fl_Gl_Window.H>
75# include <FL/Fl_Window.H>
77# pragma warning( pop )
111 GLS_EXPORT void resizable( OpenGLWindow* win );
119 GLS_EXPORT void resize(
int x,
int y,
int w,
int h );
162 GlsDrawCallback _preDrawCallback;
163 GlsDrawCallback _postDrawCallback;
165 SplashDisplay* splashDisplay;
167 bool _sKeyTogglesStatistics;
174 OpenGLWindow* theWindow;
226 virtual
GLS_EXPORT void SetWindowDimensions(
int X,
int Y,
int W,
int H );
234 virtual
GLS_EXPORT void GetWindowDimensions(
int& X,
int& Y,
int& W,
int& H );
238 virtual
GLS_EXPORT void PostDrawCallback( GlsDrawCallback cb );
242 virtual
GLS_EXPORT void PreDrawCallback( GlsDrawCallback cb );
256 virtual
GLS_EXPORT bool PostHandle(
bool handled, DisplayEvent* ev );
263 virtual
GLS_EXPORT void CenterOnLogical(
float lx,
float ly );
267 virtual
GLS_EXPORT bool SKeyTogglesStatistics();
272 virtual
GLS_EXPORT void SKeyTogglesStatistics(
bool flag );
281 virtual
GLS_EXPORT void EscKeyExits(
bool flag );
Definition: embedded_display_frame.h:61
void SetRedraw() override
void WindowFlags(int)
Unused in ES, remains for backward compatibility.
Definition: embedded_display_frame.h:64
virtual void SetProjection(GlsMatrixType &projMatrix, GlsMatrixType &model)
virtual void CreateSplash()
Definition: embedded_display_frame.h:110
virtual EventCompressor< DisplayFrame > * GetEventCompressor() override
Definition: embedded_display_frame.h:74
virtual void RemoveSplash()
Definition: embedded_display_frame.h:103
EventCompressor< DisplayFrame > eventCompressor
Definition: embedded_display_frame.h:98
virtual bool FrameAnimate()
disti::EmbeddedDisplayFrame class. The class for creating standalone executables for EGL.
The standard Mouse and keyboard events and event structures.
#define DISTI_METHOD_OVERRIDE
Macro to wrap the override keyword, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:222
A file for all GL Studio files to include.
#define GLS_EXPORT
Macro denoting which functions should be visible from the runtime library.
Definition: gls_include.h:52
Definition: bmpimage.h:47
EmbeddedDisplayFrame glsDisplayFrame
Base class for all embedded (openGL ES) display frame classes.
Definition: gls_display_frame.h:60
DistiAttribDict::const_iterator end(const DistiAttribDict &dict)
Definition: disti_metadata.h:975
The disti::RuntimeDisplayFrame class, parent class of all DisplayFrames used in runtime code.
The disti::Timer class. An OS portable timing class.