VIDEO: QTVR: Expose zoom state

This commit is contained in:
Eugene Sandulenko committed 2025-02-16 23:00:21 +01:00
1 parent e061557428
commit fa5ea18fcb
1 file changed
+10 -8
+10 -8
View File
@@ -95,6 +95,8 @@ public:
int getCurrentColumn() { return _nextVideoTrack->getCurFrame() % _nav.columns; }
void setCurrentColumn(int column);
int getZoomState() { return _zoomState; }
const PanoHotSpot *getRolloverHotspot() { return _rolloverHotspot; }
const PanoHotSpot *getClickedHotspot() { return _clickedHotspot; }
@@ -163,6 +165,14 @@ public:
bool _isKeyDown = false;
Common::KeyState _lastKey;
enum {
kZoomNone,
kZoomQuestion,
kZoomIn,
kZoomOut,
kZoomLimit,
};
private:
Common::Rect _curBbox;
@@ -192,14 +202,6 @@ private:
bool _enableEditListBoundsCheckQuirk;
enum {
kZoomNone,
kZoomQuestion,
kZoomIn,
kZoomOut,
kZoomLimit,
};
class VideoSampleDesc : public Common::QuickTimeParser::SampleDesc {
public:
VideoSampleDesc(Common::QuickTimeParser::Track *parentTrack, uint32 codecTag);