aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-09-01Make it possible to multiplex PuglKey and charsDavid Robillard1-1/+6
This is useful when working with existing code that assumes any key can be expressed in a single integer. Raises the question of whether Pugl's design of representing special keys separately at all is sensible, but c'est la vie.
2016-09-01Add PUGL_CLOSE eventDavid Robillard5-17/+33
This allows purely event-driven applications to handle window close. Something more extensible for WM message seems like it might be a good idea here, but I can't think of specific uses, so this will do.
2016-09-01Enter context before dispatching expose/configureDavid Robillard1-0/+8
2016-09-01Expose puglEnterContext() and puglLeaveContext()David Robillard2-7/+20
This allows code in the main thread to set up the GL context outside the scope of a draw callback, which is useful for porting existing code that assumes the GL context can be entered anywhere.
2016-09-01Add puglGetSize()David Robillard2-0/+13
2016-09-01Add puglGetVisible()David Robillard5-0/+19
2016-08-31Replace send_event with extensible flagsDavid Robillard4-31/+38
This is currently functionally equivalent, but taking up space in the event struct for a single bool which could be used for 32 flags for any number of things that might show up in the future seems like a very bad idea.
2016-08-31Add missing includeDavid Robillard1-0/+2
2016-07-28Add support for Cairo on OSXDavid Robillard2-18/+60
2016-07-28Add support for Cairo on GLDavid Robillard4-31/+201
2016-07-28Clean up GL attributes and simplify configurationDavid Robillard1-21/+32
2016-07-28Fix flickering and laggy window resizeDavid Robillard1-17/+64
2016-07-07Add option for cross-compilation target platformDavid Robillard1-6/+9
2015-11-13Fix minor style issuesDavid Robillard3-5/+5
2015-11-13Make pugl::View destructor virtualDavid Robillard1-1/+1
2015-11-13Clean up wscriptDavid Robillard1-20/+16
2015-11-12Move README to README.mdDavid Robillard1-0/+0
2015-11-12Fix memory leaksDavid Robillard3-0/+3
2015-11-11Avoid use of strdupDavid Robillard1-1/+7
2015-11-11Add API to set window class nameDavid Robillard4-20/+29
2015-10-08Fix invalid event accessDavid Robillard1-6/+6
2015-09-14Fix events on OSX.David Robillard1-8/+15
2015-09-13Fix compilation on Windows.David Robillard1-20/+20
2015-09-13Merge branch 'master' of git.drobilla.net:/home/drobilla/git.drobilla.net/puglDavid Robillard3-101/+272
2015-09-13Preliminary Windows event work.David Robillard2-86/+259
2015-09-13Merge branch 'master' of git.drobilla.net:/home/drobilla/git.drobilla.net/puglDavid Robillard11-30/+253
2015-09-13Avoid redundant expose events on resize.David Robillard1-1/+4
2015-09-13Resize draw context before dispatching configure.David Robillard1-16/+11
2015-09-13Add C++ bindings.David Robillard2-1/+125
2015-09-12Update copyright dates.David Robillard6-6/+6
2015-09-12Add puglWaitForEvent for blocking main loops.David Robillard6-3/+47
2015-09-12Add support for aspect ratio constraints.David Robillard3-4/+44
Currently only implemented on X11.
2015-09-12Fix resizing with cairo context.David Robillard1-10/+23
2015-09-12Fix destruction of cairo context.David Robillard1-1/+2
2015-07-18Don't dispatch nothing events.David Robillard1-2/+4
2015-07-12Fix whitespace.David Robillard1-3/+2
2015-03-03Fix compilation on Windows.David Robillard1-1/+1
2015-02-15Fix string initialization.David Robillard1-1/+1
2015-02-15Add .gitignore.David Robillard1-0/+3
2015-02-15Use Xutf8LookupString if present.David Robillard1-2/+10
This is wrong in some ways, and XmbLookupString is wrong in others. I have no idea why.
2015-02-15UTF-8 support on OSX.David Robillard3-43/+56
2015-02-14UTF-8 keyboard input support on X11.David Robillard4-25/+140
2014-12-16Fix compilation on OSX.David Robillard1-21/+20
2014-12-16Only handle Windows events for the view window.Robin Gareus1-1/+1
Conflicts: pugl/pugl_win.cpp
2014-12-16Ensure unique window class IDs for long titles.Robin Gareus1-1/+1
Conflicts: pugl/pugl_win.cpp
2014-12-16Use status window level for transients on OSX.Robin Gareus1-1/+1
Conflicts: pugl/pugl_osx.m
2014-12-16Redraw only when necessary on OSX.Robin Gareus1-1/+0
Conflicts: pugl/pugl_osx.m
2014-12-16Add support for transient child windows.Robin Gareus4-12/+39
No Windows support currently. Conflicts: pugl/pugl.h pugl/pugl_osx.m pugl/pugl_win.cpp pugl/pugl_x11.c
2014-12-16Various OSX fixes.Robin Gareus1-30/+36
Conflicts: pugl/pugl_osx.m
2014-12-16Fix Windows window class name.Robin Gareus1-1/+2
Conflicts: pugl/pugl_win.cpp