1 // This file has been generated by Py++.
2
3 #include "boost/python.hpp"
4 #include "generators/include/python_CEGUI.h"
5 #include "SystemKeys.pypp.hpp"
6
7 namespace bp = boost::python;
8
register_SystemKeys_class()9 void register_SystemKeys_class(){
10
11 { //::CEGUI::SystemKeys
12 typedef bp::class_< CEGUI::SystemKeys > SystemKeys_exposer_t;
13 SystemKeys_exposer_t SystemKeys_exposer = SystemKeys_exposer_t( "SystemKeys", bp::init< >() );
14 bp::scope SystemKeys_scope( SystemKeys_exposer );
15 bp::enum_< CEGUI::SystemKeys::SystemKey>("SystemKey")
16 .value("None", CEGUI::SystemKeys::None)
17 .value("LeftMouse", CEGUI::SystemKeys::LeftMouse)
18 .value("RightMouse", CEGUI::SystemKeys::RightMouse)
19 .value("Shift", CEGUI::SystemKeys::Shift)
20 .value("Control", CEGUI::SystemKeys::Control)
21 .value("MiddleMouse", CEGUI::SystemKeys::MiddleMouse)
22 .value("X1Mouse", CEGUI::SystemKeys::X1Mouse)
23 .value("X2Mouse", CEGUI::SystemKeys::X2Mouse)
24 .value("Alt", CEGUI::SystemKeys::Alt)
25 .export_values()
26 ;
27 { //::CEGUI::SystemKeys::get
28
29 typedef ::CEGUI::uint ( ::CEGUI::SystemKeys::*get_function_type )( ) const;
30
31 SystemKeys_exposer.def(
32 "get"
33 , get_function_type( &::CEGUI::SystemKeys::get ) );
34
35 }
36 { //::CEGUI::SystemKeys::isPressed
37
38 typedef bool ( ::CEGUI::SystemKeys::*isPressed_function_type )( ::CEGUI::SystemKeys::SystemKey ) const;
39
40 SystemKeys_exposer.def(
41 "isPressed"
42 , isPressed_function_type( &::CEGUI::SystemKeys::isPressed )
43 , ( bp::arg("key") ) );
44
45 }
46 { //::CEGUI::SystemKeys::keyCodeToSystemKey
47
48 typedef ::CEGUI::SystemKeys::SystemKey ( *keyCodeToSystemKey_function_type )( ::CEGUI::Key::Scan );
49
50 SystemKeys_exposer.def(
51 "keyCodeToSystemKey"
52 , keyCodeToSystemKey_function_type( &::CEGUI::SystemKeys::keyCodeToSystemKey )
53 , ( bp::arg("key") ) );
54
55 }
56 { //::CEGUI::SystemKeys::keyPressed
57
58 typedef void ( ::CEGUI::SystemKeys::*keyPressed_function_type )( ::CEGUI::Key::Scan ) ;
59
60 SystemKeys_exposer.def(
61 "keyPressed"
62 , keyPressed_function_type( &::CEGUI::SystemKeys::keyPressed )
63 , ( bp::arg("key") )
64 , "! notify that the given key was presed\n" );
65
66 }
67 { //::CEGUI::SystemKeys::keyReleased
68
69 typedef void ( ::CEGUI::SystemKeys::*keyReleased_function_type )( ::CEGUI::Key::Scan ) ;
70
71 SystemKeys_exposer.def(
72 "keyReleased"
73 , keyReleased_function_type( &::CEGUI::SystemKeys::keyReleased )
74 , ( bp::arg("key") )
75 , "! notify that the given key was presed\n\
76 ! notify that the given key was released.\n" );
77
78 }
79 { //::CEGUI::SystemKeys::mouseButtonPressed
80
81 typedef void ( ::CEGUI::SystemKeys::*mouseButtonPressed_function_type )( ::CEGUI::MouseButton ) ;
82
83 SystemKeys_exposer.def(
84 "mouseButtonPressed"
85 , mouseButtonPressed_function_type( &::CEGUI::SystemKeys::mouseButtonPressed )
86 , ( bp::arg("button") )
87 , "! notify that the given key was released.\n\
88 ! notify that the given mouse button was pressed.\n" );
89
90 }
91 { //::CEGUI::SystemKeys::mouseButtonReleased
92
93 typedef void ( ::CEGUI::SystemKeys::*mouseButtonReleased_function_type )( ::CEGUI::MouseButton ) ;
94
95 SystemKeys_exposer.def(
96 "mouseButtonReleased"
97 , mouseButtonReleased_function_type( &::CEGUI::SystemKeys::mouseButtonReleased )
98 , ( bp::arg("button") )
99 , "! notify that the given mouse button was pressed.\n\
100 ! notify that the given mouse button was released.\n" );
101
102 }
103 { //::CEGUI::SystemKeys::mouseButtonToSystemKey
104
105 typedef ::CEGUI::SystemKeys::SystemKey ( *mouseButtonToSystemKey_function_type )( ::CEGUI::MouseButton );
106
107 SystemKeys_exposer.def(
108 "mouseButtonToSystemKey"
109 , mouseButtonToSystemKey_function_type( &::CEGUI::SystemKeys::mouseButtonToSystemKey )
110 , ( bp::arg("button") ) );
111
112 }
113 { //::CEGUI::SystemKeys::reset
114
115 typedef void ( ::CEGUI::SystemKeys::*reset_function_type )( ) ;
116
117 SystemKeys_exposer.def(
118 "reset"
119 , reset_function_type( &::CEGUI::SystemKeys::reset ) );
120
121 }
122 SystemKeys_exposer.staticmethod( "keyCodeToSystemKey" );
123 SystemKeys_exposer.staticmethod( "mouseButtonToSystemKey" );
124 }
125
126 }
127