ScummVM API documentation
scalpel_screen.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 SHERLOCK_SCALPEL_SCREEN_H
23 #define SHERLOCK_SCALPEL_SCREEN_H
24 
25 #include "sherlock/screen.h"
26 
27 namespace Sherlock {
28 
29 class SherlockEngine;
30 
31 namespace Scalpel {
32 
33 class ScalpelScreen : public Screen {
34 public:
36  ~ScalpelScreen() override {}
37 
42  void makeButton(const Common::Rect &bounds, const Common::Point &textPoint, const Common::String &buttonText, bool textContainsHotkey = true);
43  void makeButton(const Common::Rect &bounds, int textX, const Common::String &buttonText, bool textContainsHotkey = true);
44 
50  void buttonPrint(const Common::Point &pt, uint color, bool slamIt, const Common::String &buttonText, bool textContainsHotkey = true);
51 
55  void makePanel(const Common::Rect &r);
56 
61  void makeField(const Common::Rect &r);
62 };
63 
64 } // End of namespace Scalpel
65 
66 } // End of namespace Sherlock
67 
68 #endif
Definition: str.h:59
void makeButton(const Common::Rect &bounds, const Common::Point &textPoint, const Common::String &buttonText, bool textContainsHotkey=true)
Definition: animation.h:29
Definition: rect.h:144
Definition: scalpel_screen.h:33
void makeField(const Common::Rect &r)
Definition: sherlock.h:76
Definition: rect.h:45
Definition: screen.h:40
void buttonPrint(const Common::Point &pt, uint color, bool slamIt, const Common::String &buttonText, bool textContainsHotkey=true)
void makePanel(const Common::Rect &r)