|
| | | | C T L _ A C F _ D A T A
| | | | | SOURCE: qdev_structures.txt 1.10 (15/08/2014) English struct ctl_acf_data
{
struct ctl_csn_cwin *ad_cc;
struct SignalSemaphore ad_sem;
WORD ad_spad;
struct Task *ad_task;
struct BitMap **ad_bm;
struct BitMap **ad_lbm;
struct MsgPort *ad_tmp;
struct timerequest *ad_treq;
ULONG ad_fdly;
ULONG ad_cdly;
UWORD ad_xpos;
UWORD ad_ypos;
void *ad_logo;
LONG ad_pri;
void (*ad_start)(struct ctl_acf_data *);
void (*ad_stop)(struct ctl_acf_data *);
struct ctl_csn_ient ad_eva;
struct ctl_csn_ient ad_evi;
};
ad_cc - One of the console windows that the logo is now associated
with.
ad_sem - This semaphore is used to control anim subtask installation and
removal. It prevents deadend situation when calling dealloc.
function.
ad_spad - Semaphore aligner so the rest of members is LONG aligned.
ad_task - An address of current anim subtask. There can be only one such
subtask. This is also used as an indication.
ad_bm - NULL terminated array of logo bitmaps. Switching from frame to
frame is as simple as can be.
ad_lbm - Last time bitmap address. This is the switching pointer. If you
will ad_stop() and then ad_start() then the animation will be
resumed when it was stopped.
ad_tmp - Timer msg. port. Used as a part of timer.device initialization.
ad_treq - Timer resquest space. Used to send frame and/or cycle delays.
ad_fdly - Frame delay in micros.
ad_cdly - Cycle delay in micros.
ad_xpos - X coordinate to start animating at. This gets copied from func.
input.
ad_ypos - Y coordinate to start animating at. This gets copied from func.
input.
ad_logo - All the logo related internals. See ctl_acl_data structure.
ad_pri - Anim subtask priority. It is always computed to be lower than
the mother's priority.
ad_start - Logo playback control hook. This one starts the playback.
ad_stop - Terminates animation subtask causing animation to freeze. The
ad_start will resume the animation where it was stopped.
ad_eva - IDCMP_ACTIVEWINDOW handler carry.
ad_evi - IDCMP_INACTIVEWINDOW handler carry.
| |
| | | | |
|