Project

General

Profile

Previous Up Next

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

CompTree _CBcompTreeResizeResource (
CompTree _tree_
fun [CompSlideBar u0 I I [I I I]] [AlphaBitmap [I I I]] _callbackvslide_
u0 _uservslide_
fun [CompSlideBar u1 I I [I I I]] [AlphaBitmap [I I I]] _callbackhslide_
u1 _userhslide_
)
Parameters

_tree_
any CompTree
_callbackvslide_
callback function on vertical slidebar resize (supplemental parameters are w, h and offsets)
w and h define new component size
offsets as specified in creation function _CRcompTree
return value sets the new parameters for the object :
new graphic resource (AlphaBitmap)
new offsets triplet ([I I I])
_uservslide_
user parameter
_callbackhslide_
callback function on horizontal slidebar resize (supplemental parameters are w, h and offsets)
w and h define new component size
offsets as specified in creation function _CRcompTree
return value sets the new parameters for the object :
new graphic resource (AlphaBitmap)
new offsets triplet ([I I I])
_userhslide_
user parameter
Return value

same CompTree