Linux multi-monitor fullscreen support
[ryzomcore.git] / ryzom / client / src / r2 / entity_custom_select_box.h
blob9a3e04e1e896720e579288833e43484dc384ebf2
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This source file has been modified by the following contributors:
5 // Copyright (C) 2013 Laszlo KIS-ADAM (dfighter) <dfighter1985@gmail.com>
6 //
7 // This program is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU Affero General Public License as
9 // published by the Free Software Foundation, either version 3 of the
10 // License, or (at your option) any later version.
12 // This program is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU Affero General Public License for more details.
17 // You should have received a copy of the GNU Affero General Public License
18 // along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef R2_ENTITY_CUSTOM_SELECT_BOX_H
21 #define R2_ENTITY_CUSTOM_SELECT_BOX_H
23 #include "nel/misc/aabbox.h"
24 #include "nel/gui/lua_object.h"
25 #include <map>
27 namespace NLGUI
29 class CLuaObject;
32 using namespace NLGUI;
34 namespace R2
37 class CEntityCustomSelectBox
39 public:
40 bool Enabled;
41 NLMISC::CAABBox Box;
42 public:
43 CEntityCustomSelectBox() : Enabled(false) {}
44 void toTable(CLuaObject &table);
45 void fromTable(CLuaObject &table);
48 typedef std::map<std::string, CEntityCustomSelectBox> TEntityCustomSelectBoxMap;
52 #endif