|
| | | | C T L _ A V C _ D A T A
| | | | | SOURCE: qdev_structures.txt 1.10 (15/08/2014) English struct ctl_avc_data
{
struct ctl_csn_data *ad_cd;
struct ctl_csn_cwin *ad_cc;
struct GfxBase *ad_gb;
struct IntuitionBase *ad_ib;
struct Library *ad_lb;
struct Layer *ad_layer;
struct Task *ad_task;
volatile LONG ad_cnt;
struct ctl_csn_ient ad_evia;
struct ctl_csn_ient ad_evib;
LONG ad_flga;
LONG ad_flgb;
LONG ad_rflg;
LONG ad_efct;
LONG ad_mfct;
WORD ad_xosd;
WORD ad_yosd;
ULONG ad_xcosd;
ULONG ad_ycosd;
};
ad_cd - Locally buffered console screen that is needed for things like
screen's bitmap poking, semaphore switching, layer creation and
the like.
ad_cc - This member is used in pseudo-interrupt as well as subtask that
this pseudo-interrupt has created. Tricky!
ad_gb - Locally buffered GfxBase. Used to pass across subtasks so they
can access graphics.library functions quickly.
ad_ib - Locally buffered IntuitionBase. This is used to pass across
subtasks so they can access intuition.library functions fast.
ad_lb - Locally buffered LayersBase. This is used to pass across
subtasks so they can access layers.library functions fast.
ad_layer - The OSD layer. Not a faully qualified window though!
ad_task - Subtasks get created for a brief moment. They never wait for
the events. This is good at one side, cus they do not take up
memory for too long, but on the other hand on demand task
creation may be really slow under some circumstances. You dont
want to touch this, cus whole op is very atomic and what was
valid a second ago is surely invalid now.
ad_cnt - Subtask counter, the limiter, global subsystem protection.
ad_evia - IDCMP_MOUSEMOVE handler carry. Used to activate the one below.
ad_evib - IDCMP_VANILLAKEY handler carry. This handler allows keyboard
stuff in console window.
ad_flga - Mouse move pseudo-interrupt latch. This is used to establish
the OSD when mouse is at certain position.
ad_flgb - Window zoom flags that get pre-set in the pseudo-interrupt.
ad_rflg - Rearrange flags that get pre-set in the pseudo-interrupt.
ad_efct - Effective zoom factor in %. This is used as a direction of the
zoom.
ad_mfct - A copy of zoom factor in % as taken from function input.
ad_xosd - Size of the OSD layer in X axis in pixels.
ad_yosd - Size of the OSD layer in Y axis in pixels.
ad_xcosd - How many characters are needed for X resolution to display it.
ad_ycosd - How many characters are needed for Y resolution to display it.
| |
| | | | |
|