tests/utils/fake_display.hpp

Go to the documentation of this file.
00001 /* $Id: fake_display.hpp 52533 2012-01-07 02:35:17Z shadowmaster $ */
00002 /*
00003    Copyright (C) 2008 - 2012 by Pauli Nieminen <paniemin@cc.hut.fi>
00004    Part of the Battle for Wesnoth Project http://www.wesnoth.org/
00005 
00006    This program is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License as published by
00008    the Free Software Foundation; either version 2 of the License, or
00009    (at your option) any later version.
00010    This program is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY.
00012 
00013    See the COPYING file for more details.
00014 */
00015 
00016 #ifndef TESTS_UTILS_FAKE_DISPLAY_HPP_INCLUDED
00017 #define TESTS_UTILS_FAKE_DISPLAY_HPP_INCLUDED
00018 
00019 class game_display;
00020 
00021 namespace test_utils {
00022 
00023     /**
00024      * Gets a fake test display.
00025      *
00026      * The width and height parameter are ignored if either of them is less
00027      * than zero.
00028      *
00029      * @param width               The width of the display.
00030      * @param height              The height of the dislay.
00031      *
00032      * @returns                   The display.
00033      */
00034     game_display& get_fake_display(
00035             const int width, const int height);
00036 
00037 
00038 }
00039 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:02:54 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs