aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-07-21Fix some warningsDavid Robillard3-11/+11
2019-07-21Tidy up X11 codeDavid Robillard1-30/+16
2019-07-21Make windows miniaturizable on MacOSDavid Robillard1-1/+3
2019-07-21Remove redundant and mismatched prototypeDavid Robillard1-5/+2
2019-07-21Show minimize and maximize buttons on top level windows on WindowsDavid Robillard1-2/+4
2019-07-21Add puglRequestAttention()David Robillard7-1/+100
2019-07-21Fix handling of WM_DELETE_WINDOWDavid Robillard2-8/+16
2019-07-21Use local display and window variables for brevityDavid Robillard1-18/+18
2019-07-21Implement focus on MacOSDavid Robillard1-19/+44
2019-07-21Implement puglGrabFocus on Windows and MacOSDavid Robillard2-3/+2
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-21Set square aspect ratio on pugl_test windowDavid Robillard1-0/+1
2019-07-21Gracefully handle failure to create windowDavid Robillard1-1/+4
2019-07-21Set title and minimum size for pugl_cairo_test windowDavid Robillard1-0/+2
2019-07-21Fix Cairo on MacOSDavid Robillard2-3/+104
2019-07-21Fix initial display on Windows againDavid Robillard1-0/+1
2019-07-21Implement focus on WindowsDavid Robillard1-0/+6
2019-07-21Implement enter and leave notifications on WindowsDavid Robillard1-1/+40
2019-07-21Print more information about crossing and focus eventsDavid Robillard1-4/+6
2019-07-21Implement enter and leave notifications on MacOSDavid Robillard1-2/+24
2019-07-21Show mouse enter/leave state in pugl_test backgroundDavid Robillard1-0/+5
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-21Draw during resizing on WindowsDavid Robillard1-10/+48
2019-07-21Draw in pugl_test according to display timeDavid Robillard1-21/+21
2019-07-21Fix initial window display on WindowsDavid Robillard1-5/+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 Robillard5-13/+18
2019-07-20Remove redisplay flag and use system events insteadDavid Robillard6-23/+9
2019-07-20Add CI rows for MinGWDavid Robillard1-0/+32
2019-07-20Use C for Windows implementationDavid Robillard2-60/+65
This avoids C++ binary compatibility and dependency hassles when cross-compiling.
2019-06-30Make translateKey take a PuglEventKeyDavid Robillard1-9/+9
2019-06-30Send a configure event on initial window mappingDavid Robillard1-0/+10
2019-06-30Tidy up whitespaceDavid Robillard5-3/+2
2019-06-30Clean up redundant wrappers around SetWindowLongPtrDavid Robillard1-16/+2
2019-06-30Implement attributes on WindowsDavid Robillard1-46/+190
2019-06-30Clean up window creation on WindowsDavid Robillard1-30/+24
2019-06-29Fix horizontal mouse axis in pugl_testDavid Robillard1-1/+1
2019-06-29Fix various warningsDavid Robillard4-29/+40
2019-06-29Implement attributes on MacOSDavid Robillard1-7/+18
2019-06-27Enable vsync on WindowsDavid Robillard1-0/+9
2019-06-27Draw while resizing on WindowsDavid Robillard1-0/+2
2019-06-27Add pugl_test option to continuously animate and report FPSDavid Robillard1-7/+42
2019-06-27Add puglGetTime()David Robillard4-0/+42
2019-06-27Fix documentationDavid Robillard3-8/+4
2019-06-27Remove redundant glFlush on WindowsDavid Robillard1-1/+0
2019-06-27Fix some warnings on WindowsDavid Robillard1-5/+5
2019-06-27Remove dead code on WindowsDavid Robillard1-17/+0