The SGADE Documentation

the SGADE The Socrates Gameboy Advance Development Engine

The SGADE is a development library for the Nintendo Gameboy Advance. It's free for all uses and is distributed without guarantees. For more information visit the SGADE page.


Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

SoWindow.h

Go to the documentation of this file.
00001 // ----------------------------------------------------------------------------
00013 // ----------------------------------------------------------------------------
00014 
00015 #ifndef SO_WINDOW_H
00016 #define SO_WINDOW_H
00017 
00018 #ifdef __cplusplus
00019     extern "C" {
00020 #endif
00021 
00022 
00023 // ---------------------------------------------------------------------------- //! @{
00042 // ----------------------------------------------------------------------------
00043 
00044 // ----------------------------------------------------------------------------
00045 // Includes
00046 // ----------------------------------------------------------------------------
00047 
00048 #include "SoSystem.h"
00049 
00050 // ----------------------------------------------------------------------------
00051 // Public methods;
00052 // ----------------------------------------------------------------------------
00053 
00054 void SoWindowSetWindow0Enable( bool a_Enable );
00055 void SoWindowSetWindow1Enable( bool a_Enable );
00056 
00057 void SoWindow0SetPosition( u16 a_UpperLeftX, u16 a_UpperLeftY,
00058                            u16 a_LowerRightX, u16 a_LowerRightY );
00059 void SoWindow1SetPosition( u16 a_UpperLeftX, u16 a_UpperLeftY,
00060                            u16 a_LowerRightX, u16 a_LowerRightY );
00061 
00062 void SoWindow0BG0InsideEnable( bool a_Enable );
00063 void SoWindow0BG1InsideEnable( bool a_Enable );
00064 void SoWindow0BG2InsideEnable( bool a_Enable );
00065 void SoWindow0BG3InsideEnable( bool a_Enable );
00066 void SoWindow0OBJInsideEnable( bool a_Enable );
00067 void SoWindow0InsideEffectsEnable( bool a_Enable );
00068 
00069 void SoWindow1BG0InsideEnable( bool a_Enable );
00070 void SoWindow1BG1InsideEnable( bool a_Enable );
00071 void SoWindow1BG2InsideEnable( bool a_Enable );
00072 void SoWindow1BG3InsideEnable( bool a_Enable );
00073 void SoWindow1OBJInsideEnable( bool a_Enable );
00074 void SoWindow1InsideEffectsEnable( bool a_Enable );
00075 
00076 void SoWindow0BG0OutsideEnable( bool a_Enable );
00077 void SoWindow0BG1OutsideEnable( bool a_Enable );
00078 void SoWindow0BG2OutsideEnable( bool a_Enable );
00079 void SoWindow0BG3OutsideEnable( bool a_Enable );
00080 void SoWindow0OBJOutsideEnable( bool a_Enable );
00081 void SoWindow0OutsideEffectsEnable( bool a_Enable );
00082 
00083 void SoWindow1BG0OutsideEnable( bool a_Enable );
00084 void SoWindow1BG1OutsideEnable( bool a_Enable );
00085 void SoWindow1BG2OutsideEnable( bool a_Enable );
00086 void SoWindow1BG3OutsideEnable( bool a_Enable );
00087 void SoWindow1OBJOutsideEnable( bool a_Enable );
00088 void SoWindow1OutsideEffectsEnable( bool a_Enable );
00089 
00090 // ----------------------------------------------------------------------------
00091 // EOF;
00092 // ----------------------------------------------------------------------------
00093 
00095 
00096 #ifdef __cplusplus
00097 } // extern "C"
00098 #endif
00099 
00100 #endif

Copyright 2002 by the SGADE authors. See SoLicense.h or Visit the SGADE page for more information.