| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | #include <osgIntrospection/ReflectionMacros> |
|---|
| 9 | #include <osgIntrospection/TypedMethodInfo> |
|---|
| 10 | #include <osgIntrospection/StaticMethodInfo> |
|---|
| 11 | #include <osgIntrospection/Attributes> |
|---|
| 12 | |
|---|
| 13 | #include <osg/Drawable> |
|---|
| 14 | #include <osgWidget/Input> |
|---|
| 15 | #include <osgWidget/Types> |
|---|
| 16 | #include <osgWidget/Widget> |
|---|
| 17 | #include <osgWidget/Window> |
|---|
| 18 | #include <osgWidget/WindowManager> |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | #ifdef IN |
|---|
| 22 | #undef IN |
|---|
| 23 | #endif |
|---|
| 24 | #ifdef OUT |
|---|
| 25 | #undef OUT |
|---|
| 26 | #endif |
|---|
| 27 | |
|---|
| 28 | BEGIN_OBJECT_REFLECTOR(osgWidget::Input) |
|---|
| 29 | I_DeclaringFile("osgWidget/Input"); |
|---|
| 30 | I_BaseType(osgWidget::Label); |
|---|
| 31 | I_ConstructorWithDefaults3(IN, const std::string &, x, "", IN, const std::string &, x, "", IN, unsigned, int, 20, |
|---|
| 32 | ____Input__C5_std_string_R1__C5_std_string_R1__unsigned, |
|---|
| 33 | "", |
|---|
| 34 | ""); |
|---|
| 35 | I_Method1(void, parented, IN, osgWidget::Window *, x, |
|---|
| 36 | Properties::VIRTUAL, |
|---|
| 37 | __void__parented__Window_P1, |
|---|
| 38 | "", |
|---|
| 39 | ""); |
|---|
| 40 | I_Method0(void, positioned, |
|---|
| 41 | Properties::VIRTUAL, |
|---|
| 42 | __void__positioned, |
|---|
| 43 | "", |
|---|
| 44 | ""); |
|---|
| 45 | I_Method1(bool, focus, IN, const osgWidget::WindowManager *, x, |
|---|
| 46 | Properties::VIRTUAL, |
|---|
| 47 | __bool__focus__C5_WindowManager_P1, |
|---|
| 48 | "", |
|---|
| 49 | ""); |
|---|
| 50 | I_Method1(bool, unfocus, IN, const osgWidget::WindowManager *, x, |
|---|
| 51 | Properties::VIRTUAL, |
|---|
| 52 | __bool__unfocus__C5_WindowManager_P1, |
|---|
| 53 | "", |
|---|
| 54 | ""); |
|---|
| 55 | I_Method3(bool, keyUp, IN, int, x, IN, int, x, IN, const osgWidget::WindowManager *, x, |
|---|
| 56 | Properties::VIRTUAL, |
|---|
| 57 | __bool__keyUp__int__int__C5_WindowManager_P1, |
|---|
| 58 | "", |
|---|
| 59 | ""); |
|---|
| 60 | I_Method3(bool, keyDown, IN, int, x, IN, int, x, IN, const osgWidget::WindowManager *, x, |
|---|
| 61 | Properties::VIRTUAL, |
|---|
| 62 | __bool__keyDown__int__int__C5_WindowManager_P1, |
|---|
| 63 | "", |
|---|
| 64 | ""); |
|---|
| 65 | I_Method1(void, setCursor, IN, osgWidget::Widget *, x, |
|---|
| 66 | Properties::NON_VIRTUAL, |
|---|
| 67 | __void__setCursor__Widget_P1, |
|---|
| 68 | "", |
|---|
| 69 | ""); |
|---|
| 70 | I_MethodWithDefaults1(unsigned int, calculateBestYOffset, IN, const std::string &, x, "qgl", |
|---|
| 71 | Properties::NON_VIRTUAL, |
|---|
| 72 | __unsigned_int__calculateBestYOffset__C5_std_string_R1, |
|---|
| 73 | "", |
|---|
| 74 | ""); |
|---|
| 75 | I_Method1(void, setXOffset, IN, osgWidget::point_type, xo, |
|---|
| 76 | Properties::NON_VIRTUAL, |
|---|
| 77 | __void__setXOffset__point_type, |
|---|
| 78 | "", |
|---|
| 79 | ""); |
|---|
| 80 | I_Method1(void, setYOffset, IN, osgWidget::point_type, yo, |
|---|
| 81 | Properties::NON_VIRTUAL, |
|---|
| 82 | __void__setYOffset__point_type, |
|---|
| 83 | "", |
|---|
| 84 | ""); |
|---|
| 85 | I_Method2(void, setXYOffset, IN, osgWidget::point_type, xo, IN, osgWidget::point_type, yo, |
|---|
| 86 | Properties::NON_VIRTUAL, |
|---|
| 87 | __void__setXYOffset__point_type__point_type, |
|---|
| 88 | "", |
|---|
| 89 | ""); |
|---|
| 90 | I_Method0(osg::Drawable *, getCursor, |
|---|
| 91 | Properties::NON_VIRTUAL, |
|---|
| 92 | __osg_Drawable_P1__getCursor, |
|---|
| 93 | "", |
|---|
| 94 | ""); |
|---|
| 95 | I_Method0(const osg::Drawable *, getCursor, |
|---|
| 96 | Properties::NON_VIRTUAL, |
|---|
| 97 | __C5_osg_Drawable_P1__getCursor, |
|---|
| 98 | "", |
|---|
| 99 | ""); |
|---|
| 100 | I_Method0(osgWidget::point_type, getXOffset, |
|---|
| 101 | Properties::NON_VIRTUAL, |
|---|
| 102 | __point_type__getXOffset, |
|---|
| 103 | "", |
|---|
| 104 | ""); |
|---|
| 105 | I_Method0(osgWidget::point_type, getYOffset, |
|---|
| 106 | Properties::NON_VIRTUAL, |
|---|
| 107 | __point_type__getYOffset, |
|---|
| 108 | "", |
|---|
| 109 | ""); |
|---|
| 110 | I_Method0(osgWidget::XYCoord, getXYOffset, |
|---|
| 111 | Properties::NON_VIRTUAL, |
|---|
| 112 | __XYCoord__getXYOffset, |
|---|
| 113 | "", |
|---|
| 114 | ""); |
|---|
| 115 | I_ProtectedMethod1(void, _calculateSize, IN, const osgWidget::XYCoord &, x, |
|---|
| 116 | Properties::VIRTUAL, |
|---|
| 117 | Properties::NON_CONST, |
|---|
| 118 | __void___calculateSize__C5_XYCoord_R1, |
|---|
| 119 | "", |
|---|
| 120 | ""); |
|---|
| 121 | I_ProtectedMethod0(void, _calculateCursorOffsets, |
|---|
| 122 | Properties::NON_VIRTUAL, |
|---|
| 123 | Properties::NON_CONST, |
|---|
| 124 | __void___calculateCursorOffsets, |
|---|
| 125 | "", |
|---|
| 126 | ""); |
|---|
| 127 | I_SimpleProperty(osg::Drawable *, Cursor, |
|---|
| 128 | __osg_Drawable_P1__getCursor, |
|---|
| 129 | 0); |
|---|
| 130 | I_SimpleProperty(osgWidget::point_type, XOffset, |
|---|
| 131 | __point_type__getXOffset, |
|---|
| 132 | __void__setXOffset__point_type); |
|---|
| 133 | I_SimpleProperty(osgWidget::XYCoord, XYOffset, |
|---|
| 134 | __XYCoord__getXYOffset, |
|---|
| 135 | 0); |
|---|
| 136 | I_SimpleProperty(osgWidget::point_type, YOffset, |
|---|
| 137 | __point_type__getYOffset, |
|---|
| 138 | __void__setYOffset__point_type); |
|---|
| 139 | END_REFLECTOR |
|---|