Fix css style order when using external css files
[ryzomcore.git] / ryzom / client / src / interfaces_manager / bitmap.h
blobb63eea96e03221280df40b8b3321f2ebb3448b5b
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_BITMAP_H
20 #define CL_BITMAP_H
23 //////////////
24 // Includes //
25 //////////////
26 // Misc.
27 #include "nel/misc/types_nl.h"
28 // Client.
29 #include "control.h"
30 #include "bitmap_base.h"
31 #include "osd.h"
34 /**
35 * Manages "Bitmap" control in Interface.
36 * \author Guillaume PUZIN
37 * \author Nevrax France
38 * \date 2001
40 class CBitm : public CControl, public CBitmapBase
42 private:
43 /// Initialize the button (1 function called for all constructors -> easier).
44 inline void init();
46 public:
47 /// Constructor
48 CBitm(uint id = 0);
49 CBitm(uint id, float x, float y, float x_pixel, float y_pixel, float w, float h, float w_pixel, float h_pixel, const CBitmapBase &bitmapBase);
50 CBitm(uint id, float x, float y, float x_pixel, float y_pixel, float w, float h, float w_pixel, float h_pixel, uint texture, const CRGBA &rgba);
52 /// Display the Bitmap.
53 virtual void display();
57 #endif // CL_BITMAP_H
59 /* End of bitmap.h */