Project

General

Profile

Previous Up Next

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

CompCombo _CBcompComboResizeResource (
CompCombo _combo_
fun [CompCheck u0 I I] AlphaBitmap _callbackcheck_
u0 _usercheck_
fun [CompBitmap u1 I I [I I I I]] [AlphaBitmap [I I I I]] _callbackbitmap_
u1 _userbitmap_
fun [CompSlideBar u2 I I [I I I]] [AlphaBitmap [I I I]] _callbackslide_
u2 _userslide_
)
Parameters

_combo_
any CompCombo
_callbackcheck_
callback function on component check button resize (supplemental parameters are w and h)
w and h define new component size
_usercheck_
user parameter
_callbackbitmap_
callback function on component bitmap resize (supplemental parameters are w, h and coordinates)
w and h define new component size
coordinates contain the exact 4 last values of creation function _CRcompCombo
return value sets the new graphic resource for the object :
new graphic resource (AlphaBitmap)
new x, y, width and height coordinates in resource ([I I I I])
_userbitmap_
user parameter
_callbackslide_
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 _CRcompCombo
return value sets the new parameters for the object :
new graphic resource (AlphaBitmap)
new offsets triplet ([I I I])
_userslide_
user parameter
Return value

same CompCombo