Home  /  Autodocs

getscreenmode.gadget

create getscreenmode BOOPSI objects

FUNCTIONS

GETSCREENMODE_GetClass

SUPERCLASS

gadgetclass

DESCRIPTION

The getscreenmode gadget class is used to get screenmodes from a screenmode requester in an easy and consistent way. It consists of two button gadgets, one read-only and one popscreenmode button, that are used to select the screenmode and show the result.

Advantages that this class provides:

ATTRIBUTES

Most of these tags operate the same as the ASLSM_#? tags in ASL library. See <asl.library/AslRequest> for detailed descriptions.

GETSCREENMODE_TitleText (STRPTR)
Title of the screenmode requester.

Default to none.

Applicability is (OM_NEW, OM_SET).

GETSCREENMODE_Height (WORD)
Height of the screenmode requester.

Defaults to ~0.

Applicability is (OM_NEW, OM_SET, OM_GET).

GETSCREENMODE_Width (WORD)
Width of the screenmode requester.

Defaults to ~0.

Applicability is (OM_NEW, OM_SET, OM_GET).

GETSCREENMODE_LeftEdge (WORD)
Left edge of the screenmode requester.

Defaults to ~0.

Applicability is (OM_NEW, OM_SET, OM_GET).

GETSCREENMODE_TopEdge (WORD)
Top edge of the screenmode requester.

Defaults to ~0.

Applicability is (OM_NEW, OM_SET, OM_GET).

GETSCREENMODE_DisplayID (ULONG)
Display id of screenmode.

Defaults to 0 (LORES_KEY).

Applicability is (OM_NEW, OM_SET, OM_GET, OM_NOTIFY).

GETSCREENMODE_DisplayWidth (ULONG)
Display width.

Defaults to 640.

Applicability is (OM_NEW, OM_SET, OM_GET, OM_NOTIFY).

GETSCREENMODE_DisplayHeight (ULONG)
Display height.

Defaults to 200.

Applicability is (OM_NEW, OM_SET, OM_GET, OM_NOTIFY).

GETSCREENMODE_DisplayDepth (UWORD)
Display depth.

Defaults to 2.

Applicability is (OM_NEW, OM_SET, OM_GET, OM_NOTIFY).

GETSCREENMODE_OverscanType (UWORD)
Type of overscan.

Defaults to OSCAN_TEXT.

Applicability is (OM_NEW, OM_SET, OM_GET, OM_NOTIFY).

GETSCREENMODE_AutoScroll (BOOL)
Autoscroll setting.

Defaults to TRUE.

Applicability is (OM_NEW, OM_SET, OM_NOTIFY).

GETSCREENMODE_InfoOpened (BOOL)
Info window initially opened?

Defaults to FALSE.

Applicability is (OM_NEW, OM_SET).

GETSCREENMODE_InfoLeftEdge (WORD)
Info window left edge.

Defaults to 30.

Applicability is (OM_NEW, OM_SET, OM_GET).

GETSCREENMODE_InfoTopEdge (WORD)
Info window top edge.

Defaults to 20.

Applicability is (OM_NEW, OM_SET, OM_GET).

GETSCREENMODE_DoWidth (BOOL)
Display Width gadget

Defaults to FALSE.

Applicability is (OM_NEW, OM_SET).

GETSCREENMODE_DoHeight (BOOL)
Display Height gadget

Defaults to FALSE.

Applicability is (OM_NEW, OM_SET).

GETSCREENMODE_DoDepth (BOOL)
Display Depth gadget

Defaults to FALSE.

Applicability is (OM_NEW, OM_SET).

GETSCREENMODE_DoOverscanType (BOOL)
Display Overscan Type gadget

Defaults to FALSE.

Applicability is (OM_NEW, OM_SET).

GETSCREENMODE_DoAutoScroll (BOOL)
Display AutoScroll gadget

Defaults to FALSE.

Applicability is (OM_NEW, OM_SET).

GETSCREENMODE_PropertyFlags (ULONG)
Must have these Property flags.

Defaults to DIPF_IS_WB.

Applicability is (OM_NEW, OM_SET).

GETSCREENMODE_PropertyMask (ULONG)
Only these should be looked at.

Defaults to DIPF_IS_WB.

Applicability is (OM_NEW, OM_SET).

GETSCREENMODE_MinWidth (ULONG)
Minimum display width to allow.

Defaults to 16.

Applicability is (OM_NEW, OM_SET).

GETSCREENMODE_MaxWidth (ULONG)
Maximum display width to allow.

Defaults to 16368.

Applicability is (OM_NEW, OM_SET).

GETSCREENMODE_MinHeight (ULONG)
Minimum display height to allow.

Defaults to 16.

Applicability is (OM_NEW, OM_SET).

GETSCREENMODE_MaxHeight (ULONG)
Maximum display height to allow.

Defaults to 16368.

Applicability is (OM_NEW, OM_SET).

GETSCREENMODE_MinDepth (ULONG)
Minimum display depth to allow.

Defaults to 1.

Applicability is (OM_NEW, OM_SET).

GETSCREENMODE_MaxDepth (ULONG)
Maximum display depth to allow.

Defaults to 24.

Applicability is (OM_NEW, OM_SET).

GETSCREENMODE_FilterFunc (struct Hook *)
Function to filter mode id's.

Defaults to none.

Applicability is (OM_NEW, OM_SET).

GETSCREENMODE_CustomSMList (struct List *)
Exec list of struct DisplayMode.

Defaults to none.

Applicability is (OM_NEW, OM_SET).