mirror of
https://github.com/jorio/Pomme.git
synced 2024-11-27 05:49:18 +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);
|
||||
}
|
||||
|
||||
CGrafPtr GetWindowPort(WindowPtr window)
|
||||
{
|
||||
return window;
|
||||
}
|
||||
|
||||
void DumpPortTGA(const char* outPath)
|
||||
{
|
||||
curPort->pixels.WriteTGA(outPath);
|
||||
|
@ -122,6 +122,8 @@ void SetPort(GrafPtr port);
|
||||
|
||||
void GetPort(GrafPtr* port);
|
||||
|
||||
CGrafPtr GetWindowPort(WindowPtr window);
|
||||
|
||||
void MoveTo(short h, short v);
|
||||
|
||||
void GetForeColor(RGBColor* rgb);
|
||||
|
Loading…
Reference in New Issue
Block a user