Go to the documentation of this file.
96 m_foreground =
nullptr;
133 bool updateForeground =
false;
141 m_mustRepaint =
false;
142 updateForeground =
true;
147 if(cacheForeground) {
151 if(updateForeground) {
187 if(m_backgroundFrameCounter.
update())
189 m_foregroundFrameCounter.
update();
222 m_onInputEvent =
true;
224 m_onInputEvent =
false;
229 m_onInputEvent =
true;
232 m_onInputEvent =
false;
238 m_mustRepaint =
true;
243 m_onInputEvent =
true;
245 m_onInputEvent =
false;
void microsleep(size_t us)
virtual void setAlphaWriting(bool enable)=0
virtual void setColor(const Color &color)
void resize(const Size &size)
void setUpsideDown(bool upsideDown)
virtual void clear(const Color &color)=0
void callGlobalField(const std::string &global, const std::string &field, const T &... args)
stdext::boolean< false > m_running
bool canCacheBackbuffer()
void millisleep(size_t ms)
GraphicalApplication g_app
void init(std::vector< std::string > &args)
void resize(const Size &size)
ParticleManager g_particles
void resize(const Size &size)
stdext::shared_object_ptr< Texture > TexturePtr
void copyFromScreen(const Rect &screenRect)
void render(Fw::DrawPane drawPane)
bool shouldProcessNextFrame()
int getMaximumSleepMicros()
void inputEvent(const InputEvent &event)
virtual void init(std::vector< std::string > &args)
TextureManager g_textures
stdext::boolean< false > m_stopping
void inputEvent(const InputEvent &event)
stdext::boolean< false > m_terminated
virtual void setOpacity(float opacity)
virtual void drawTexturedRect(const Rect &dest, const TexturePtr &texture, const Rect &src)=0