Linux multi-monitor fullscreen support
[ryzomcore.git] / ryzom / client / src / interfaces_manager / pen.h
blob9fc4f10db040e3cae0e76d62b3769e1a4ec74848
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef CL_PEN_H
20 #define CL_PEN_H
22 /////////////
23 // Include //
24 /////////////
25 //Misc
26 #include "nel/misc/types_nl.h"
27 #include "nel/misc/rgba.h"
30 ///////////
31 // Using //
32 ///////////
33 using NLMISC::CRGBA;
35 /**
36 * Class to manage a Pen.
37 * \author Guillaume PUZIN
38 * \author Nevrax France
39 * \date 2001
41 class CPen
43 protected:
44 uint32 _FontSize;
45 CRGBA _Color;
46 bool _Shadow;
48 public:
49 /// Constructor
50 CPen();
51 CPen(uint32 fontSize, CRGBA color, bool shadow);
53 /// Get the font size.
54 uint32 fontSize() const;
55 /// Set the font size.
56 void fontSize(uint32 fs);
58 /// Get the pen color.
59 CRGBA color() const;
60 /// Set the pen color.
61 void color(CRGBA color);
63 /// Get the shadow state.
64 bool shadow() const;
65 /// Set the shadow state.
66 void shadow(bool s);
70 #endif // CL_PEN_H
72 /* End of pen.h */