Previous Up Next

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

CompText _CBcompTextResizeResource (
CompText _text_
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

_text_
any CompText
_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 _CRcompText
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 _CRcompText
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 CompText