mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
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:
43
src/window/platform/osx/cosximpl.cpp
Normal file
43
src/window/platform/osx/cosximpl.cpp
Normal 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
|
||||
Reference in New Issue
Block a user