Commit 1ce447b3 authored by Murray Cumming's avatar Murray Cumming

Actor: Wrap most remaining properties.

parent 9a2f5d9a
......@@ -562,26 +562,55 @@ _DEPRECATE_IFDEF_END
_WRAP_PROPERTY("anchor-x", float)
_WRAP_PROPERTY("anchor-y", float)
_WRAP_PROPERTY("anchor-gravity", Gravity)
_WRAP_PROPERTY("clip", Geometry)
_WRAP_PROPERTY("background-color", Color)
_WRAP_PROPERTY("background-color-set", bool)
_WRAP_PROPERTY("child-transform", Matrix)
_WRAP_PROPERTY("child-transform-set", bool)
_WRAP_PROPERTY("clip", Geometry) //TODO: This is marked for removal in clutter.
_WRAP_PROPERTY("clip-rect", Rect)
_WRAP_PROPERTY("clip-to-allocation", bool)
_WRAP_PROPERTY("content", Content)
_WRAP_PROPERTY("content-box", ActorBox)
_WRAP_PROPERTY("content-gravity", ContentGravity)
_WRAP_PROPERTY("content-repeat", ContentRepeat)
// This property is not wrapped because it is documented in Clutter as adding, instead of just setting, a Constraint.
//_WRAP_PROPERTY("constraints", Glib::RefPtr<Constraint>)
_WRAP_PROPERTY("depth", float)
_WRAP_PROPERTY("effect", Glib::RefPtr<Effect>)
_WRAP_PROPERTY("first-child", Glib::RefPtr<Actor>)
_WRAP_PROPERTY("fixed-position-set", bool)
_WRAP_PROPERTY("fixed-x", float)
_WRAP_PROPERTY("fixed-y", float)
_WRAP_PROPERTY("has-clip", bool)
_WRAP_PROPERTY("has-pointer", bool)
_WRAP_PROPERTY("height", float)
_WRAP_PROPERTY("last-child", Glib::RefPtr<Actor>)
_WRAP_PROPERTY("layout-manager", Glib::RefPtr<LayoutManager>)
_WRAP_PROPERTY("magnification-filter", ScalingFilter)
_WRAP_PROPERTY("mapped", bool)
_WRAP_PROPERTY("margin-bottom", float)
_WRAP_PROPERTY("margin-left", float)
_WRAP_PROPERTY("margin-right", float)
_WRAP_PROPERTY("margin-top", float)
_WRAP_PROPERTY("minification-filter", ScalingFilter)
_WRAP_PROPERTY("min-height", float)
_WRAP_PROPERTY("min-height-set", bool)
_WRAP_PROPERTY("min-width", float)
_WRAP_PROPERTY("min-width-set", bool)
_WRAP_PROPERTY("name", Glib::ustring)
_WRAP_PROPERTY("natural-height", float)
_WRAP_PROPERTY("natural-height-set", bool)
_WRAP_PROPERTY("natural-width", float)
_WRAP_PROPERTY("natural-width-set", bool)
_WRAP_PROPERTY("opacity", guint8)
_WRAP_PROPERTY("offscreen-redirect", OffscreenRedirect)
_WRAP_PROPERTY("pivot-point", Point)
_WRAP_PROPERTY("pivot-point-z", float)
_WRAP_PROPERTY("position", Point)
_WRAP_PROPERTY("reactive", bool)
_WRAP_PROPERTY("realized", bool)
_WRAP_PROPERTY("request-mode", RequestMode)
_WRAP_PROPERTY("rotation-angle-x", double)
_WRAP_PROPERTY("rotation-angle-y", double)
......@@ -592,11 +621,18 @@ _DEPRECATE_IFDEF_END
_WRAP_PROPERTY("rotation-center-z-gravity", Gravity)
_WRAP_PROPERTY("scale-x", double)
_WRAP_PROPERTY("scale-y", double)
_WRAP_PROPERTY("scale-z", double)
_WRAP_PROPERTY("scale-center-x", double)
_WRAP_PROPERTY("scale-center-y", double)
_WRAP_PROPERTY("scale-gravity", Gravity)
_WRAP_PROPERTY("show-on-set-parent", bool)
//TODO: _WRAP_PROPERTY("size", Size)
_WRAP_PROPERTY("text-direction", TextDirection)
_WRAP_PROPERTY("translation_x", float)
_WRAP_PROPERTY("translation_y", float)
_WRAP_PROPERTY("translation_z", float)
_WRAP_PROPERTY("transform", Matrix)
_WRAP_PROPERTY("transform-set", bool)
_WRAP_PROPERTY("visible", bool)
_WRAP_PROPERTY("width", float)
_WRAP_PROPERTY("x", float)
......@@ -605,6 +641,7 @@ _DEPRECATE_IFDEF_END
_WRAP_PROPERTY("y", float)
_WRAP_PROPERTY("y-align", ActorAlign )
_WRAP_PROPERTY("y-expand", bool)
_WRAP_PROPERTY("z-position", float)
protected:
//TODO: Wrap ClutterShaderEffect.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment