aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/mac.h
AgeCommit message (Collapse)AuthorFilesLines
2020-10-21Move includes to a separate directoryDavid Robillard1-55/+0
This is more conventional and directories named "include" are specially understood by some tooling like clang-tidy.
2020-07-02Mac: Declare instance variables in implementationDavid Robillard1-13/+0
Declaring instance variables in interfaces is deprecated, according to Wobjc-interface-vars (Apple clang version 11.0.0).
2020-06-13Add puglSetCursor()Jean Pierre Cimalando1-0/+2
2020-05-16Use email address in copyright headersDavid Robillard1-1/+1
Not really sure why I used a web link here (maybe because it's more stable), but this is more conventional.
2020-05-16Fix file documentationDavid Robillard1-2/+3
2020-04-01Cleanup: Fix mismatched file commentsDavid Robillard1-1/+1
2020-03-31Mac: Fix various warningsDavid Robillard1-1/+1
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