mirror of
https://github.com/jorio/Pomme.git
synced 2025-03-11 00:30:16 +00:00
Implement GetWindowPort
This commit is contained in:
parent
68d094c179
commit
cf2ca92506
@ -280,6 +280,11 @@ void DamagePortRegion(const Rect* r)
|
|||||||
curPort->DamageRegion(*r);
|
curPort->DamageRegion(*r);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CGrafPtr GetWindowPort(WindowPtr window)
|
||||||
|
{
|
||||||
|
return window;
|
||||||
|
}
|
||||||
|
|
||||||
void DumpPortTGA(const char* outPath)
|
void DumpPortTGA(const char* outPath)
|
||||||
{
|
{
|
||||||
curPort->pixels.WriteTGA(outPath);
|
curPort->pixels.WriteTGA(outPath);
|
||||||
|
@ -122,6 +122,8 @@ void SetPort(GrafPtr port);
|
|||||||
|
|
||||||
void GetPort(GrafPtr* port);
|
void GetPort(GrafPtr* port);
|
||||||
|
|
||||||
|
CGrafPtr GetWindowPort(WindowPtr window);
|
||||||
|
|
||||||
void MoveTo(short h, short v);
|
void MoveTo(short h, short v);
|
||||||
|
|
||||||
void GetForeColor(RGBColor* rgb);
|
void GetForeColor(RGBColor* rgb);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user