mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
API cleanup, fix some lingering InvalWindowRects
This commit is contained in:
@@ -3,12 +3,6 @@
|
||||
#include "PLArrayViewIterator.h"
|
||||
#include "PLWidgets.h"
|
||||
|
||||
int FindControl(Point point, WindowPtr window, ControlHandle *outControl)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
return 0;
|
||||
}
|
||||
|
||||
int FindControl(Point point, WindowPtr window, PortabilityLayer::Widget **outControl)
|
||||
{
|
||||
// Returns clicked part
|
||||
@@ -32,78 +26,3 @@ int FindControl(Point point, WindowPtr window, PortabilityLayer::Widget **outCon
|
||||
*outControl = nullptr;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void SetControlValue(ControlHandle control, int value)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
}
|
||||
|
||||
void SetControlMaximum(ControlHandle control, int value)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
}
|
||||
|
||||
void MoveControl(ControlHandle control, int x, int y)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
}
|
||||
|
||||
void SizeControl(ControlHandle control, int width, int height)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
}
|
||||
|
||||
int GetControlValue(ControlHandle control)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
return 0;
|
||||
}
|
||||
|
||||
ControlHandle NewControl(WindowPtr window, const Rect *rect, const PLPasStr &label, Boolean visible, int value, int minValue, int maxValue, int cdef, long userdata)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
ControlActionUPP NewControlActionUPP(ControlActionProc proc)
|
||||
{
|
||||
return proc;
|
||||
}
|
||||
|
||||
void DisposeControlActionUPP(ControlActionUPP upp)
|
||||
{
|
||||
}
|
||||
|
||||
Boolean TrackControl(ControlHandle control, Point point, ControlActionUPP proc)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
return false;
|
||||
}
|
||||
|
||||
Boolean TrackControl(PortabilityLayer::Widget *widget, Point point, ControlActionUPP proc)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
return false;
|
||||
}
|
||||
|
||||
long GetControlReference(ControlHandle control)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
return 0;
|
||||
}
|
||||
|
||||
ControlHandle GetNewControl(int resID, WindowPtr window)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void HiliteControl(ControlHandle control, int unknown)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
}
|
||||
|
||||
void HiliteControl(PortabilityLayer::Widget *widget, int unknown)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user