aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-09-03Reorganize header and documentation into coherent sectionsDavid Robillard
2019-09-03Add puglSetWindowTitle()David Robillard
2019-09-03Rename remaining init functionsDavid Robillard
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 Robillard
2019-09-03Replace puglInitTransientFor() with puglSetTransientFor()David Robillard
2019-09-03Replace size and aspect ratio init functions with dynamic onesDavid Robillard
2019-09-03Move trivial deprecated implementations to headerDavid Robillard
Again just makes non-deprecated things easier to read and review, and also cleans up the symbol table.
2019-09-03Move deprecated API to a separate section of the headerDavid Robillard
This just makes things easier to read.
2019-09-03Add puglGetWorld()David Robillard
2019-09-03X11: Factor out size hints calculationDavid Robillard
2019-09-03Use consistent naming conventionsDavid Robillard
2019-09-03Windows: Fix configured size of child viewsDavid Robillard
2019-09-03Windows: Draw while application menu is openDavid Robillard
2019-09-03Windows: Improve resize smoothness slightlyDavid Robillard
2019-09-03Add swap interval hintDavid Robillard
2019-09-03X11: Improve puglPostRedisplay() performanceDavid Robillard
2019-09-03Windows: Improve puglPostRedisplay() performanceDavid Robillard
2019-09-03Windows: Prevent event loop from running foreverDavid Robillard
2019-09-03Make pugl_test use a nested view and test focus and movementDavid Robillard
2019-09-03Add functions to get and set view size and positionDavid Robillard
2019-09-03Windows: Factor out window flag functionsDavid Robillard
2019-09-03Add puglDispatchEvents()David Robillard
2019-09-03Add puglPollEvents()David Robillard
This allows waiting for events for any view in the world. It also improves on puglWaitForEvent() by the addition of a time parameter that allows indefinite blocking, non-blocking polling, and blocking polling with a timeout.
2019-09-03Move puglGetTime() to PuglWorldDavid Robillard
2019-09-03X11: Move input method to worldDavid Robillard
2019-09-03X11: Move atoms to worldDavid Robillard
2019-09-03Add PuglWorldDavid Robillard
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-03Add puglHasFocus()David Robillard
2019-09-03Fix puglGrabFocus() to work between parent and childrenDavid Robillard
2019-09-03Windows: Fix class registration for multiple viewsDavid Robillard
2019-09-03Simplify hints implementationDavid Robillard
2019-09-03Mac: Dispatch expose events from drawing viewMichael Fisher
2019-09-02Cleanup: Fix whitespaceDavid Robillard
2019-08-03Add missing link flag to pkg-config filesDavid Robillard
2019-08-02Fix repetition in READMEDavid Robillard
2019-08-02Mac: Disable annoying bell on tab or other special key pressesDavid Robillard
2019-08-02Clean up includesDavid Robillard
2019-08-02Fix unnecessary conversionsDavid Robillard
2019-08-02Test: Remove use of static dataDavid Robillard
Not very becoming of a library that exists specifically to avoid static data.
2019-08-02Replace puglIgnoreKeyRepeat() with a hintDavid Robillard
2019-08-02Test: Remove locale hacksDavid Robillard
2019-08-02Test: Configure GL in configure handler instead of mainDavid Robillard
2019-08-02Test: Factor out FPS printerDavid Robillard
2019-08-01Add missing string terminationDavid Robillard
2019-07-31Windows: Support UTF8 in window titlesDavid Robillard
2019-07-31X11: Support UTF8 in window titlesJP Cimalando
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 Robillard
2019-07-30Fix incorrect commentssj71
The comment was missed when merging the new text API from a branch based on the old integer milliseconds time.
2019-07-29Add stability and distribution information to READMEDavid Robillard
2019-07-29X11: Implement double buffering for CairoDavid Robillard
Also save and restore cairo context state around callbacks, so applications don't need to worry about smashing cairo state across exposures.