mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
Add some initial widget functionality (prefs partly working)
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
|
||||
struct IGpColorCursor;
|
||||
struct GpVOSEvent;
|
||||
struct GpMouseInputEvent;
|
||||
struct TimeTaggedVOSEvent;
|
||||
|
||||
namespace PortabilityLayer
|
||||
@@ -104,6 +105,9 @@ struct Window
|
||||
|
||||
DrawSurface *GetDrawSurface() const;
|
||||
|
||||
// Convenience method to convert a mouse event to local point
|
||||
Point MouseToLocal(const GpMouseInputEvent &evt) const;
|
||||
|
||||
DrawSurface m_graf; // Must be the first item
|
||||
|
||||
// The port is always at 0,0
|
||||
@@ -308,8 +312,6 @@ PLError_t PBGetCatInfo(CInfoPBPtr paramBlock, Boolean async);
|
||||
DirectoryFileListEntry *GetDirectoryFiles(PortabilityLayer::VirtualDirectory_t dirID);
|
||||
void DisposeDirectoryFiles(DirectoryFileListEntry *firstDFL);
|
||||
|
||||
short StringWidth(const PLPasStr &str);
|
||||
|
||||
void GetMouse(Point *point);
|
||||
Boolean Button(); // Returns true if there's a mouse down event in the queue
|
||||
Boolean StillDown();
|
||||
|
Reference in New Issue
Block a user