Added platform specific implementation of window management functions, that can be used by any backend passing some basic arguments to handle the operations.

This commit is contained in:
spartanj
2011-02-13 06:06:07 -03:00
parent 18b2fb5eb5
commit 9c81b69e8c
27 changed files with 774 additions and 466 deletions

View File

@@ -0,0 +1,43 @@
#include "cosximpl.hpp"
#if EE_PLATFORM == EE_PLATFORM_MACOSX
namespace EE { namespace Window { namespace Platform {
cOSXImpl::cOSXImpl( cWindow * window ) :
cPlatformImpl( window )
{
}
cOSXImpl::~cOSXImpl() {
}
void cOSXImpl::MinimizeWindow() {
}
void cOSXImpl::MaximizeWindow() {
}
void cOSXImpl::HideWindow() {
}
void cOSXImpl::RaiseWindow() {
}
void cOSXImpl::ShowWindow() {
}
void cOSXImpl::MoveWindow( int left, int top ) {
}
void cOSXImpl::SetContext( eeWindowContex Context ) {
aglSetCurrentContext( Context );
}
eeVector2i cOSXImpl::Position() {
return eeVector2i(0,0);
}
}}}
#endif