|
| | | | C T L _ T R G _ D A T A
| | | | | SOURCE: qdev_structures.txt 1.10 (15/08/2014) English struct ctl_trg_data
{
struct ctl_csn_cwin td_cc;
struct ctl_csn_ient td_ci;
struct SignalSemaphore td_trigsem;
WORD td_spad;
struct Window **td_trigfwin;
struct Task *td_trigtask;
volatile LONG td_trigcnt;
LONG td_trigbar;
UBYTE td_trigcol[2];
};
td_cc - The toggle window that is of 1 pixel in the top-left corner of
the screen.
td_ci - IDCMP_ACTIVEWINDOW handler carry. Whenever this window becomes
active a toggle action will be taken.
td_trigsem
- Since title bar toggle is being done in the subtask there must
be some sort of arbitration.
td_spad - Semaphore aligner so the rest of members is LONG aligned.
td_trigfwin
- Focus-back carry that will be activated after tc_cc was LMB
treated.
td_trigtask
- Address of the task that will do the toggle. This member is
being used in the exception handler.
td_trigcnt
- Number of toggle tasks that were spawned. They are td_trigsem
protected.
td_trigbar
- Internal title bar visible/invisible toggle. Pure logic(0 / 1).
td_trigcol
- Pen numbers used to mask that 1 pixel when title bar is visible
or invisible.
| |
| | | | |
|