mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-24 07:06:36 +00:00
Major draw code refactor
This commit is contained in:
@@ -130,19 +130,19 @@ void DecrementCursor (void);
|
||||
void SpinCursor (short);
|
||||
void BackSpinCursor (short);
|
||||
|
||||
void ColorText (StringPtr, long); // --- ColorUtils.c
|
||||
void ColorRect (Rect *, long);
|
||||
void ColorOval (Rect *, long);
|
||||
void ColorRegion (PortabilityLayer::ScanlineMask *scanlineMask, long colorIndex);
|
||||
void ColorLine (short, short, short, short, long);
|
||||
void HiliteRect (Rect *, short, short);
|
||||
void ColorFrameRect (Rect *, long);
|
||||
void ColorFrameWHRect (short, short, short, short, long);
|
||||
void ColorFrameOval (Rect *, long);
|
||||
void LtGrayForeColor (void);
|
||||
void GrayForeColor (void);
|
||||
void DkGrayForeColor (void);
|
||||
void RestoreColorsSlam (void);
|
||||
void ColorText (DrawSurface *surface, const Point &, StringPtr, long); // --- ColorUtils.c
|
||||
void ColorRect (DrawSurface *surface, const Rect &, long);
|
||||
void ColorOval (DrawSurface *surface, const Rect &, long);
|
||||
void ColorRegion (DrawSurface *surface, PortabilityLayer::ScanlineMask *scanlineMask, long colorIndex);
|
||||
void ColorLine (DrawSurface *surface, short, short, short, short, long);
|
||||
void HiliteRect (DrawSurface *surface, const Rect &rect, short, short);
|
||||
void ColorFrameRect (DrawSurface *surface, const Rect &theRect, long colorIndex);
|
||||
void ColorFrameWHRect (DrawSurface *surface, short, short, short, short, long);
|
||||
void ColorFrameOval (DrawSurface *surface, const Rect &, long);
|
||||
void LtGrayForeColor (DrawSurface *surface);
|
||||
void GrayForeColor (DrawSurface *surface);
|
||||
void DkGrayForeColor (DrawSurface *surface);
|
||||
void RestoreColorsSlam (DrawSurface *surface);
|
||||
|
||||
void MonitorWait (void); // --- DebugUtils.c
|
||||
void DisplayRect (Rect *);
|
||||
@@ -155,7 +155,6 @@ void FlashShort (short);
|
||||
void DoBarGraph (short, short, short, short);
|
||||
short BetaOkay (void);
|
||||
void DebugNum (long);
|
||||
void DisplayCTSeed (CGrafPtr);
|
||||
void FillScreenRed (void);
|
||||
void DumpToResEditFile (Ptr, long);
|
||||
|
||||
@@ -195,27 +194,18 @@ short RandomInt (short);
|
||||
long RandomLong (long);
|
||||
void InitRandomLongQUS (void);
|
||||
UInt32 RandomLongQUS (void);
|
||||
//void CenterAlert (short);
|
||||
void RedAlert (short);
|
||||
//void CreateOffScreenBitMap (Rect *, GrafPtr *);
|
||||
//void CreateOffScreenPixMap (Rect *, CGrafPtr *);
|
||||
//void KillOffScreenPixMap (CGrafPtr);
|
||||
//void KillOffScreenBitMap (GrafPtr);
|
||||
void LoadGraphic (short);
|
||||
void LoadScaledGraphic (short, Rect *);
|
||||
//void PlotSICN (Rect *, SICNHand, long);
|
||||
void LoadGraphic (DrawSurface *, short);
|
||||
void LoadScaledGraphic (DrawSurface *, short, Rect *);
|
||||
void LargeIconPlot (Rect *, short);
|
||||
void DrawCIcon (short, short, short);
|
||||
char KeyMapOffsetFromRawKey (char);
|
||||
long LongSquareRoot (long);
|
||||
//void HideMenuBarOld (void);
|
||||
//void ShowMenuBarOld (void);
|
||||
Boolean WaitForInputEvent (short);
|
||||
void WaitCommandQReleased (void);
|
||||
void GetKeyName (intptr_t, StringPtr);
|
||||
Boolean OptionKeyDown (void);
|
||||
long ExtractCTSeed (CGrafPtr);
|
||||
//void ForceCTSeed (CGrafPtr, long);
|
||||
long ExtractCTSeed (DrawSurface *);
|
||||
void DelayTicks (long);
|
||||
void UnivGetSoundVolume (short *, Boolean);
|
||||
void UnivSetSoundVolume (short, Boolean);
|
||||
|
Reference in New Issue
Block a user