aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/types.h
AgeCommit message (Collapse)AuthorFilesLines
2020-05-16Add default and maximum sizeDavid Robillard1-0/+4
2020-05-16Use line comments where appropriateDavid Robillard1-16/+16
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-2/+3
2020-04-01Consistently use "view" terminology in APIDavid Robillard1-2/+2
The sloppy use of "window" caused quite a bit of confusion, since views only correspond to top-level windows in some cases, and on MacOS, a non-top-level view is not a "window" at all.
2020-03-16Separate cached configuration from frameDavid Robillard1-1/+1
This was a bad idea and a never-ending source of problems. The frame represents what the "current" frame is from a Pugl perspective, but with the asynchronicity of X11 and other issues this cant be used to filter configure events. Instead, simply cache the last configure event that was sent and compare with that.
2020-03-15Remove backend resize methodDavid Robillard1-3/+0
2020-03-14Add logging APIDavid Robillard1-0/+2
2020-03-09X11: Only send configure events if something has changedDavid Robillard1-0/+1
2020-03-09Fix build with unknown C compilersDavid Robillard1-2/+2
2020-03-08Add a user data handle to the worldDavid Robillard1-0/+1
2020-02-18Pass expose event to backend enter and leave functionsDavid Robillard1-4/+4
This is needed for clipping. Unfortunately, the puglEnterContext() and puglLeaveContext() API was not suitable for this, but this shouldn't matter in user code because it is only used for setup, and is slated for removal anyway. Instead, just call the backend functions directly in the implementation.
2019-11-03Remove redisplay flag and add puglPostRedisplayRect()David Robillard1-1/+0
2019-09-07Clean up error handlingDavid Robillard1-6/+6
2019-09-07Add clipboard supportDavid Robillard1-0/+7
2019-09-03Add puglSetWindowTitle()David Robillard1-0/+1
2019-09-03Add puglSetClassName()David Robillard1-1/+1
2019-09-03Use consistent naming conventionsDavid Robillard1-7/+7
2019-09-03Windows: Improve puglPostRedisplay() performanceDavid Robillard1-0/+1
2019-09-03Add functions to get and set view size and positionDavid Robillard1-2/+1
2019-09-03Move puglGetTime() to PuglWorldDavid Robillard1-1/+1
2019-09-03Add PuglWorldDavid Robillard1-1/+13
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-15/+1
2019-08-02Replace puglIgnoreKeyRepeat() with a hintDavid Robillard1-1/+1
2019-07-29Reorganize source to separate private implementation detailsDavid Robillard1-0/+107
Taking a page from C++ convention, where "detail" is for things that should not be included in user code.