mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 20:19:38 +00:00
Cleanup, add scanline mask builder
This commit is contained in:
@@ -83,25 +83,21 @@ void GetExtraCursors (void)
|
||||
handCursorH = GetCursor(kHandCursorID);
|
||||
if (handCursorH == nil)
|
||||
RedAlert(kErrFailedResourceLoad);
|
||||
HLock((Handle)handCursorH);
|
||||
handCursor = **handCursorH;
|
||||
|
||||
vertCursorH = GetCursor(kVertCursorID);
|
||||
if (vertCursorH == nil)
|
||||
RedAlert(kErrFailedResourceLoad);
|
||||
HLock((Handle)vertCursorH);
|
||||
vertCursor = **vertCursorH;
|
||||
|
||||
horiCursorH = GetCursor(kHoriCursorID);
|
||||
if (horiCursorH == nil)
|
||||
RedAlert(kErrFailedResourceLoad);
|
||||
HLock((Handle)horiCursorH);
|
||||
horiCursor = **horiCursorH;
|
||||
|
||||
diagCursorH = GetCursor(kDiagCursorID);
|
||||
if (diagCursorH == nil)
|
||||
RedAlert(kErrFailedResourceLoad);
|
||||
HLock((Handle)diagCursorH);
|
||||
diagCursor = **diagCursorH;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user