Clean out unused API

This commit is contained in:
elasota
2020-03-14 12:03:50 -04:00
parent cea0bde015
commit e114d5c5dd
11 changed files with 3 additions and 188 deletions

View File

@@ -108,11 +108,6 @@ short FindWindow(Point point, WindowPtr *window)
return part;
}
void BringToFront(WindowPtr window)
{
PL_NotYetImplemented();
}
bool TrackGoAway(WindowPtr window, Point point)
{
PL_NotYetImplemented();
@@ -131,21 +126,6 @@ bool TrackBox(WindowPtr window, Point point, int part)
return false;
}
void HiliteWindow(WindowPtr window, bool highlighted)
{
PL_NotYetImplemented();
}
void GetWindowBounds(WindowPtr window, WindowRegionType windowRegion, Rect *rect)
{
if (windowRegion == kWindowContentRgn)
*rect = window->m_surface.m_port.GetRect();
else
{
PL_NotYetImplemented();
}
}
WindowPtr GetNewCWindow(int resID, void *storage, WindowPtr behind)
{
Handle windowResource = PortabilityLayer::ResourceManager::GetInstance()->GetAppResource('WIND', resID);
@@ -168,18 +148,6 @@ WindowPtr GetNewCWindow(int resID, void *storage, WindowPtr behind)
return window;
}
WindowPtr NewCWindow(void *storage, const Rect *bounds, const PLPasStr &title, Boolean visible, int wdef, WindowPtr behind, long userdata)
{
PL_NotYetImplemented();
return nullptr;
}
WindowPtr NewWindow(void *storage, const Rect *bounds, const PLPasStr &title, Boolean visible, int wdef, WindowPtr behind, long userdata)
{
PL_NotYetImplemented();
return nullptr;
}
void SizeWindow(WindowPtr window, int width, int height, Boolean addToUpdateRegion)
{
PortabilityLayer::WindowManager::GetInstance()->ResizeWindow(window, width, height);