ScummVM API documentation
bib_odds_wnd.h
1 
2 /* ScummVM - Graphic Adventure Engine
3  *
4  * ScummVM is the legal property of its developers, whose names
5  * are too numerous to list here. Please refer to the COPYRIGHT
6  * file distributed with this source distribution.
7  *
8  * This program is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  *
21  */
22 
23 #ifndef BAGEL_SPACEBAR_BIB_ODDS_WND_H
24 #define BAGEL_SPACEBAR_BIB_ODDS_WND_H
25 
26 #include "bagel/baglib/chat_wnd.h"
27 
28 namespace Bagel {
29 namespace SpaceBar {
30 
31 #define NUM_PAYOFFS 16
32 
33 class SBarBibOddsWnd : public CBagChatWnd {
34 public:
36  virtual ~SBarBibOddsWnd();
37 
38  virtual ErrorCode attach(); // Save wielded cursor
39  virtual ErrorCode detach(); // This function detaches the background and necessary bitmaps
40 
41  void onMouseMove(uint32 nFlags, CBofPoint *xPoint, void * = nullptr);
42  void onKeyHit(uint32 lKey, uint32 lRepCount);
43 
44  static void initialize();
45  static CBagObject *_wieldedObject;
46 };
47 
48 } // namespace SpaceBar
49 } // namespace Bagel
50 
51 #endif
Definition: chat_wnd.h:30
Definition: object.h:85
Definition: bagel.h:31
Definition: point.h:34
Definition: bib_odds_wnd.h:33
virtual ErrorCode attach()