aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail
AgeCommit message (Collapse)AuthorFilesLines
2019-08-02Replace puglIgnoreKeyRepeat() with a hintDavid Robillard5-6/+9
2019-07-31Windows: Support UTF8 in window titlesDavid Robillard1-1/+19
2019-07-31X11: Support UTF8 in window titlesJP Cimalando2-0/+7
It's possible that this does bad things if a UTF8 string is used on a system that does not support it (because XStoreName is still called), but I have no idea how likely this scenario is. Leaving it this way because it means the ASCII case will still work everywhere, and it's easy enough to avoid if this is a problem.
2019-07-31Cleanup: Remove debug print that snuck in there somehowDavid Robillard1-1/+0
2019-07-29X11: Implement double buffering for CairoDavid Robillard1-31/+66
Also save and restore cairo context state around callbacks, so applications don't need to worry about smashing cairo state across exposures.
2019-07-29Mac: Separate backends from platform implementationDavid Robillard4-390/+445
2019-07-29Mac: Add Cairo on Quartz supportDavid Robillard2-132/+113
This avoids the general hassles of OpenGL, which is deprecated on MacOS, and Cairo apps look much nicer and more integrated this way. As far as I can tell, Cairo actually works best here out of all the platforms, the Windows and X11 backends aren't quite as smooth.
2019-07-29Mac: Make drawView a generic NSViewDavid Robillard1-20/+46
2019-07-29Mac: Separate NSOpenGLView from input handling viewDavid Robillard1-113/+142
2019-07-29Mac: Use scrolling delta for scroll eventsDavid Robillard1-2/+2
I am not sure exactly what the difference is between these, but the documentation says to use these for scroll events. They do have different values for touchpads and the scrolling one feels a bit nicer.
2019-07-29Cleanup: Clean up includes and call IWYU in lint targetDavid Robillard6-1/+17
2019-07-29Fix various clang-tidy warningsDavid Robillard3-15/+15
2019-07-29Fix potential memory leak on errorDavid Robillard1-0/+1
2019-07-29Reorganize source to separate private implementation detailsDavid Robillard13-0/+3853
Taking a page from C++ convention, where "detail" is for things that should not be included in user code.