ScummVM API documentation
maccursor32.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 SCI_GRAPHICS_MACCURSOR32_H
23 #define SCI_GRAPHICS_MACCURSOR32_H
24 
25 #include "common/array.h" // for Array
26 #include "common/rect.h" // for Point, Rect
27 #include "common/scummsys.h" // for int16, byte, uint8
28 #include "sci/graphics/cursor32.h" // for GfxCursor32
29 #include "sci/graphics/helpers.h" // for GuiResourceId
30 
31 namespace Sci {
32 
43 class GfxMacCursor32 : public GfxCursor32 {
44 public:
46 
50  void setMacCursorRemapList(int cursorCount, reg_t *cursors) override;
51 
55  void setView(const GuiResourceId viewId, const int16 loopNo, const int16 celNo) override;
56 
61  void hide() override;
62 
66  void unhide() override;
67 
71  void show() override;
72 
76  void gonnaPaint(Common::Rect paintRect) override {}
77 
81  void paintStarting() override {}
82 
86  void donePainting() override {}
87 
88 private:
93  void move() override {}
94 
98  Common::Array<uint16> _macCursorRemap;
99 };
100 
101 } // End of namespace Sci
102 
103 #endif // SCI_GRAPHICS_MACCURSOR32_H
void show() override
void hide() override
void unhide() override
Definition: rect.h:144
Definition: maccursor32.h:43
void donePainting() override
Definition: maccursor32.h:86
void paintStarting() override
Definition: maccursor32.h:81
Definition: console.h:28
void setView(const GuiResourceId viewId, const int16 loopNo, const int16 celNo) override
void setMacCursorRemapList(int cursorCount, reg_t *cursors) override
Definition: vm_types.h:39
Definition: cursor32.h:34
void gonnaPaint(Common::Rect paintRect) override
Definition: maccursor32.h:76