The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
layout_exception.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2009 - 2016 by Mark de Wever <[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 /**
16  * @file
17  * Defines the exception classes for the layout algorithm.
18  */
19 
20 #ifndef GUI_AUXILIRY_LAYOUT_EXCEPTION_HPP_INCLUDED
21 #define GUI_AUXILIRY_LAYOUT_EXCEPTION_HPP_INCLUDED
22 
23 namespace gui2
24 {
25 
26 /**
27  * Exception thrown when the width has been modified during resizing.
28  *
29  * See layout_algorithm for more information.
30  */
32 {
33 };
34 
35 /** Basic exception when the layout doesn't fit. */
37 {
38 };
39 
40 /**
41  * Exception thrown when the width resizing has failed.
42  *
43  * See layout_algorithm for more information.
44  */
47 {
48 };
49 
50 /**
51  * Exception thrown when the height resizing has failed.
52  *
53  * See layout_algorithm for more information.
54  */
57 {
58 };
59 
60 } // namespace gui2
61 
62 #endif
A class inherited from ttext_box that displays its input as stars.
Definition: field-fwd.hpp:23
Exception thrown when the width has been modified during resizing.
Exception thrown when the width resizing has failed.
Basic exception when the layout doesn't fit.
Exception thrown when the height resizing has failed.