|
| | | | C T L _ C S N _ C W I N
| | | | | SOURCE: qdev_structures.txt 1.10 (15/08/2014) English struct ctl_csn_cwin
{
struct ctl_csn_data *cc_cd;
struct IntuiMessage *cc_imsg;
struct Window *cc_mainwin;
BPTR cc_con;
struct MinList cc_idcmp[QDEV_CTL_CSN_MAXINDEX];
LONG cc_index;
LONG cc_numwin;
LONG cc_zoomed;
LONG cc_zoomfct;
LONG cc_rpylim;
ULONG cc_iflags;
ULONG cc_lflags;
};
cc_cd - This is security pointer, so that when this structure pointer
is being passed somewhere alone then there is still a way to
access root parameters.
cc_imsg - This is packed pointer so that no pseudo-interrupt will eat
stack where Intuition messages are being dispatched. Just a
helper one that does not matter in normal operation.
cc_mainwin
- Window that is now associated with the console handler. Just do
not close it from code and everything will be OK.
cc_con - Console FileHandle that is BPTR which is an interface to the
handler which talks to cc_mainwin. Calling 'Close()' will close
the window!
cc_idcmp - IDCMP index that represents particular IDCMP message. Attach
your pseudo-interrupt function here by converting message ID to
index. Use the respective function to add/del!
cc_index - This is being used in the IDCMP pseudo-interrupt dispatcher to
reduce stack usage.
cc_numwin
- Number of this very window. All windows are enumerated so that
it is easy to identify them. First window has a value of 0.
cc_zoomed
- Kludgy zoom/size indicator used to mark changes globally.
cc_zoomfct
- Current zoom factor this window will scale with. Zoom factor is
normally expressed in % and can range form 1 to 100.
cc_rpylim
- Maximum pixels in Y axis logo can take from top to bottom. This
is freely setable. The default value is QDEV_CTL_PRV_REPOSLIM.
cc_iflags
- Image related flags that apply to this very window. These are
defined as QDEV_MEM_IFLPIC_#? group.
cc_lflags
- Logo playback flags that apply to this very window. These are
defined as QDEV_CTL_LFLLOGO_#? group.
| |
| | | | |
|