aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_x11.c
AgeCommit message (Collapse)AuthorFilesLines
2019-07-21Use local display and window variables for brevityDavid Robillard1-18/+18
2019-07-21Make time start from approximately zeroDavid Robillard1-1/+1
2019-07-20Remove redisplay flag and use system events insteadDavid Robillard1-11/+7
2019-06-30Make translateKey take a PuglEventKeyDavid Robillard1-9/+9
2019-06-30Send a configure event on initial window mappingDavid Robillard1-0/+10
2019-06-30Tidy up whitespaceDavid Robillard1-0/+1
2019-06-27Add puglGetTime()David Robillard1-0/+10
2019-06-27Consistently use uint32_t everywhereDavid Robillard1-2/+2
2019-02-17Add configuration APIDavid Robillard1-3/+3
2019-02-16Add missing default caseDavid Robillard1-0/+1
2019-02-16Fix implicit double to int castsDavid Robillard1-2/+2
2019-02-16Clean up includesDavid Robillard1-10/+9
2019-02-16Factor out drawing context from platform window implementationDavid Robillard1-188/+37
2019-02-15Remove PUGL_CAIRO_GLDavid Robillard1-36/+0
The old cairo_gl.h header or something similar is easy enough to use in application code if someone wants to do this, and maintaining a separate context type for it is a hassle and arguably out of scope.
2018-09-15Fix minor clang-tidy warningsDavid Robillard1-1/+1
2018-09-11Fix GCC8 fall-through warningsDavid Robillard1-1/+2
2017-10-03Don't clear entire cairo surface on each exposeDavid Robillard1-6/+0
2017-07-23Fix merging of expose eventsDavid Robillard1-7/+13
Thanks JP Cimalando
2016-09-20Move entire API to pugl.hDavid Robillard1-1/+0
2016-09-18Remove GLUT-like event callbacksDavid Robillard1-0/+5
2016-09-14Fix compose keyDavid Robillard1-3/+5
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 Robillard1-1/+1
2016-09-14Fix puglInitInternals prototypeDavid Robillard1-1/+1
2016-09-01Add PUGL_CLOSE eventDavid Robillard1-11/+9
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-01Add puglGetVisible()David Robillard1-0/+2
2016-08-31Replace send_event with extensible flagsDavid Robillard1-3/+4
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-07-28Add support for Cairo on GLDavid Robillard1-24/+90
2016-07-28Clean up GL attributes and simplify configurationDavid Robillard1-21/+32
2016-07-28Fix flickering and laggy window resizeDavid Robillard1-17/+64
2015-11-12Fix memory leaksDavid Robillard1-0/+1
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-12Update copyright dates.David Robillard1-1/+1
2015-09-12Add puglWaitForEvent for blocking main loops.David Robillard1-0/+9
2015-09-12Add support for aspect ratio constraints.David Robillard1-4/+14
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-02-15Fix string initialization.David Robillard1-1/+1
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 Robillard1-38/+1
2015-02-14UTF-8 keyboard input support on X11.David Robillard1-12/+90
2014-12-16Add support for transient child windows.Robin Gareus1-0/+5
No Windows support currently. Conflicts: pugl/pugl.h pugl/pugl_osx.m pugl/pugl_win.cpp pugl/pugl_x11.c
2014-12-16Support minimum window size.Robin Gareus1-0/+5
Conflicts: pugl/pugl_win.cpp
2014-12-16Never redisplay after close.Robin Gareus1-0/+2
Conflicts: pugl/pugl_x11.c
2014-09-27Improve documentation.David Robillard1-1/+1
2014-08-27Event-based dispatch.David Robillard1-196/+242
2014-08-27Cairo support on X11.David Robillard1-63/+110
2014-07-16Various minor fixes (#953).David Robillard1-4/+5
2014-05-13Minor fixes.David Robillard1-1/+1
2014-05-13Fix mismatched defines.David Robillard1-1/+1