ScummVM API documentation
qtvrxtra.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef DIRECTOR_LINGO_XTRAS_QTVRXTRA_H
23 #define DIRECTOR_LINGO_XTRAS_QTVRXTRA_H
24 
25 #include "video/qt_decoder.h"
26 
27 namespace Director {
28 
29 class QtvrxtraXtraObject : public Object<QtvrxtraXtraObject> {
30 public:
31  QtvrxtraXtraObject(ObjectType objType);
32 
33  bool hasProp(const Common::String &propName) override;
34  Datum getProp(const Common::String &propName) override;
35 
36  bool processEvent(Common::Event &event);
37 
39 
40  Common::Rect _rect;
41  bool _visible;
42  float _quality;
43 
45 
46  Common::String _transitionMode;
47  float _transitionSpeed;
48 
49  Common::String _updateMode;
50 
51  bool _capEventsMouseOver;
52  bool _capEventsMouseDown;
53 
54  bool _passMouseDown;
55 
56  Common::String _mouseDownHandler;
57 };
58 
59 namespace QtvrxtraXtra {
60 
61 extern const char *xlibName;
62 extern const XlibFileDesc fileNames[];
63 
64 void open(ObjectType type, const Common::Path &path);
65 void close(ObjectType type);
66 
67 void m_new(int nargs);
68 void m_forget(int nargs);
69 void m_QTVREnter(int nargs);
70 void m_QTVRExit(int nargs);
71 void m_QTVROpen(int nargs);
72 void m_QTVRClose(int nargs);
73 void m_QTVRUpdate(int nargs);
74 void m_QTVRGetQTVRType(int nargs);
75 void m_QTVRIdle(int nargs);
76 void m_QTVRMouseDown(int nargs);
77 void m_QTVRMouseOver(int nargs);
78 void m_QTVRGetPanAngle(int nargs);
79 void m_QTVRSetPanAngle(int nargs);
80 void m_QTVRGetTiltAngle(int nargs);
81 void m_QTVRSetTiltAngle(int nargs);
82 void m_QTVRGetFOV(int nargs);
83 void m_QTVRSetFOV(int nargs);
84 void m_QTVRGetClickLoc(int nargs);
85 void m_QTVRSetClickLoc(int nargs);
86 void m_QTVRGetClickPanAngles(int nargs);
87 void m_QTVRGetClickPanLoc(int nargs);
88 void m_QTVRGetHotSpotID(int nargs);
89 void m_QTVRSetHotSpotID(int nargs);
90 void m_QTVRGetHotSpotName(int nargs);
91 void m_QTVRGetHotSpotType(int nargs);
92 void m_QTVRGetHotSpotViewAngles(int nargs);
93 void m_QTVRGetObjectViewAngles(int nargs);
94 void m_QTVRGetObjectZoomRect(int nargs);
95 void m_QTVRGetNodeID(int nargs);
96 void m_QTVRSetNodeID(int nargs);
97 void m_QTVRGetNodeName(int nargs);
98 void m_QTVRGetQuality(int nargs);
99 void m_QTVRSetQuality(int nargs);
100 void m_QTVRGetTransitionMode(int nargs);
101 void m_QTVRSetTransitionMode(int nargs);
102 void m_QTVRGetTransitionSpeed(int nargs);
103 void m_QTVRSetTransitionSpeed(int nargs);
104 void m_QTVRGetUpdateMode(int nargs);
105 void m_QTVRSetUpdateMode(int nargs);
106 void m_QTVRGetVisible(int nargs);
107 void m_QTVRSetVisible(int nargs);
108 void m_QTVRGetWarpMode(int nargs);
109 void m_QTVRSetWarpMode(int nargs);
110 void m_QTVRCollapseToHotSpotRgn(int nargs);
111 void m_QTVRZoomOutEffect(int nargs);
112 void m_QTVRGetColumn(int nargs);
113 void m_QTVRSetColumn(int nargs);
114 void m_QTVRGetRow(int nargs);
115 void m_QTVRSetRow(int nargs);
116 void m_QTVRNudge(int nargs);
117 void m_QTVRGetMouseDownHandler(int nargs);
118 void m_QTVRSetMouseDownHandler(int nargs);
119 void m_QTVRGetMouseOverHandler(int nargs);
120 void m_QTVRSetMouseOverHandler(int nargs);
121 void m_QTVRGetMouseStillDownHandler(int nargs);
122 void m_QTVRSetMouseStillDownHandler(int nargs);
123 void m_QTVRGetNodeLeaveHandler(int nargs);
124 void m_QTVRSetNodeLeaveHandler(int nargs);
125 void m_QTVRGetPanZoomStartHandler(int nargs);
126 void m_QTVRSetPanZoomStartHandler(int nargs);
127 void m_QTVRGetRolloverHotSpotHandler(int nargs);
128 void m_QTVRSetRolloverHotSpotHandler(int nargs);
129 void m_QTVRExitMouseOver(int nargs);
130 void m_QTVRPassMouseDown(int nargs);
131 void m_IsQTVRMovie(int nargs);
132 
133 } // End of namespace QtvrxtraXtra
134 
135 } // End of namespace Director
136 
137 #endif
Definition: str.h:59
Definition: qt_decoder.h:60
Definition: rect.h:144
Definition: path.h:52
Definition: qtvrxtra.h:29
Definition: lingo-object.h:37
Definition: archive.h:35
Definition: lingo-object.h:71
Definition: events.h:199
Definition: lingo.h:130
Definition: qt_decoder.h:99