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 ) 
   92 class glsDisplayFrame;
 
  104     GLS_EXPORT 
void draw();
 
  111     GLS_EXPORT 
void end();
 
  122     GLS_EXPORT 
void resize( 
int x, 
int y, 
int w, 
int h );
 
  127     GLS_EXPORT 
void show();
 
  130     GLS_EXPORT 
int handle( 
int );
 
  198     virtual GLS_EXPORT 
void Create( 
void );
 
  209     GLS_EXPORT 
void Paint( 
void ) DISTI_METHOD_OVERRIDE;
 
  214     virtual GLS_EXPORT 
void Redraw( 
void );
 
  220     GLS_EXPORT 
void SetRedraw( 
void ) DISTI_METHOD_OVERRIDE;
 
  247     virtual GLS_EXPORT 
void WindowFlags( 
unsigned long flags );
 
  272     virtual GLS_EXPORT 
void SKeyTogglesStatistics( 
bool flag );
 
  281     virtual GLS_EXPORT 
void EscKeyExits( 
bool flag );
 
virtual void Create(void)
virtual void CreateSplash()
bool _sKeyTogglesStatistics
Definition: gls_display_frame.h:169
EventCompressor< DisplayFrame > eventCompressor
Definition: gls_display_frame.h:179
Definition: gls_display_frame.h:97
OpenGLWindow(int x, int y, int w, int h, const char *l, glsDisplayFrame *frame_)
virtual bool SKeyTogglesStatistics()
GlsDrawCallback _preDrawCallback
Definition: gls_display_frame.h:164
Definition: splash_display.h:79
void SetRedraw(void) override
Definition: display_frame.h:77
OpenGLWindow * theWindow
Definition: gls_display_frame.h:176
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:167
The standard Mouse and keyboard events and event structures. 
Definition: gls_display_frame.h:161
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:165
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:170