Reference TButtonDrawEvent
Declared in Codebot.Controls.Scrolling.pas on line 375
TButtonDrawEvent gives the user the opportunity to render a button within a scroll list. Index represents the item index of and button is the index of the button from a prior invocation of calc buttons.
TButtonDrawEvent = procedure(Sender: TObject; Surface: ISurface; ItemIndex, Button: Integer; Rect: TRectI; State: TDrawState) of object;
See also
ISurface in Codebot.Graphics.Types.pas
TRectI in Codebot.Graphics.Types.pas
TDrawState in Codebot.Graphics.Types.pas