|
| | | | C T L _ C S N _ D A T A
| | | | | SOURCE: qdev_structures.txt 1.10 (15/08/2014) English
struct ctl_csn_data
{
struct SignalSemaphore cd_isem;
WORD cd_spad;
struct MsgPort cd_smp;
WORD cd_mpad;
struct IntuitionBase *cd_ib;
struct GfxBase *cd_gb;
struct Library *cd_mb;
struct Library *cd_db;
struct TextFont *cd_tf;
struct Window *cd_actvwin;
struct Layer *cd_back;
struct Hook cd_h;
struct Screen *cd_screen;
LONG cd_signal;
LONG cd_numcon;
ULONG cd_winapp;
LONG cd_backpen;
LONG cd_ibgpen;
LONG cd_ifgpen;
WORD cd_xzero;
WORD cd_yzero;
struct ctl_csn_cwin cd_cc[QDEV_CTL_CSN_MAXWINDOWS];
struct ctl_csn_ient cd_actidcmp;
};
cd_isem - General purpose SignalSemaphore that can be used to prioritize
Intuition or Graphics related stuff. This is mostly used to
manage refreshing of logo stuff as well as window zooming and
such.
cd_spad - Semaphore aligner so the rest of members is LONG aligned.
cd_smp - Very special message port that gets attached to each window so
that there is a need for just one task signal to handle IDCMP
on all windows.
cd_mpad - MsgPort aligner so the rest of members is LONG aligned.
cd_ib - Local copy of IntuitionBase so that subtasks can easily call
Intuition functions.
cd_gb - Locally buffered GfxBase. Used to pass to backfill hook. This
may also be passed to subtasks.
cd_mb - Local copy of MathIeeeXXXXBasBase to avoid global compiler rel.
references.
cd_db - Local instance of DiskfontBase so that disk fonts can be used
where possible without explicitly requiring the former library.
cd_tf - TextFont handle if the font was successfully loaded into mem.
cd_actvwin
- This will point at the window that is active by now. This
is not being protected by cd_isem! Caching(&cd_actvwin) address
of this variable is strongly recommended.
cd_back - Background layer that masks screen and title bar. In early time
this was smart refreshed window.
cd_h - Backfill hook that carries callback that is responsible for the
background color.
cd_screen
- Standard screen pointer. This is the screen where all cc live.
cd_signal
- This screen's signal bit. This is used to notify process that
the screen can be safely closed.
cd_numcon
- Total number of consoles opened on this screen. Please do not
hack on this or there will be nasty side effects.
cd_winapp
- Window appearance flags. This is used to rearrange the view, to
store the info on how to rearrange. See QDEV_CTL_RECON_#? macro
group. You should not be touching this directly.
cd_backpen
- Pen number to be used for background in screen masking layer.
cd_ibgpen
- Pen number to be used for background of the OSD facility. This
is a copy of cf_ibgpen more or less.
cd_ifgpen
- Pen number to be used for foreground of the OSD facility. This
is a copy of cf_ifgpen more or less.
cd_xzero - Init related zero coordinate for X axis, so called real zero.
cd_yzero - Init related zero coordinate for Y axis, so called real zero.
cd_cc - Console window array. Console handlers in other words.
cd_actidcmp
- Default IDCMP entry for active window tracker that is created
on init.
| |
| | | | |
|