ScrollBoxCore

Static variables

@:value(8)staticinlineread onlyDEFAULT_BAR_SIZE:UInt = 8

@:value(100)staticinlineread onlyDEFAULT_WHEEL_SPEED:Float = 100

Constructor

@:value({ wheelSpeed : DEFAULT_WHEEL_SPEED, scrollSize : DEFAULT_BAR_SIZE })new(w:Float, h:Float, ?tArea:Null<Touchable>, ?tScrollerVert:ButtonCore, ?tScrollerHor:ButtonCore, scrollSize:Float = DEFAULT_BAR_SIZE, wheelSpeed:Float = DEFAULT_WHEEL_SPEED)

Variables

@:value(0)h:Float = 0

horPos:Float

read onlyonContentPos:Signal2<Float, Float>

read onlyonMaskSize:Signal2<Float, Float>

read onlyonScrollHorPos:Signal2<Float, Float>

read onlyonScrollHorSize:Signal2<Float, Float>

read onlyonScrollVertPos:Signal2<Float, Float>

read onlyonScrollVertSize:Signal2<Float, Float>

vertPos:Float

@:value(0)w:Float = 0

Methods

content(cw:Float, ch:Float):Void

set_h(v:Float):Float

set_w(v:Float):Float