The Battle for Wesnoth
1.13.4+dev
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
tools
dummy_video.cpp
Go to the documentation of this file.
1
/*
2
Copyright (C) 2004 - 2016 by Philippe Plantier <
[email protected]
>
3
Part of the Battle for Wesnoth Project http://www.wesnoth.org
4
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation; either version 2 of the License, or
8
(at your option) any later version.
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY.
11
12
See the COPYING file for more details.
13
*/
14
15
/** @file */
16
17
#include "
video.hpp
"
18
#include "
sdl/utils.hpp
"
19
20
static
surface
dummy_screen_surface
(
nullptr
);
21
22
surface
&
CVideo::getSurface
()
23
{
24
return
dummy_screen_surface
;
25
}
26
27
void
update_rect
(
const
SDL_Rect&)
28
{
29
}
30
31
surface
display_format_alpha
(
surface
)
32
{
33
return
nullptr
;
34
}
35
36
surface
&
get_video_surface
()
37
{
38
return
dummy_screen_surface
;
39
}
40
dummy_screen_surface
static surface dummy_screen_surface(nullptr)
utils.hpp
video.hpp
-file util.hpp
CVideo::getSurface
surface & getSurface()
Definition:
dummy_video.cpp:22
surface
Definition:
utils.hpp:53
get_video_surface
surface & get_video_surface()
Definition:
dummy_video.cpp:36
update_rect
void update_rect(const SDL_Rect &)
Definition:
dummy_video.cpp:27
display_format_alpha
surface display_format_alpha(surface)
Definition:
dummy_video.cpp:31
Generated by
1.8.8