22 #ifndef MTROPOLIS_RENDER_H 23 #define MTROPOLIS_RENDER_H 25 #include "common/events.h" 26 #include "common/ptr.h" 27 #include "common/scummsys.h" 29 #include "graphics/pixelformat.h" 45 struct SceneTransitionEffect;
63 bool load(uint8 dataStyleFlags);
100 int32 getWidth()
const;
101 int32 getHeight()
const;
102 void setPosition(int32 x, int32 y);
103 void resizeWindow(int32 width, int32 height);
111 bool getMouseVisible()
const;
112 void setMouseVisible(
bool visible);
114 void setStrata(
int strata);
115 int getStrata()
const;
118 void setMouseTransparent(
bool isTransparent);
119 bool isMouseTransparent()
const;
122 void detachFromRuntime();
124 virtual void onMouseDown(int32 x, int32 y,
int mouseButton);
125 virtual void onMouseMove(int32 x, int32 y);
126 virtual void onMouseUp(int32 x, int32 y,
int mouseButton);
128 virtual void onAction(Actions::Action action);
135 bool _isMouseTransparent;
136 bool _isMouseVisible;
145 void renderProject(
Runtime *runtime,
Window *mainWindow,
bool *outSkipped);
Definition: managed_surface.h:51
EventType
Definition: events.h:49
Definition: runtime.h:1575
Definition: formatinfo.h:28
Definition: keyboard.h:294
Definition: runtime.h:1376