Project

General

Profile

Previous Up Next

_CBcompSlideBarResizeResource
Sets a callback in order to indicate the new graphic resources values in case of a resize.

CompSlideBar _CBcompSlideBarResizeResource (
CompSlideBar _slidebar_
fun [CompSlideBar u0 I I [I I I]] [AlphaBitmap [I I I]] _callback_
u0 _user_
)
Parameters

_slidebar_
any CompSlideBar
_callback_
callback function on component resize (supplemental parameters are w, h and offsets)
w and h define the new component size
offsets triplet as specified in creation function _CRcompSlideBar
return value sets the new graphic resource for the object :
new graphic resource (AlphaBitmap)
new offsets triplet ([I I I])
_user_
user parameter
Return value

same CompSlideBar