AgeCommit message (Collapse)AuthorLines
2016-10-13Add 'pugl/' from commit 'a7a6fb766cf807adf4f49ba0ed66f4048f73abbc'Hanspeter Portner-0/+6303
git-subtree-dir: pugl git-subtree-mainline: 6327df6f222c64376e57399ed11c803f14c92e9b git-subtree-split: a7a6fb766cf807adf4f49ba0ed66f4048f73abbc
2016-10-12initial commit.Hanspeter Portner-0/+841
2016-09-20Move entire API to pugl.hDavid Robillard-416/+341
2016-09-20Fix resizingDavid Robillard-11/+16
2016-09-20Add GL option to pugl_cairo_testDavid Robillard-1/+5
2016-09-20Fix C++ bindingsDavid Robillard-16/+1
2016-09-19Fix compilation on WindowsDavid Robillard-14/+2
2016-09-18Remove GLUT-like event callbacksDavid Robillard-337/+73
2016-09-18Clean up documentationDavid Robillard-172/+271
2016-09-15Make PUGL_NOTHING type 0David Robillard-1/+1
This makes life easy in several ways, and pugl currently provides no ABI stability guarantee anyway.
2016-09-14Fix compose keyDavid Robillard-3/+8
Turns out the app needs to call setlocale(LC_ALL, "") for this to work. I am not sure if it is possible to make things work correctly purely in Pugl (since plugin UIs can't call setlocale).
2016-09-14Fix focus eventsDavid Robillard-1/+1
2016-09-14Fix puglInitInternals prototypeDavid Robillard-4/+4
2016-09-14Add glew.h wrapper headerDavid Robillard-0/+32
2016-09-14Clean up pugl_test and remove use of GLUDavid Robillard-41/+96
2016-09-12Demonstrate enter and leave eventsDavid Robillard-1/+23
2016-09-01Make it possible to multiplex PuglKey and charsDavid Robillard-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 Robillard-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 Robillard-0/+8
2016-09-01Expose puglEnterContext() and puglLeaveContext()David Robillard-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 Robillard-0/+13
2016-09-01Add puglGetVisible()David Robillard-0/+19
2016-08-31Replace send_event with extensible flagsDavid Robillard-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 Robillard-0/+2
2016-07-28Add support for Cairo on OSXDavid Robillard-18/+60
2016-07-28Add support for Cairo on GLDavid Robillard-31/+201
2016-07-28Clean up GL attributes and simplify configurationDavid Robillard-21/+32
2016-07-28Fix flickering and laggy window resizeDavid Robillard-17/+64
2016-07-07Add option for cross-compilation target platformDavid Robillard-6/+9
2015-11-13Fix minor style issuesDavid Robillard-5/+5
2015-11-13Make pugl::View destructor virtualDavid Robillard-1/+1
2015-11-13Clean up wscriptDavid Robillard-20/+16
2015-11-12Move README to README.mdDavid Robillard-0/+0
2015-11-12Fix memory leaksDavid Robillard-0/+3
2015-11-11Avoid use of strdupDavid Robillard-1/+7
2015-11-11Add API to set window class nameDavid Robillard-20/+29
2015-10-08Fix invalid event accessDavid Robillard-6/+6
2015-09-14Fix events on OSX.David Robillard-8/+15
2015-09-13Fix compilation on Windows.David Robillard-20/+20
2015-09-13Merge branch 'master' of git.drobilla.net:/home/drobilla/git.drobilla.net/puglDavid Robillard-101/+272
2015-09-13Preliminary Windows event work.David Robillard-86/+259
2015-09-13Merge branch 'master' of git.drobilla.net:/home/drobilla/git.drobilla.net/puglDavid Robillard-30/+253
2015-09-13Avoid redundant expose events on resize.David Robillard-1/+4
2015-09-13Resize draw context before dispatching configure.David Robillard-16/+11
2015-09-13Add C++ bindings.David Robillard-1/+125
2015-09-12Update copyright dates.David Robillard-6/+6
2015-09-12Add puglWaitForEvent for blocking main loops.David Robillard-3/+47
2015-09-12Add support for aspect ratio constraints.David Robillard-4/+44
Currently only implemented on X11.
2015-09-12Fix resizing with cairo context.David Robillard-10/+23
2015-09-12Fix destruction of cairo context.David Robillard-1/+2