// HEL Library \\ |
The Window Feature can be used to split the screen into different regions. BG0-3, OBJ Layers and Special Effects can be separately enabled and/or disabled in each of these regions.
All functions, except for hel_WinInitEx, get replaced with macros when you switch to release-mode. They are quite fast in this case, fast enough to be in a HBL interrupt for example.
|
Set region of an existing window. The hel_WinSetRegion function sets the region of an existing window.
// DeInit Window 0 hel_WinDeInit(0);
|
|
Hide an existing window. The hel_WinHide function hides an existing window.
hel_WinHide ( 0 // WinNo );
|
|
Initializes a new Window. The hel_WinInit function initializes a new window. Please refer to hel_WinInitEx for details.
|
|
Initializes a new Window. The hel_WinInitEx function initializes a new window. Windows can be used, for example, to split the screen into different regions.
hel_WinInitEx ( 0, // WinNo 0, // Left 16, // Top 240, // Right 144, // Bottom WIN_BG0 | WIN_BG 1 | WIN_FX, // InsideFlags WIN_NONE, // OutsideFlags FALSE // SkipOutsideFlags );
|
|
Set inside flags of an existing window. The hel_WinSetInsideFlags function sets the InsideFlags of an existing window.
hel_WinSetInsideFlags ( 0, // WinNo WIN_BG2 | WIN_FX // InsideFlags );
|
|
Set inside flags of an existing window. The hel_WinSetInsideFlags function sets the InsideFlags of an existing window.
hel_WinSetOutsideFlags ( 0, // WinNo WIN_ALL // InsideFlags );
|
|
Set region of an existing window. The hel_WinSetRegion function sets the region of an existing window.
hel_WinSetRegion ( 0, // WinNo 0, // Left 16, // Top 240, // Right 144 // Bottom );
|
|
Set visibility of an existing window.
The hel_WinSetVisible function either shows or hides the Window specified by
hel_WinSetVisible ( 0, // WinNo FALSE // Value );
|
|
Show an existing window. The hel_WinShow function shows an existing window, which was made invisible from a previous call to hel_WinHide.
hel_WinShow ( 0 // WinNo );
|