aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_osx.m
AgeCommit message (Collapse)AuthorFilesLines
2019-07-21Implement focus on MacOSDavid Robillard1-19/+44
2019-07-21Implement puglGrabFocus on Windows and MacOSDavid Robillard1-1/+1
2019-07-21Implement aspect ratio on MacOSDavid Robillard1-0/+5
Unfortunately MacOS does not seem to support constraints here, so just use the minimum.
2019-07-21Fix Cairo on MacOSDavid Robillard1-3/+5
2019-07-21Implement enter and leave notifications on MacOSDavid Robillard1-2/+24
2019-07-21Remove redundant prototypesDavid Robillard1-21/+0
2019-07-21Draw during resizing on MacOSDavid Robillard1-2/+32
Unfortunately drawing still stalls if the user just grabs the resize handle until the first resize event happens, but it seems to be impossible to fix this without using another thread.
2019-07-21Clean up Objective C syntaxDavid Robillard1-7/+7
2019-07-21Clean up event loop on MacOSDavid Robillard1-20/+14
2019-07-21Fix tracking area implementation on MacOSDavid Robillard1-9/+5
I am not sure why updateTrackingAreas was being spammed before, but that caused the event loop to constantly tick when the mouse was hovered over the window despite nothing else happening. Everything seems to work fine without it, and this seems to match other code, so remove it. Also call super in updateTrackingAreas as suggested by the documentation.
2019-07-21Make time start from approximately zeroDavid Robillard1-1/+1
2019-07-20Remove redisplay flag and use system events insteadDavid Robillard1-1/+0
2019-06-29Implement attributes on MacOSDavid Robillard1-7/+18
2019-06-27Add puglGetTime()David Robillard1-0/+9
2019-06-27Fix window embedding on MacOSStefan Westerfeld1-2/+2
2019-06-27Make event processing non-blocking on MacOSStefan Westerfeld1-4/+8
2019-06-27Defer to NSOpenGLView reshape methodDavid Robillard1-0/+1
This apparently does nothing, but the compiler warns about the missing super call.
2019-06-27Fix const castsDavid Robillard1-10/+10
2019-06-27Consistently use uint32_t everywhereDavid Robillard1-6/+6
2019-04-14Fix MacOS buildDavid Robillard1-1/+4
2019-02-17Add puglGetProcAddress for using OpenGL extensionsDavid Robillard1-0/+16
2019-02-17Add configuration APIDavid Robillard1-2/+2
2019-02-16Clean up includesDavid Robillard1-4/+4
2017-10-03Don't clear entire cairo surface on each exposeDavid Robillard1-6/+0
2017-10-03Fix size constraints on OSXDavid Robillard1-15/+39
2017-10-03Send zero instead of replacement char for invalid key stringsDavid Robillard1-1/+2
2017-10-03Fix implicit integer conversion warningDavid Robillard1-2/+2
2017-07-23Fix duplicate method declarationDavid Robillard1-1/+0
2017-07-23Implement special key handling on MacOSHanspeter Portner1-17/+78
2016-10-27Support many mouse buttons on OSXDavid Robillard1-0/+18
2016-10-27Fix mouse button numbers on OSXDavid Robillard1-2/+2
2016-10-26Fix OSX buildDavid Robillard1-20/+29
2016-09-14Fix puglInitInternals prototypeDavid Robillard1-1/+1
2016-09-01Add PUGL_CLOSE eventDavid Robillard1-2/+7
This allows purely event-driven applications to handle window close. Something more extensible for WM message seems like it might be a good idea here, but I can't think of specific uses, so this will do.
2016-09-01Add puglGetVisible()David Robillard1-0/+2
2016-08-31Replace send_event with extensible flagsDavid Robillard1-7/+7
This is currently functionally equivalent, but taking up space in the event struct for a single bool which could be used for 32 flags for any number of things that might show up in the future seems like a very bad idea.
2016-07-28Add support for Cairo on OSXDavid Robillard1-18/+57
2015-11-12Fix memory leaksDavid Robillard1-0/+1
2015-09-14Fix events on OSX.David Robillard1-8/+15
2015-09-12Update copyright dates.David Robillard1-1/+1
2015-09-12Add puglWaitForEvent for blocking main loops.David Robillard1-2/+16
2015-02-15UTF-8 support on OSX.David Robillard1-5/+21
2014-12-16Fix compilation on OSX.David Robillard1-21/+20
2014-12-16Use status window level for transients on OSX.Robin Gareus1-1/+1
Conflicts: pugl/pugl_osx.m
2014-12-16Redraw only when necessary on OSX.Robin Gareus1-1/+0
Conflicts: pugl/pugl_osx.m
2014-12-16Add support for transient child windows.Robin Gareus1-12/+18
No Windows support currently. Conflicts: pugl/pugl.h pugl/pugl_osx.m pugl/pugl_win.cpp pugl/pugl_x11.c
2014-12-16Various OSX fixes.Robin Gareus1-30/+36
Conflicts: pugl/pugl_osx.m
2014-12-16Support minimum window size.Robin Gareus1-0/+3
Conflicts: pugl/pugl_win.cpp
2014-11-21Fix compilation on OSX.David Robillard1-80/+156
Use new event dispatch mechanism on OSX.
2014-09-27Improve documentation.David Robillard1-1/+1