INTRODUCTION
The ScrollingCaption component is used to draw a string
with scrolling if it is too large.
BE CAREFUL: it doesn't work with
small font
api92::ScrollingCaptionComponent
- Parameters :
A0.l : Address of an api92_ScrollingCaption
structure
A1.l : 0-terminated string
- Return Values :
No register modified
The api92_ScrollingCaption structure
Format of the api92_ScrollingCaption structure :
$00.w : X position
$02.w : Y position
$04.w : Max letter drawn
$06.w : Offset of the string
$00.w ; 02.w : X Position ; Y Position
It is the (X,Y) position on the top-left corner of the ScrollingCaption
component, in pixels.
$02.w : Max letter drawn
It is the number of chars that will be drawn
$04.w : Offset of the string
Offset of the string. Notice that if it is too large, it will be automatically
reduced.
|