Cleanup, add scanline mask builder

This commit is contained in:
elasota
2019-12-26 12:58:58 -05:00
parent b10dda4a54
commit c4e93b0ccf
61 changed files with 823 additions and 494 deletions

View File

@@ -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();