aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/implementation.c
AgeCommit message (Collapse)AuthorFilesLines
2019-09-07Clean up error handlingDavid Robillard1-1/+1
2019-09-07Add clipboard supportDavid Robillard1-0/+46
2019-09-03Make almost everything return a statusDavid Robillard1-3/+6
Prepares the API for proper error handling, even though there isn't any for these functions yet.
2019-09-03Add puglSetWindowTitle()David Robillard1-1/+1
2019-09-03Rename remaining init functionsDavid Robillard1-7/+10
This finishes the removal of the init/set split. While these ones are superficial, the general idea here is to provide general functions that work before or after window creation where possible. This prevents the situation where ever more dynamic counterparts to existing init functions get added over time.
2019-09-03Add puglSetClassName()David Robillard1-11/+18
2019-09-03Replace puglInitTransientFor() with puglSetTransientFor()David Robillard1-6/+0
2019-09-03Replace size and aspect ratio init functions with dynamic onesDavid Robillard1-20/+0
2019-09-03Move trivial deprecated implementations to headerDavid Robillard1-41/+0
Again just makes non-deprecated things easier to read and review, and also cleans up the symbol table.
2019-09-03Add puglGetWorld()David Robillard1-0/+6
2019-09-03Use consistent naming conventionsDavid Robillard1-11/+11
2019-09-03Add swap interval hintDavid Robillard1-0/+1
2019-09-03Add functions to get and set view size and positionDavid Robillard1-9/+13
2019-09-03Move puglGetTime() to PuglWorldDavid Robillard1-1/+2
2019-09-03Add PuglWorldDavid Robillard1-5/+65
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-03Simplify hints implementationDavid Robillard1-49/+20
2019-08-02Replace puglIgnoreKeyRepeat() with a hintDavid Robillard1-2/+5
2019-07-29Cleanup: Clean up includes and call IWYU in lint targetDavid Robillard1-0/+1
2019-07-29Fix potential memory leak on errorDavid Robillard1-0/+1
2019-07-29Reorganize source to separate private implementation detailsDavid Robillard1-0/+275
Taking a page from C++ convention, where "detail" is for things that should not be included in user code.