1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
4 // This source file has been modified by the following contributors:
5 // Copyright (C) 2013 Laszlo KIS-ADAM (dfighter) <dfighter1985@gmail.com>
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/>.
22 #include "nel/gui/reflect_register.h"
24 #include "nel/gui/interface_element.h"
25 #include "nel/gui/view_base.h"
26 #include "nel/gui/view_text.h"
27 #include "nel/gui/view_text_id.h"
28 #include "nel/gui/view_bitmap.h"
29 #include "nel/gui/group_submenu_base.h"
30 #include "nel/gui/group_menu.h"
31 #include "nel/gui/ctrl_base.h"
32 #include "nel/gui/interface_group.h"
33 #include "nel/gui/group_frame.h"
34 #include "nel/gui/group_container_base.h"
35 #include "nel/gui/group_container.h"
36 #include "nel/gui/group_list.h"
37 #include "nel/gui/dbgroup_select_number.h"
38 #include "nel/gui/ctrl_button.h"
39 #include "nel/gui/ctrl_text_button.h"
40 #include "nel/gui/ctrl_col_pick.h"
41 #include "nel/gui/ctrl_draggable.h"
42 #include "nel/gui/group_editbox_base.h"
43 #include "nel/gui/group_editbox.h"
44 #include "nel/gui/group_tree.h"
45 #include "nel/gui/reflect.h"
46 #include "nel/gui/dbview_bar.h"
47 #include "nel/gui/dbview_bar3.h"
48 #include "nel/gui/ctrl_scroll_base.h"
49 #include "nel/gui/ctrl_scroll.h"
50 #include "nel/gui/dbgroup_combo_box.h"
51 #include "nel/gui/group_tab.h"
52 #include "nel/gui/group_html.h"
53 #include "nel/gui/group_header.h"
61 void CReflectableRegister::registerClasses()
63 REGISTER_REFLECTABLE_CLASS(CInterfaceElement
, CReflectable
);
64 REGISTER_REFLECTABLE_CLASS(CViewBase
, CInterfaceElement
);
65 REGISTER_REFLECTABLE_CLASS(CViewText
, CViewBase
);
66 REGISTER_REFLECTABLE_CLASS(CViewTextID
, CViewText
);
67 REGISTER_REFLECTABLE_CLASS(CViewBitmap
, CViewBase
);
68 REGISTER_REFLECTABLE_CLASS(CViewTextMenu
, CViewText
);
69 REGISTER_REFLECTABLE_CLASS(CDBViewBar
, CViewBitmap
);
70 REGISTER_REFLECTABLE_CLASS(CDBViewBar3
, CViewBitmap
);
71 REGISTER_REFLECTABLE_CLASS(CCtrlBase
, CViewBase
);
72 REGISTER_REFLECTABLE_CLASS(CCtrlBaseButton
, CCtrlBase
);
73 REGISTER_REFLECTABLE_CLASS(CCtrlButton
, CCtrlBaseButton
);
74 REGISTER_REFLECTABLE_CLASS(CCtrlTextButton
, CCtrlBaseButton
);
75 REGISTER_REFLECTABLE_CLASS(CCtrlColPick
, CCtrlBase
);
76 REGISTER_REFLECTABLE_CLASS(CCtrlDraggable
, CCtrlBase
);
77 REGISTER_REFLECTABLE_CLASS(CInterfaceGroup
, CCtrlBase
);
78 REGISTER_REFLECTABLE_CLASS(CGroupFrame
, CInterfaceGroup
);
79 REGISTER_REFLECTABLE_CLASS(CGroupModal
, CGroupFrame
);
80 REGISTER_REFLECTABLE_CLASS(CGroupContainerBase
, CInterfaceGroup
);
81 REGISTER_REFLECTABLE_CLASS(CGroupContainer
, CGroupContainerBase
);
82 REGISTER_REFLECTABLE_CLASS(CDBGroupSelectNumber
, CInterfaceGroup
);
83 REGISTER_REFLECTABLE_CLASS(CGroupEditBoxBase
, CInterfaceGroup
);
84 REGISTER_REFLECTABLE_CLASS(CGroupEditBox
, CGroupEditBoxBase
);
85 REGISTER_REFLECTABLE_CLASS(CGroupTree
, CInterfaceGroup
);
86 REGISTER_REFLECTABLE_CLASS(CDBGroupComboBox
, CInterfaceGroup
);
87 REGISTER_REFLECTABLE_CLASS(CCtrlScrollBase
, CCtrlBase
);
88 REGISTER_REFLECTABLE_CLASS(CCtrlScroll
, CCtrlScrollBase
);
89 REGISTER_REFLECTABLE_CLASS(CGroupMenu
, CGroupModal
);
90 REGISTER_REFLECTABLE_CLASS(CGroupSubMenuBase
, CGroupFrame
);
91 REGISTER_REFLECTABLE_CLASS(CGroupSubMenu
, CGroupSubMenuBase
);
92 REGISTER_REFLECTABLE_CLASS(CGroupTab
, CInterfaceGroup
);
93 REGISTER_REFLECTABLE_CLASS(CGroupScrollText
, CInterfaceGroup
);
94 REGISTER_REFLECTABLE_CLASS(CGroupHTML
, CGroupScrollText
);
95 REGISTER_REFLECTABLE_CLASS(CGroupTree::SNode
, CReflectable
);
96 REGISTER_REFLECTABLE_CLASS(CGroupList
, CInterfaceGroup
);
97 REGISTER_REFLECTABLE_CLASS(CGroupHeader
, CGroupList
);