NAME
--background
DESCRIPTION
This class implements all common window functionality used for icon
windows, text windows and device windows.
All window methods are invoked with mt_WindowObject.
NAME SYNOPSIS
DoMethod(obj,SCCM_Window_ChangeWindow);
FUNCTION
Notifies that a Scalos window may have changed either
position, or size, or both.
INPUTS
RESULT
SEE ALSO
NAME SYNOPSIS
DoMethod(obj,SCCM_Window_Close);
FUNCTION
INPUTS
RESULT
SEE ALSO
NAME
SCCM_Window_GetIconFileType
SYNOPSIS
DoMethod(obj,SCCM_Window_GetIconFileType, struct ScaIconNode *in);
FUNCTION
Fills the in_FileType element of the Scalos icon with a TypeNode
according to the file type of the icon.
INPUTS
in - Scalos icon that gets its in_FileType updated.
RESULT
SEE ALSO
NAME SYNOPSIS
DoMethod(obj,SCCM_Window_Iconify);
FUNCTION
Iconifies a scalos window
INPUTS
RESULT
TRUE if window could be iconified successfully or
has already been iconified.
FALSE if something went wrong.
SEE ALSO
NAME SYNOPSIS
DoMethod(obj,SCCM_Window_UnIconify);
FUNCTION
Uniconifies an iconified scalos window
INPUTS
RESULT
SEE ALSO
NAME
SCCM_Window_InitClipRegion
SYNOPSIS
struct Region *oldRegion = DoMethod(obj,SCCM_Window_InitClipRegion);
FUNCTION
Initializes window clip region so that all rendering is limited to
the window interior.
All window drawing - especially icon rendering - should be done
inside a SCCM_Window_InitClipRegion / SCCM_Window_RemClipRegion call.
INPUTS
RESULT
oldRegion - original clip region (to be supplied
to SCCM_Window_RemClipRegion)
SEE ALSO
SCCM_Window_RemClipRegion
NAME SYNOPSIS
void DoMethod(obj,SCCM_Window_LockUpdate)
FUNCTION
Holds all icon updates for that window.
INPUTS
RESULT
SEE ALSO
NAME
SCCM_Window_RemClipRegion
SYNOPSIS
void DoMethod(obj,SCCM_Window_RemClipRegion,
struct Region *oldRegion);
FUNCTION
Resets window clip region to oldRegion.
INPUTS
oldRegion - original clip region
(Result from SCCM_Window_InitClipRegion)
RESULT
SEE ALSO
SCCM_Window_InitClipRegion
NAME SYNOPSIS
struct Window *win = DoMethod(obj,SCCM_Window_Open);
FUNCTION
INPUTS
RESULT
win - Pointer to Intuition Window if window could be opened,
NULL if something went wrong.
SEE ALSO
NAME SYNOPSIS
void DoMethod(obj,SCCM_Window_SetTitle, CONST_STRPTR title)
FUNCTION
Sets window title to (title).
INPUTS
title - window title string.
RESULT
SEE ALSO
NAME SYNOPSIS
void DoMethod(obj,SCCM_Window_SetInnerSize)
FUNCTION
Update internal Scalos variables according to the current
window size and setup a new window clip region.
INPUTS
RESULT
SEE ALSO
NAME SYNOPSIS
void DoMethod(obj,SCCM_Window_UnlockUpdate)
FUNCTION
Enabled window updates stopped by SCCM_Window_LockUpdate.
INPUTS
RESULT
SEE ALSO