hx3d  1
2D/3D Simple Game Framework
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
screen.hpp
1 /*
2  Screen management.
3  Copyright (C) 2015 Denis BOURGE
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Lesser General Public
7  License as published by the Free Software Foundation; either
8  version 2.1 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public
16  License along with this library; if not, write to the Free Software
17  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
18  USA
19 */
20 
21 #ifndef HX3D_WINDOW_SCREEN
22 #define HX3D_WINDOW_SCREEN
23 
24 namespace hx3d {
25 namespace window {
26 
30 class Screen {
31 
32 public:
33  Screen();
34  virtual ~Screen();
35 
39  virtual void show();
43  virtual void hide();
44 
48  virtual void pause();
52  virtual void resume();
53 
59  virtual void update(float delta);
63  virtual void render();
70  virtual void resize(int width, int height);
71 
75  virtual void dispose();
76 };
77 
78 } /* window */
79 } /* hx3d */
80 
81 #endif /* HX3D_WINDOW_SCREEN */
virtual void pause()
On screen pause.
Definition: screen.cpp:32
virtual void hide()
On screen hide.
Definition: screen.cpp:30
virtual void show()
On screen show.
Definition: screen.cpp:29
hx3d framework namespace
Definition: audio.hpp:26
virtual void resume()
On screen resume.
Definition: screen.cpp:33
virtual void update(float delta)
On screen update.
Definition: screen.cpp:35
Single screen management.
Definition: screen.hpp:30
virtual void resize(int width, int height)
On screen resize.
Definition: screen.cpp:37
virtual void render()
On screen render.
Definition: screen.cpp:36
virtual void dispose()
On screen disposal.
Definition: screen.cpp:39