Renamed enums in osgWidget from ALLCAPITALS to normal OSG conventional of AllCapital

This commit is contained in:
Robert Osfield
2008-07-25 20:50:42 +00:00
parent eed365aef4
commit 5cac386fa6
12 changed files with 192 additions and 192 deletions

View File

@@ -28,9 +28,9 @@ BEGIN_VALUE_REFLECTOR(osgWidget::Callback)
I_Constructor0(____Callback,
"",
"");
I_Method0(osgWidget::EVENT_TYPE, getType,
I_Method0(osgWidget::EventType, getType,
Properties::NON_VIRTUAL,
__EVENT_TYPE__getType,
__EventType__getType,
"",
"");
I_Method0(void *, getData,
@@ -46,8 +46,8 @@ BEGIN_VALUE_REFLECTOR(osgWidget::Callback)
I_SimpleProperty(void *, Data,
__void_P1__getData,
0);
I_SimpleProperty(osgWidget::EVENT_TYPE, Type,
__EVENT_TYPE__getType,
I_SimpleProperty(osgWidget::EventType, Type,
__EventType__getType,
0);
END_REFLECTOR
@@ -61,23 +61,23 @@ END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgWidget::Event)
I_DeclaringFile("osgWidget/EventInterface");
I_ConstructorWithDefaults2(IN, osgWidget::WindowManager *, wm, , IN, osgWidget::EVENT_TYPE, _type, osgWidget::EVENT_NONE,
____Event__WindowManager_P1__EVENT_TYPE,
I_ConstructorWithDefaults2(IN, osgWidget::WindowManager *, wm, , IN, osgWidget::EventType, _type, osgWidget::EVENT_NONE,
____Event__WindowManager_P1__EventType,
"",
"");
I_Method1(osgWidget::Event &, makeType, IN, osgWidget::EVENT_TYPE, _type,
I_Method1(osgWidget::Event &, makeType, IN, osgWidget::EventType, _type,
Properties::NON_VIRTUAL,
__Event_R1__makeType__EVENT_TYPE,
__Event_R1__makeType__EventType,
"",
"");
I_MethodWithDefaults3(osgWidget::Event &, makeMouse, IN, double, _x, , IN, double, _y, , IN, osgWidget::EVENT_TYPE, _type, osgWidget::EVENT_NONE,
I_MethodWithDefaults3(osgWidget::Event &, makeMouse, IN, double, _x, , IN, double, _y, , IN, osgWidget::EventType, _type, osgWidget::EVENT_NONE,
Properties::NON_VIRTUAL,
__Event_R1__makeMouse__double__double__EVENT_TYPE,
__Event_R1__makeMouse__double__double__EventType,
"",
"");
I_MethodWithDefaults3(osgWidget::Event &, makeKey, IN, int, _key, , IN, int, _keyMask, , IN, osgWidget::EVENT_TYPE, _type, osgWidget::EVENT_NONE,
I_MethodWithDefaults3(osgWidget::Event &, makeKey, IN, int, _key, , IN, int, _keyMask, , IN, osgWidget::EventType, _type, osgWidget::EVENT_NONE,
Properties::NON_VIRTUAL,
__Event_R1__makeKey__int__int__EVENT_TYPE,
__Event_R1__makeKey__int__int__EventType,
"",
"");
I_Method0(osgWidget::WindowManager *, getWindowManager,
@@ -137,7 +137,7 @@ BEGIN_VALUE_REFLECTOR(osgWidget::Event)
I_SimpleProperty(osgWidget::WindowManager *, WindowManager,
__WindowManager_P1__getWindowManager,
0);
I_PublicMemberProperty(osgWidget::EVENT_TYPE, type);
I_PublicMemberProperty(osgWidget::EventType, type);
I_PublicMemberProperty(double, x);
I_PublicMemberProperty(double, y);
I_PublicMemberProperty(int, key);
@@ -304,7 +304,7 @@ BEGIN_VALUE_REFLECTOR(osgWidget::EventInterface)
__void__setEventMask__unsigned_int);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgWidget::EVENT_TYPE)
BEGIN_ENUM_REFLECTOR(osgWidget::EventType)
I_DeclaringFile("osgWidget/EventInterface");
I_EnumLabel(osgWidget::EVENT_NONE);
I_EnumLabel(osgWidget::EVENT_FOCUS);
@@ -321,7 +321,7 @@ BEGIN_ENUM_REFLECTOR(osgWidget::EVENT_TYPE)
I_EnumLabel(osgWidget::EVENT_ALL);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgWidget::EVENT_MASK)
BEGIN_ENUM_REFLECTOR(osgWidget::EventMask)
I_DeclaringFile("osgWidget/EventInterface");
I_EnumLabel(osgWidget::EVENT_MASK_FOCUS);
I_EnumLabel(osgWidget::EVENT_MASK_MOUSE_MOVE);

View File

@@ -119,20 +119,20 @@ BEGIN_OBJECT_REFLECTOR(osgWidget::Style)
__C5_std_string_R1__getStyle,
"",
"");
I_StaticMethod1(osgWidget::Widget::LAYER, strToLayer, IN, const std::string &, x,
__Widget_LAYER__strToLayer__C5_std_string_R1_S,
I_StaticMethod1(osgWidget::Widget::Layer, strToLayer, IN, const std::string &, x,
__Widget_Layer__strToLayer__C5_std_string_R1_S,
"",
"");
I_StaticMethod1(osgWidget::Widget::VERTICAL_ALIGNMENT, strToVAlign, IN, const std::string &, x,
__Widget_VERTICAL_ALIGNMENT__strToVAlign__C5_std_string_R1_S,
I_StaticMethod1(osgWidget::Widget::VerticalAlignment, strToVAlign, IN, const std::string &, x,
__Widget_VerticalAlignment__strToVAlign__C5_std_string_R1_S,
"",
"");
I_StaticMethod1(osgWidget::Widget::HORIZONTAL_ALIGNMENT, strToHAlign, IN, const std::string &, x,
__Widget_HORIZONTAL_ALIGNMENT__strToHAlign__C5_std_string_R1_S,
I_StaticMethod1(osgWidget::Widget::HorizontalAlignment, strToHAlign, IN, const std::string &, x,
__Widget_HorizontalAlignment__strToHAlign__C5_std_string_R1_S,
"",
"");
I_StaticMethod1(osgWidget::Widget::COORDINATE_MODE, strToCoordMode, IN, const std::string &, x,
__Widget_COORDINATE_MODE__strToCoordMode__C5_std_string_R1_S,
I_StaticMethod1(osgWidget::Widget::CoordinateMode, strToCoordMode, IN, const std::string &, x,
__Widget_CoordinateMode__strToCoordMode__C5_std_string_R1_S,
"",
"");
I_StaticMethod1(bool, strToFill, IN, const std::string &, x,

View File

@@ -212,7 +212,7 @@ BEGIN_OBJECT_REFLECTOR(osgWidget::NullWidget)
"");
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgWidget::Widget::POINT)
BEGIN_ENUM_REFLECTOR(osgWidget::Widget::Corner)
I_DeclaringFile("osgWidget/Widget");
I_EnumLabel(osgWidget::Widget::LOWER_LEFT);
I_EnumLabel(osgWidget::Widget::LOWER_RIGHT);
@@ -222,10 +222,10 @@ BEGIN_ENUM_REFLECTOR(osgWidget::Widget::POINT)
I_EnumLabel(osgWidget::Widget::LR);
I_EnumLabel(osgWidget::Widget::UR);
I_EnumLabel(osgWidget::Widget::UL);
I_EnumLabel(osgWidget::Widget::ALL_POINTS);
I_EnumLabel(osgWidget::Widget::ALL_CORNERS);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgWidget::Widget::LAYER)
BEGIN_ENUM_REFLECTOR(osgWidget::Widget::Layer)
I_DeclaringFile("osgWidget/Widget");
I_EnumLabel(osgWidget::Widget::LAYER_TOP);
I_EnumLabel(osgWidget::Widget::LAYER_HIGH);
@@ -234,21 +234,21 @@ BEGIN_ENUM_REFLECTOR(osgWidget::Widget::LAYER)
I_EnumLabel(osgWidget::Widget::LAYER_BG);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgWidget::Widget::VERTICAL_ALIGNMENT)
BEGIN_ENUM_REFLECTOR(osgWidget::Widget::VerticalAlignment)
I_DeclaringFile("osgWidget/Widget");
I_EnumLabel(osgWidget::Widget::VA_CENTER);
I_EnumLabel(osgWidget::Widget::VA_TOP);
I_EnumLabel(osgWidget::Widget::VA_BOTTOM);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgWidget::Widget::HORIZONTAL_ALIGNMENT)
BEGIN_ENUM_REFLECTOR(osgWidget::Widget::HorizontalAlignment)
I_DeclaringFile("osgWidget/Widget");
I_EnumLabel(osgWidget::Widget::HA_CENTER);
I_EnumLabel(osgWidget::Widget::HA_LEFT);
I_EnumLabel(osgWidget::Widget::HA_RIGHT);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgWidget::Widget::COORDINATE_MODE)
BEGIN_ENUM_REFLECTOR(osgWidget::Widget::CoordinateMode)
I_DeclaringFile("osgWidget/Widget");
I_EnumLabel(osgWidget::Widget::CM_ABSOLUTE);
I_EnumLabel(osgWidget::Widget::CM_RELATIVE);
@@ -332,19 +332,19 @@ BEGIN_OBJECT_REFLECTOR(osgWidget::Widget)
__void__setPadding__point_type,
"",
"");
I_MethodWithDefaults5(void, setColor, IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::Widget::POINT, x, osgWidget::Widget::ALL_POINTS,
I_MethodWithDefaults5(void, setColor, IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::Widget::Corner, x, osgWidget::Widget::ALL_CORNERS,
Properties::NON_VIRTUAL,
__void__setColor__color_type__color_type__color_type__color_type__POINT,
__void__setColor__color_type__color_type__color_type__color_type__Corner,
"",
"");
I_MethodWithDefaults5(void, addColor, IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::Widget::POINT, x, osgWidget::Widget::ALL_POINTS,
I_MethodWithDefaults5(void, addColor, IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::Widget::Corner, x, osgWidget::Widget::ALL_CORNERS,
Properties::NON_VIRTUAL,
__void__addColor__color_type__color_type__color_type__color_type__POINT,
__void__addColor__color_type__color_type__color_type__color_type__Corner,
"",
"");
I_MethodWithDefaults3(void, setTexCoord, IN, osgWidget::texcoord_type, x, , IN, osgWidget::texcoord_type, x, , IN, osgWidget::Widget::POINT, x, osgWidget::Widget::ALL_POINTS,
I_MethodWithDefaults3(void, setTexCoord, IN, osgWidget::texcoord_type, x, , IN, osgWidget::texcoord_type, x, , IN, osgWidget::Widget::Corner, x, osgWidget::Widget::ALL_CORNERS,
Properties::NON_VIRTUAL,
__void__setTexCoord__texcoord_type__texcoord_type__POINT,
__void__setTexCoord__texcoord_type__texcoord_type__Corner,
"",
"");
I_Method4(void, setTexCoordRegion, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x,
@@ -437,24 +437,24 @@ BEGIN_OBJECT_REFLECTOR(osgWidget::Widget)
__point_type__getPadVertical,
"",
"");
I_MethodWithDefaults1(const osgWidget::Point &, getPoint, IN, osgWidget::Widget::POINT, x, osgWidget::Widget::ALL_POINTS,
I_MethodWithDefaults1(const osgWidget::Point &, getPoint, IN, osgWidget::Widget::Corner, x, osgWidget::Widget::ALL_CORNERS,
Properties::NON_VIRTUAL,
__C5_Point_R1__getPoint__POINT,
__C5_Point_R1__getPoint__Corner,
"",
"");
I_MethodWithDefaults1(const osgWidget::Color &, getColor, IN, osgWidget::Widget::POINT, x, osgWidget::Widget::ALL_POINTS,
I_MethodWithDefaults1(const osgWidget::Color &, getColor, IN, osgWidget::Widget::Corner, x, osgWidget::Widget::ALL_CORNERS,
Properties::NON_VIRTUAL,
__C5_Color_R1__getColor__POINT,
__C5_Color_R1__getColor__Corner,
"",
"");
I_MethodWithDefaults1(const osgWidget::TexCoord &, getTexCoord, IN, osgWidget::Widget::POINT, x, osgWidget::Widget::ALL_POINTS,
I_MethodWithDefaults1(const osgWidget::TexCoord &, getTexCoord, IN, osgWidget::Widget::Corner, x, osgWidget::Widget::ALL_CORNERS,
Properties::NON_VIRTUAL,
__C5_TexCoord_R1__getTexCoord__POINT,
__C5_TexCoord_R1__getTexCoord__Corner,
"",
"");
I_Method1(osgWidget::Widget::POINT, convertPoint, IN, osgWidget::Widget::POINT, x,
I_Method1(osgWidget::Widget::Corner, convertCorner, IN, osgWidget::Widget::Corner, x,
Properties::NON_VIRTUAL,
__POINT__convertPoint__POINT,
__Corner__convertCorner__Corner,
"",
"");
I_Method2(osgWidget::Color, getImageColorAtXY, IN, osgWidget::point_type, x, IN, osgWidget::point_type, y,
@@ -532,14 +532,14 @@ BEGIN_OBJECT_REFLECTOR(osgWidget::Widget)
__void__setSize__C5_XYCoord_R1,
"",
"");
I_MethodWithDefaults2(void, setColor, IN, const osgWidget::Color &, col, , IN, osgWidget::Widget::POINT, p, osgWidget::Widget::ALL_POINTS,
I_MethodWithDefaults2(void, setColor, IN, const osgWidget::Color &, col, , IN, osgWidget::Widget::Corner, p, osgWidget::Widget::ALL_CORNERS,
Properties::NON_VIRTUAL,
__void__setColor__C5_Color_R1__POINT,
__void__setColor__C5_Color_R1__Corner,
"",
"");
I_MethodWithDefaults2(void, setTexCoord, IN, const osgWidget::XYCoord &, xy, , IN, osgWidget::Widget::POINT, p, osgWidget::Widget::ALL_POINTS,
I_MethodWithDefaults2(void, setTexCoord, IN, const osgWidget::XYCoord &, xy, , IN, osgWidget::Widget::Corner, p, osgWidget::Widget::ALL_CORNERS,
Properties::NON_VIRTUAL,
__void__setTexCoord__C5_XYCoord_R1__POINT,
__void__setTexCoord__C5_XYCoord_R1__Corner,
"",
"");
I_Method3(void, setTexCoordRegion, IN, const osgWidget::XYCoord &, xy, IN, osgWidget::point_type, w, IN, osgWidget::point_type, h,
@@ -547,9 +547,9 @@ BEGIN_OBJECT_REFLECTOR(osgWidget::Widget)
__void__setTexCoordRegion__C5_XYCoord_R1__point_type__point_type,
"",
"");
I_MethodWithDefaults2(void, addColor, IN, const osgWidget::Color &, col, , IN, osgWidget::Widget::POINT, p, osgWidget::Widget::ALL_POINTS,
I_MethodWithDefaults2(void, addColor, IN, const osgWidget::Color &, col, , IN, osgWidget::Widget::Corner, p, osgWidget::Widget::ALL_CORNERS,
Properties::NON_VIRTUAL,
__void__addColor__C5_Color_R1__POINT,
__void__addColor__C5_Color_R1__Corner,
"",
"");
I_Method1(void, addOrigin, IN, const osgWidget::XYCoord &, xy,
@@ -572,9 +572,9 @@ BEGIN_OBJECT_REFLECTOR(osgWidget::Widget)
__void__setMinimumSize__C5_XYCoord_R1,
"",
"");
I_MethodWithDefaults2(void, setLayer, IN, osgWidget::Widget::LAYER, l, , IN, unsigned int, offset, 0,
I_MethodWithDefaults2(void, setLayer, IN, osgWidget::Widget::Layer, l, , IN, unsigned int, offset, 0,
Properties::NON_VIRTUAL,
__void__setLayer__LAYER__unsigned_int,
__void__setLayer__Layer__unsigned_int,
"",
"");
I_Method1(void, setPadLeft, IN, osgWidget::point_type, p,
@@ -597,19 +597,19 @@ BEGIN_OBJECT_REFLECTOR(osgWidget::Widget)
__void__setPadBottom__point_type,
"",
"");
I_Method1(void, setAlignHorizontal, IN, osgWidget::Widget::HORIZONTAL_ALIGNMENT, h,
I_Method1(void, setAlignHorizontal, IN, osgWidget::Widget::HorizontalAlignment, h,
Properties::NON_VIRTUAL,
__void__setAlignHorizontal__HORIZONTAL_ALIGNMENT,
__void__setAlignHorizontal__HorizontalAlignment,
"",
"");
I_Method1(void, setAlignVertical, IN, osgWidget::Widget::VERTICAL_ALIGNMENT, v,
I_Method1(void, setAlignVertical, IN, osgWidget::Widget::VerticalAlignment, v,
Properties::NON_VIRTUAL,
__void__setAlignVertical__VERTICAL_ALIGNMENT,
__void__setAlignVertical__VerticalAlignment,
"",
"");
I_Method1(void, setCoordinateMode, IN, osgWidget::Widget::COORDINATE_MODE, cm,
I_Method1(void, setCoordinateMode, IN, osgWidget::Widget::CoordinateMode, cm,
Properties::NON_VIRTUAL,
__void__setCoordinateMode__COORDINATE_MODE,
__void__setCoordinateMode__CoordinateMode,
"",
"");
I_Method1(void, setCanFill, IN, bool, f,
@@ -697,19 +697,19 @@ BEGIN_OBJECT_REFLECTOR(osgWidget::Widget)
__point_type__getPadBottom,
"",
"");
I_Method0(osgWidget::Widget::HORIZONTAL_ALIGNMENT, getAlignHorizontal,
I_Method0(osgWidget::Widget::HorizontalAlignment, getAlignHorizontal,
Properties::NON_VIRTUAL,
__HORIZONTAL_ALIGNMENT__getAlignHorizontal,
__HorizontalAlignment__getAlignHorizontal,
"",
"");
I_Method0(osgWidget::Widget::VERTICAL_ALIGNMENT, getAlignVertical,
I_Method0(osgWidget::Widget::VerticalAlignment, getAlignVertical,
Properties::NON_VIRTUAL,
__VERTICAL_ALIGNMENT__getAlignVertical,
__VerticalAlignment__getAlignVertical,
"",
"");
I_Method0(osgWidget::Widget::COORDINATE_MODE, getCoordinateMode,
I_Method0(osgWidget::Widget::CoordinateMode, getCoordinateMode,
Properties::NON_VIRTUAL,
__COORDINATE_MODE__getCoordinateMode,
__CoordinateMode__getCoordinateMode,
"",
"");
I_Method0(bool, canFill,
@@ -840,21 +840,21 @@ BEGIN_OBJECT_REFLECTOR(osgWidget::Widget)
__osg_Image_P1___getImage,
"",
"");
I_SimpleProperty(osgWidget::Widget::HORIZONTAL_ALIGNMENT, AlignHorizontal,
__HORIZONTAL_ALIGNMENT__getAlignHorizontal,
__void__setAlignHorizontal__HORIZONTAL_ALIGNMENT);
I_SimpleProperty(osgWidget::Widget::VERTICAL_ALIGNMENT, AlignVertical,
__VERTICAL_ALIGNMENT__getAlignVertical,
__void__setAlignVertical__VERTICAL_ALIGNMENT);
I_SimpleProperty(osgWidget::Widget::HorizontalAlignment, AlignHorizontal,
__HorizontalAlignment__getAlignHorizontal,
__void__setAlignHorizontal__HorizontalAlignment);
I_SimpleProperty(osgWidget::Widget::VerticalAlignment, AlignVertical,
__VerticalAlignment__getAlignVertical,
__void__setAlignVertical__VerticalAlignment);
I_SimpleProperty(bool, CanClone,
0,
__void__setCanClone__bool);
I_SimpleProperty(bool, CanFill,
0,
__void__setCanFill__bool);
I_SimpleProperty(osgWidget::Widget::COORDINATE_MODE, CoordinateMode,
__COORDINATE_MODE__getCoordinateMode,
__void__setCoordinateMode__COORDINATE_MODE);
I_SimpleProperty(osgWidget::Widget::CoordinateMode, CoordinateMode,
__CoordinateMode__getCoordinateMode,
__void__setCoordinateMode__CoordinateMode);
I_SimpleProperty(osgWidget::Quad, Dimensions,
__Quad__getDimensions,
0);

View File

@@ -29,21 +29,21 @@
TYPE_NAME_ALIAS(std::list< osg::observer_ptr< osgWidget::Window > >, osgWidget::Window::WindowList)
BEGIN_ENUM_REFLECTOR(osgWidget::Window::STRATA)
BEGIN_ENUM_REFLECTOR(osgWidget::Window::Strata)
I_DeclaringFile("osgWidget/Window");
I_EnumLabel(osgWidget::Window::STRATA_NONE);
I_EnumLabel(osgWidget::Window::STRATA_BACKGROUND);
I_EnumLabel(osgWidget::Window::STRATA_FOREGROUND);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgWidget::Window::VISIBILITY_MODE)
BEGIN_ENUM_REFLECTOR(osgWidget::Window::VisibilityMode)
I_DeclaringFile("osgWidget/Window");
I_EnumLabel(osgWidget::Window::VM_FULL);
I_EnumLabel(osgWidget::Window::VM_PARTIAL);
I_EnumLabel(osgWidget::Window::VM_ENTIRE);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgWidget::Window::VERTICAL_ANCHOR)
BEGIN_ENUM_REFLECTOR(osgWidget::Window::VerticalAnchor)
I_DeclaringFile("osgWidget/Window");
I_EnumLabel(osgWidget::Window::VA_NONE);
I_EnumLabel(osgWidget::Window::VA_CENTER);
@@ -51,7 +51,7 @@ BEGIN_ENUM_REFLECTOR(osgWidget::Window::VERTICAL_ANCHOR)
I_EnumLabel(osgWidget::Window::VA_BOTTOM);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgWidget::Window::HORIZONTAL_ANCHOR)
BEGIN_ENUM_REFLECTOR(osgWidget::Window::HorizontalAnchor)
I_DeclaringFile("osgWidget/Window");
I_EnumLabel(osgWidget::Window::HA_NONE);
I_EnumLabel(osgWidget::Window::HA_CENTER);
@@ -319,14 +319,14 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgWidget::Window)
__point_type__getMinHeight,
"",
"");
I_Method0(osgWidget::Window::VERTICAL_ANCHOR, getAnchorVertical,
I_Method0(osgWidget::Window::VerticalAnchor, getAnchorVertical,
Properties::NON_VIRTUAL,
__VERTICAL_ANCHOR__getAnchorVertical,
__VerticalAnchor__getAnchorVertical,
"",
"");
I_Method0(osgWidget::Window::HORIZONTAL_ANCHOR, getAnchorHorizontal,
I_Method0(osgWidget::Window::HorizontalAnchor, getAnchorHorizontal,
Properties::NON_VIRTUAL,
__HORIZONTAL_ANCHOR__getAnchorHorizontal,
__HorizontalAnchor__getAnchorHorizontal,
"",
"");
I_Method0(osgWidget::XYCoord, getOrigin,
@@ -349,9 +349,9 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgWidget::Window)
__matrix_type__getZRange,
"",
"");
I_Method0(osgWidget::Window::STRATA, getStrata,
I_Method0(osgWidget::Window::Strata, getStrata,
Properties::NON_VIRTUAL,
__STRATA__getStrata,
__Strata__getStrata,
"",
"");
I_Method0(const osgWidget::Quad &, getVisibleArea,
@@ -359,9 +359,9 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgWidget::Window)
__C5_Quad_R1__getVisibleArea,
"",
"");
I_Method0(osgWidget::Window::VISIBILITY_MODE, getVisibilityMode,
I_Method0(osgWidget::Window::VisibilityMode, getVisibilityMode,
Properties::NON_VIRTUAL,
__VISIBILITY_MODE__getVisibilityMode,
__VisibilityMode__getVisibilityMode,
"",
"");
I_Method0(osgWidget::Point, getPosition,
@@ -424,24 +424,24 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgWidget::Window)
__void__setScaleDenominator__matrix_type,
"",
"");
I_Method1(void, setAnchorVertical, IN, osgWidget::Window::VERTICAL_ANCHOR, va,
I_Method1(void, setAnchorVertical, IN, osgWidget::Window::VerticalAnchor, va,
Properties::NON_VIRTUAL,
__void__setAnchorVertical__VERTICAL_ANCHOR,
__void__setAnchorVertical__VerticalAnchor,
"",
"");
I_Method1(void, setAnchorHorizontal, IN, osgWidget::Window::HORIZONTAL_ANCHOR, ha,
I_Method1(void, setAnchorHorizontal, IN, osgWidget::Window::HorizontalAnchor, ha,
Properties::NON_VIRTUAL,
__void__setAnchorHorizontal__HORIZONTAL_ANCHOR,
__void__setAnchorHorizontal__HorizontalAnchor,
"",
"");
I_Method1(void, setStrata, IN, osgWidget::Window::STRATA, s,
I_Method1(void, setStrata, IN, osgWidget::Window::Strata, s,
Properties::NON_VIRTUAL,
__void__setStrata__STRATA,
__void__setStrata__Strata,
"",
"");
I_Method1(void, setVisibilityMode, IN, osgWidget::Window::VISIBILITY_MODE, v,
I_Method1(void, setVisibilityMode, IN, osgWidget::Window::VisibilityMode, v,
Properties::NON_VIRTUAL,
__void__setVisibilityMode__VISIBILITY_MODE,
__void__setVisibilityMode__VisibilityMode,
"",
"");
I_Method1(void, addX, IN, osgWidget::matrix_type, x,
@@ -749,12 +749,12 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgWidget::Window)
I_SimpleProperty(osgWidget::XYCoord, AbsoluteOrigin,
__XYCoord__getAbsoluteOrigin,
0);
I_SimpleProperty(osgWidget::Window::HORIZONTAL_ANCHOR, AnchorHorizontal,
__HORIZONTAL_ANCHOR__getAnchorHorizontal,
__void__setAnchorHorizontal__HORIZONTAL_ANCHOR);
I_SimpleProperty(osgWidget::Window::VERTICAL_ANCHOR, AnchorVertical,
__VERTICAL_ANCHOR__getAnchorVertical,
__void__setAnchorVertical__VERTICAL_ANCHOR);
I_SimpleProperty(osgWidget::Window::HorizontalAnchor, AnchorHorizontal,
__HorizontalAnchor__getAnchorHorizontal,
__void__setAnchorHorizontal__HorizontalAnchor);
I_SimpleProperty(osgWidget::Window::VerticalAnchor, AnchorVertical,
__VerticalAnchor__getAnchorVertical,
__void__setAnchorVertical__VerticalAnchor);
I_SimpleProperty(osgWidget::Widget *, Background,
__Widget_P1__getBackground,
0);
@@ -800,15 +800,15 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgWidget::Window)
I_SimpleProperty(osgWidget::XYCoord, Size,
__XYCoord__getSize,
0);
I_SimpleProperty(osgWidget::Window::STRATA, Strata,
__STRATA__getStrata,
__void__setStrata__STRATA);
I_SimpleProperty(osgWidget::Window::Strata, Strata,
__Strata__getStrata,
__void__setStrata__Strata);
I_SimpleProperty(osgWidget::Window *, TopmostParent,
__Window_P1__getTopmostParent,
0);
I_SimpleProperty(osgWidget::Window::VISIBILITY_MODE, VisibilityMode,
__VISIBILITY_MODE__getVisibilityMode,
__void__setVisibilityMode__VISIBILITY_MODE);
I_SimpleProperty(osgWidget::Window::VisibilityMode, VisibilityMode,
__VisibilityMode__getVisibilityMode,
__void__setVisibilityMode__VisibilityMode);
I_SimpleProperty(const osgWidget::Quad &, VisibleArea,
__C5_Quad_R1__getVisibleArea,
0);

View File

@@ -31,7 +31,7 @@
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osgWidget::WindowManager::WM_FLAGS)
BEGIN_ENUM_REFLECTOR(osgWidget::WindowManager::WmFlags)
I_DeclaringFile("osgWidget/WindowManager");
I_EnumLabel(osgWidget::WindowManager::WM_USE_LUA);
I_EnumLabel(osgWidget::WindowManager::WM_USE_PYTHON);
@@ -40,7 +40,7 @@ BEGIN_ENUM_REFLECTOR(osgWidget::WindowManager::WM_FLAGS)
I_EnumLabel(osgWidget::WindowManager::WM_NO_BETA_WARN);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgWidget::WindowManager::POINTER_DIRECTION)
BEGIN_ENUM_REFLECTOR(osgWidget::WindowManager::PointerDirection)
I_DeclaringFile("osgWidget/WindowManager");
I_EnumLabel(osgWidget::WindowManager::PD_NONE);
I_EnumLabel(osgWidget::WindowManager::PD_LEFT);
@@ -49,7 +49,7 @@ BEGIN_ENUM_REFLECTOR(osgWidget::WindowManager::POINTER_DIRECTION)
I_EnumLabel(osgWidget::WindowManager::PD_DOWN);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgWidget::WindowManager::POINTER_FOCUS_MODE)
BEGIN_ENUM_REFLECTOR(osgWidget::WindowManager::PointerFocusMode)
I_DeclaringFile("osgWidget/WindowManager");
I_EnumLabel(osgWidget::WindowManager::PFM_FOCUS);
I_EnumLabel(osgWidget::WindowManager::PFM_UNFOCUS);
@@ -203,19 +203,19 @@ BEGIN_OBJECT_REFLECTOR(osgWidget::WindowManager)
__C5_StyleManager_P1__getStyleManager,
"",
"");
I_Method0(osgWidget::WindowManager::POINTER_DIRECTION, getPointerVerticalDirection,
I_Method0(osgWidget::WindowManager::PointerDirection, getPointerVerticalDirection,
Properties::NON_VIRTUAL,
__POINTER_DIRECTION__getPointerVerticalDirection,
__PointerDirection__getPointerVerticalDirection,
"",
"");
I_Method0(osgWidget::WindowManager::POINTER_DIRECTION, getPointerHorizontalDirection,
I_Method0(osgWidget::WindowManager::PointerDirection, getPointerHorizontalDirection,
Properties::NON_VIRTUAL,
__POINTER_DIRECTION__getPointerHorizontalDirection,
__PointerDirection__getPointerHorizontalDirection,
"",
"");
I_Method0(osgWidget::WindowManager::POINTER_FOCUS_MODE, getPointerFocusMode,
I_Method0(osgWidget::WindowManager::PointerFocusMode, getPointerFocusMode,
Properties::NON_VIRTUAL,
__POINTER_FOCUS_MODE__getPointerFocusMode,
__PointerFocusMode__getPointerFocusMode,
"",
"");
I_Method0(int, getPointerDirectionVector,
@@ -288,9 +288,9 @@ BEGIN_OBJECT_REFLECTOR(osgWidget::WindowManager)
__void__setScrollingMotion__osgGA_GUIEventAdapter_ScrollingMotion,
"",
"");
I_Method1(void, setPointerFocusMode, IN, osgWidget::WindowManager::POINTER_FOCUS_MODE, pfm,
I_Method1(void, setPointerFocusMode, IN, osgWidget::WindowManager::PointerFocusMode, pfm,
Properties::NON_VIRTUAL,
__void__setPointerFocusMode__POINTER_FOCUS_MODE,
__void__setPointerFocusMode__PointerFocusMode,
"",
"");
I_Method1(void, setWidth, IN, osgWidget::point_type, w,
@@ -373,14 +373,14 @@ BEGIN_OBJECT_REFLECTOR(osgWidget::WindowManager)
I_SimpleProperty(int, PointerDirectionVector,
__int__getPointerDirectionVector,
0);
I_SimpleProperty(osgWidget::WindowManager::POINTER_FOCUS_MODE, PointerFocusMode,
__POINTER_FOCUS_MODE__getPointerFocusMode,
__void__setPointerFocusMode__POINTER_FOCUS_MODE);
I_SimpleProperty(osgWidget::WindowManager::POINTER_DIRECTION, PointerHorizontalDirection,
__POINTER_DIRECTION__getPointerHorizontalDirection,
I_SimpleProperty(osgWidget::WindowManager::PointerFocusMode, PointerFocusMode,
__PointerFocusMode__getPointerFocusMode,
__void__setPointerFocusMode__PointerFocusMode);
I_SimpleProperty(osgWidget::WindowManager::PointerDirection, PointerHorizontalDirection,
__PointerDirection__getPointerHorizontalDirection,
0);
I_SimpleProperty(osgWidget::WindowManager::POINTER_DIRECTION, PointerVerticalDirection,
__POINTER_DIRECTION__getPointerVerticalDirection,
I_SimpleProperty(osgWidget::WindowManager::PointerDirection, PointerVerticalDirection,
__PointerDirection__getPointerVerticalDirection,
0);
I_SimpleProperty(osgWidget::ScriptEngine *, PythonEngine,
__ScriptEngine_P1__getPythonEngine,