mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Cleanup, add scanline mask builder
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include "PLApplication.h"
|
||||
#include "PLPasStr.h"
|
||||
#include "PLKeyEncoding.h"
|
||||
#include "PLQuickdraw.h"
|
||||
#include "PLQDraw.h"
|
||||
|
||||
#include "AEManager.h"
|
||||
#include "DisplayDeviceManager.h"
|
||||
@@ -901,10 +901,17 @@ void GetDateTime(UInt32 *dateTime)
|
||||
|
||||
void GetTime(DateTimeRec *dateTime)
|
||||
{
|
||||
PL_NotYetImplemented_TODO("DateTime");
|
||||
dateTime->month = 1;
|
||||
dateTime->hour = 0;
|
||||
dateTime->minute = 0;
|
||||
unsigned int year;
|
||||
unsigned int month;
|
||||
unsigned int day;
|
||||
unsigned int hour;
|
||||
unsigned int minute;
|
||||
unsigned int second;
|
||||
PortabilityLayer::HostSystemServices::GetInstance()->GetLocalDateTime(year, month, day, hour, minute, second);
|
||||
|
||||
dateTime->month = month;
|
||||
dateTime->hour = hour;
|
||||
dateTime->minute = minute;
|
||||
}
|
||||
|
||||
UInt32 GetDblTime()
|
||||
@@ -955,22 +962,6 @@ long GetHandleSize(Handle handle)
|
||||
return static_cast<long>(block->m_size);
|
||||
}
|
||||
|
||||
void HNoPurge(Handle hdl)
|
||||
{
|
||||
}
|
||||
|
||||
void MoveHHi(Handle hdl)
|
||||
{
|
||||
}
|
||||
|
||||
void HLock(Handle hdl)
|
||||
{
|
||||
}
|
||||
|
||||
void HUnlock(Handle hdl)
|
||||
{
|
||||
}
|
||||
|
||||
OSErr PtrAndHand(const void *data, Handle handle, Size size)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
|
||||
Reference in New Issue
Block a user