aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/mac.h
AgeCommit message (Collapse)AuthorFilesLines
2020-03-16Simplify puglRequestAttention()David Robillard1-1/+0
Now that timers are exposed, applications can repeatedly nag for attention themselves if they really want to.
2020-03-16Add timer eventsDavid Robillard1-0/+1
2019-11-03Cleanup: Fix whitespaceDavid Robillard1-1/+1
2019-10-15Mac: Remove unused method declarationDavid Robillard1-1/+0
2019-09-03Add functions to get and set view size and positionDavid Robillard1-0/+2
2019-09-03Add puglPollEvents()David Robillard1-1/+0
This allows waiting for events for any view in the world. It also improves on puglWaitForEvent() by the addition of a time parameter that allows indefinite blocking, non-blocking polling, and blocking polling with a timeout.
2019-09-03Add PuglWorldDavid Robillard1-0/+5
The old API was broken for programs that manage multiple views, since it was impossible to wait for events on any view. There are also several functions in the API which are not actually associated with views at all, so those can now be moved to the more appropriate PuglWorld to make this more clear. The old puglInit() and puglDestroy() functions are preserved for compatibility, but marked as deprecated.
2019-09-03Mac: Dispatch expose events from drawing viewMichael Fisher1-0/+1
2019-07-29Mac: Separate backends from platform implementationDavid Robillard1-0/+59