22 #ifndef PSP_IMAGE_VIEWER_H 23 #define PSP_IMAGE_VIEWER_H 25 #include "engines/engine.h" 55 float _visibleHeight, _visibleWidth;
56 float _centerX, _centerY;
63 void setFullScreenImageParams();
66 void setViewerButtons(
bool active);
67 void setConstantRendererOptions();
68 void moveImageX(
float val);
69 void moveImageY(
float val);
70 bool load(
int imageNum);
74 void setZoom(
float value);
75 void setOffsetParams();
76 void modifyZoom(
bool up);
77 void setVisible(
bool visible);
81 ImageViewer() : _buffer(0), _palette(0), _visible(
false),
82 _dirty(
false), _init(
false), _imageNum(0),
83 _zoomFactor(0.0f), _visibleHeight(0.0f), _visibleWidth(0.0f),
84 _centerX(0.0f), _centerY(0.0f), _movement(EVENT_MOVE_STOP),
85 _inputHandler(0), _displayManager(0) {}
89 bool isVisible() {
return _visible; }
90 bool isDirty() {
return _dirty; }
91 void setDirty() { _dirty =
true; }
92 void setClean() {
if (!_visible)
95 void resetOnEngineDone();
97 void handleEvent(uint32 event);
100 void setInputHandler(
InputHandler *inputHandler) { _inputHandler = inputHandler; }
101 void setDisplayManager(
DisplayManager *displayManager) { _displayManager = displayManager; }
Definition: display_manager.h:103
Definition: display_client.h:172
Definition: image_viewer.h:29
Definition: display_client.h:113
Definition: display_client.h:40
Definition: atari-screen.h:44