X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-swig%2FSWIG%2Fevents%2Fscrollbar-event.i;h=773460155ddfec924d2c260205dbc03a8db29216;hp=d51fb3d9e4c95553b486c911cad9f57ec2d91ccd;hb=refs%2Fchanges%2F36%2F96336%2F12;hpb=928f30d2caf2775c5bcbfd84ceb4bf37ca29f020 diff --git a/plugins/dali-swig/SWIG/events/scrollbar-event.i b/plugins/dali-swig/SWIG/events/scrollbar-event.i index d51fb3d..7734601 100644 --- a/plugins/dali-swig/SWIG/events/scrollbar-event.i +++ b/plugins/dali-swig/SWIG/events/scrollbar-event.i @@ -54,7 +54,7 @@ public class ScrollPositionIntervalReachedEventArgs : EventArgs private delegate void PanFinishedEventCallbackDelegate(); private DaliEventHandler _scrollBarPanFinishedEventHandler; private PanFinishedEventCallbackDelegate _scrollBarPanFinishedEventCallbackDelegate; - + [UnmanagedFunctionPointer(CallingConvention.StdCall)] private delegate void ScrollPositionIntervalReachedEventCallbackDelegate(); private DaliEventHandler _scrollBarScrollPositionIntervalReachedEventHandler; @@ -147,6 +147,127 @@ public class ScrollPositionIntervalReachedEventArgs : EventArgs } } +/* Properties earlier added by Ruby Script */ + + public string ScrollDirection + { + get + { + string temp; + GetProperty( ScrollBar.Property.SCROLL_DIRECTION).Get( out temp ); + return temp; + } + set + { + SetProperty( ScrollBar.Property.SCROLL_DIRECTION, new Dali.Property.Value( value ) ); + } + } + public string IndicatorHeightPolicy + { + get + { + string temp; + GetProperty( ScrollBar.Property.INDICATOR_HEIGHT_POLICY).Get( out temp ); + return temp; + } + set + { + SetProperty( ScrollBar.Property.INDICATOR_HEIGHT_POLICY, new Dali.Property.Value( value ) ); + } + } + public float IndicatorFixedHeight + { + get + { + float temp = 0.0f; + GetProperty( ScrollBar.Property.INDICATOR_FIXED_HEIGHT).Get( ref temp ); + return temp; + } + set + { + SetProperty( ScrollBar.Property.INDICATOR_FIXED_HEIGHT, new Dali.Property.Value( value ) ); + } + } + public float IndicatorShowDuration + { + get + { + float temp = 0.0f; + GetProperty( ScrollBar.Property.INDICATOR_SHOW_DURATION).Get( ref temp ); + return temp; + } + set + { + SetProperty( ScrollBar.Property.INDICATOR_SHOW_DURATION, new Dali.Property.Value( value ) ); + } + } + public float IndicatorHideDuration + { + get + { + float temp = 0.0f; + GetProperty( ScrollBar.Property.INDICATOR_HIDE_DURATION).Get( ref temp ); + return temp; + } + set + { + SetProperty( ScrollBar.Property.INDICATOR_HIDE_DURATION, new Dali.Property.Value( value ) ); + } + } + public Dali.Property.Array ScrollPositionIntervals + { + get + { + Dali.Property.Array temp = new Dali.Property.Array(); + GetProperty( ScrollBar.Property.SCROLL_POSITION_INTERVALS).Get( temp ); + return temp; + } + set + { + SetProperty( ScrollBar.Property.SCROLL_POSITION_INTERVALS, new Dali.Property.Value( value ) ); + } + } + public float IndicatorMinimumHeight + { + get + { + float temp = 0.0f; + GetProperty( ScrollBar.Property.INDICATOR_MINIMUM_HEIGHT).Get( ref temp ); + return temp; + } + set + { + SetProperty( ScrollBar.Property.INDICATOR_MINIMUM_HEIGHT, new Dali.Property.Value( value ) ); + } + } + public float IndicatorStartPadding + { + get + { + float temp = 0.0f; + GetProperty( ScrollBar.Property.INDICATOR_START_PADDING).Get( ref temp ); + return temp; + } + set + { + SetProperty( ScrollBar.Property.INDICATOR_START_PADDING, new Dali.Property.Value( value ) ); + } + } + public float IndicatorEndPadding + { + get + { + float temp = 0.0f; + GetProperty( ScrollBar.Property.INDICATOR_END_PADDING).Get( ref temp ); + return temp; + } + set + { + SetProperty( ScrollBar.Property.INDICATOR_END_PADDING, new Dali.Property.Value( value ) ); + } + } +/* Properties ends */ + %} %enddef