Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-07-26 | Windows: Implement size constraints | David Robillard | 1 | -0/+4 | |
There are two possible approaches to take here: try to expand dimensions that are not being explicitly resized (for example expand the bottom when dragging right), or just stop single-dimension resizes if they would go out of range. I chose the latter here for two reasons: it's hard to always do something smooth and unsurprising with the first approach (and it would require more code), and it can be nice from the user's perspective to easily be able to resize the window to exactly one of its aspect ratio limits. For example, it is very easy to drag pugl_test to 1:1 or 16:9. In other words, simplicity and user power wins. | |||||
2019-07-25 | Fix type of PuglEventText::time | David Robillard | 1 | -1/+1 | |
2019-07-24 | Support additional special keys | David Robillard | 1 | -1/+15 | |
2019-07-24 | Unify key and character fields and separate text events | David Robillard | 1 | -34/+45 | |
Only one field is necessary to store any kind of key, including special keys, since PuglKey occupies a reserved Unicode region. This is generally much simpler to deal with since there is only one value to dispatch on. Text events are separated from key events (like Windows but unlike MacOS or X11) because it is not possible to derive text events from key press events when they occur on Windows. Since merging the two has been the source of some confusion, this approach has some advantages anyway, even though it introduces the need to handle another event type. In the process, text input has been almost completely rewritten. I have tested this with a compose key on X11 and dead keys on Windows and MacOS and everything seems to work correctly, though there may (as always) still be issues with more exotic input methods. | |||||
2019-07-24 | Rename PuglEventKey::utf8 to "string" with char type | David Robillard | 1 | -11/+11 | |
This matches Gtk and is generally less annoying to work with. | |||||
2019-07-24 | Remove view pointer from events | David Robillard | 1 | -10/+0 | |
This makes events POD, which is generally nice. The view was originally added to reflect the display and window references in XEvent, but doesn't seem very useful in Pugl applications. | |||||
2019-07-24 | Represent event time as double in seconds on all platforms | Stefan Westerfeld | 1 | -5/+5 | |
2019-07-21 | Add puglRequestAttention() | David Robillard | 1 | -0/+10 | |
2019-06-27 | Add puglGetTime() | David Robillard | 1 | -0/+10 | |
2019-06-27 | Fix documentation | David Robillard | 1 | -6/+0 | |
2019-06-27 | Consistently use uint32_t everywhere | David Robillard | 1 | -8/+8 | |
2019-06-25 | Fix void function prototypes | David Robillard | 1 | -1/+1 | |
2019-02-17 | Add puglGetProcAddress for using OpenGL extensions | David Robillard | 1 | -0/+11 | |
2019-02-17 | Squash blank line | David Robillard | 1 | -1/+0 | |
2019-02-17 | Add configuration API | David Robillard | 1 | -0/+33 | |
2019-02-16 | Clean up includes | David Robillard | 1 | -4/+3 | |
2019-02-15 | Remove PUGL_CAIRO_GL | David Robillard | 1 | -3/+2 | |
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. | |||||
2016-09-20 | Move entire API to pugl.h | David Robillard | 1 | -21/+339 | |
2016-09-18 | Remove GLUT-like event callbacks | David Robillard | 1 | -136/+0 | |
2016-09-18 | Clean up documentation | David Robillard | 1 | -8/+6 | |
2016-09-01 | Expose puglEnterContext() and puglLeaveContext() | David Robillard | 1 | -1/+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-01 | Add puglGetSize() | David Robillard | 1 | -0/+6 | |
2016-09-01 | Add puglGetVisible() | David Robillard | 1 | -0/+6 | |
2015-11-11 | Add API to set window class name | David Robillard | 1 | -0/+6 | |
2015-09-12 | Update copyright dates. | David Robillard | 1 | -1/+1 | |
2015-09-12 | Add puglWaitForEvent for blocking main loops. | David Robillard | 1 | -1/+13 | |
2015-09-12 | Add support for aspect ratio constraints. | David Robillard | 1 | -0/+13 | |
Currently only implemented on X11. | |||||
2014-12-16 | Add support for transient child windows. | Robin Gareus | 1 | -0/+9 | |
No Windows support currently. Conflicts: pugl/pugl.h pugl/pugl_osx.m pugl/pugl_win.cpp pugl/pugl_x11.c | |||||
2014-12-16 | Support minimum window size. | Robin Gareus | 1 | -0/+6 | |
Conflicts: pugl/pugl_win.cpp | |||||
2014-09-27 | Improve documentation. | David Robillard | 1 | -3/+33 | |
2014-08-27 | Event-based dispatch. | David Robillard | 1 | -81/+17 | |
2014-08-27 | Cairo support on X11. | David Robillard | 1 | -14/+23 | |
2014-05-13 | Fix non-extensible puglInit API. | David Robillard | 1 | -14/+47 | |
Fix memory leak. | |||||
2014-01-17 | Fix whitespace and junk comment. | David Robillard | 1 | -5/+5 | |
2014-01-17 | Add mouse position to PuglScrollFunc (apply #896). | David Robillard | 1 | -1/+5 | |
Fix compilation of pugl_test. | |||||
2013-03-18 | Addition of visible parameter and other minor fixes from FalkTX. | David Robillard | 1 | -3/+5 | |
2013-02-03 | Apply portability fixes from Ben Loftis. | David Robillard | 1 | -0/+6 | |
2012-05-11 | Export missing symbols. | David Robillard | 1 | -2/+2 | |
2012-05-02 | Remove GLU dependency. | David Robillard | 1 | -2/+0 | |
Fix compilation errors on X11. Make default resize function set up a 2D view. Set appropriate reshape callback in pugl_test. | |||||
2012-05-01 | Add documentation group. | David Robillard | 1 | -1/+11 | |
2012-04-30 | Add puglIgnoreKeyRepeat and implement on X11. | David Robillard | 1 | -0/+6 | |
Add proper command line options for pugl_test. | |||||
2012-04-30 | Implement special keys on Windows. | David Robillard | 1 | -8/+4 | |
2012-04-30 | Send special key events for individual modifier key presses (X11 for now). | David Robillard | 1 | -5/+94 | |
Improve documentation. | |||||
2012-04-30 | Implement special keys and keyboard modifiers on X11. | David Robillard | 1 | -0/+46 | |
2012-04-30 | PuglWindow => PuglView. | David Robillard | 1 | -23/+23 | |
2012-04-30 | Add shared library export stuff. | David Robillard | 1 | -24/+42 | |
Update documentation. | |||||
2012-04-29 | OSX implementation. | David Robillard | 1 | -0/+16 | |
2012-04-29 | Scroll support on Windows. | David Robillard | 1 | -1/+1 | |
2012-04-29 | Scroll API. | David Robillard | 1 | -0/+7 | |
2012-04-29 | Implement resizable and non-resizable windows. | David Robillard | 1 | -1/+6 | |