aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/implementation.h
AgeCommit message (Collapse)AuthorFilesLines
2020-05-16Use line comments where appropriateDavid Robillard1-12/+12
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-1/+2
2020-03-16Factor out dispatching configure events in the drawing contextDavid Robillard1-0/+3
The updates here need to happen whenever a configure is dispatched, even outside puglDispatchEvent(). This removes the last remaining direct calls to the event callback so the common implementation can always do the right thing.
2020-03-15Add type and flags to worldDavid Robillard1-1/+2
Unfortunately this is an API break, but there's no reasonable way to deprecate the old function and this is required for things to work correctly. The type will be used in following commits to tick the main loop and dispatch events correctly for either case.
2020-03-15Cleanup: Add puglDispatchSimpleEvent() internal utilityDavid Robillard1-0/+3
2020-03-15Move configure shortcut and frame update to common implementationDavid Robillard1-2/+2
2020-03-01Add PUGL_BEGIN_DECLS and PUGL_END_DECLS macrosDavid Robillard1-6/+2
Just to keep the C++ noise out of the headers.
2019-11-09Fix various clang-tidy warningsDavid Robillard1-1/+1
2019-09-07Add clipboard supportDavid Robillard1-0/+15
2019-09-03Add puglSetWindowTitle()David Robillard1-0/+3
2019-09-03Add PuglWorldDavid Robillard1-2/+11
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-07-29Reorganize source to separate private implementation detailsDavid Robillard1-0/+46
Taking a page from C++ convention, where "detail" is for things that should not be included in user code.