1 // This file has been generated by Py++.
2
3 #include "boost/python.hpp"
4 #include "generators/include/python_CEGUI.h"
5 #include "UBox.pypp.hpp"
6
7 namespace bp = boost::python;
8
register_UBox_class()9 void register_UBox_class(){
10
11 { //::CEGUI::UBox
12 typedef bp::class_< CEGUI::UBox > UBox_exposer_t;
13 UBox_exposer_t UBox_exposer = UBox_exposer_t( "UBox", bp::init< >() );
14 bp::scope UBox_scope( UBox_exposer );
15 UBox_exposer.def( bp::init< CEGUI::UDim const & >(( bp::arg("margin") )) );
16 bp::implicitly_convertible< CEGUI::UDim const &, CEGUI::UBox >();
17 UBox_exposer.def( bp::init< CEGUI::UDim const &, CEGUI::UDim const &, CEGUI::UDim const &, CEGUI::UDim const & >(( bp::arg("top"), bp::arg("left"), bp::arg("bottom"), bp::arg("right") )) );
18 UBox_exposer.def( bp::init< CEGUI::UBox const & >(( bp::arg("b") )) );
19 UBox_exposer.def( bp::self != bp::self );
20 UBox_exposer.def( bp::self * bp::other< float >() );
21 UBox_exposer.def( bp::self * bp::other< CEGUI::UDim >() );
22 UBox_exposer.def( bp::self + bp::self );
23 { //::CEGUI::UBox::operator=
24
25 typedef ::CEGUI::UBox & ( ::CEGUI::UBox::*assign_function_type )( ::CEGUI::UBox const & ) ;
26
27 UBox_exposer.def(
28 "assign"
29 , assign_function_type( &::CEGUI::UBox::operator= )
30 , ( bp::arg("rhs") )
31 , bp::return_self< >() );
32
33 }
34 UBox_exposer.def( bp::self == bp::self );
35 UBox_exposer.def_readwrite( "d_bottom", &CEGUI::UBox::d_bottom );
36 UBox_exposer.def_readwrite( "d_left", &CEGUI::UBox::d_left, "*************************************************************************\n\
37 Data Fields\n\
38 *************************************************************************\n" );
39 UBox_exposer.def_readwrite( "d_right", &CEGUI::UBox::d_right );
40 UBox_exposer.def_readwrite( "d_top", &CEGUI::UBox::d_top, "*************************************************************************\n\
41 Data Fields\n\
42 *************************************************************************\n" );
43 }
44
45 }
46