aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11
Commit message (Collapse)AuthorAgeFilesLines
* `c_char` isn't always `i8`Akos Kiss2015-01-202-2/+2
|
* Add missing get_api stubs.Glenn Watson2015-01-191-0/+4
| | | | | | | Add hidpi_factor() support for retina displays. Fix Resize and MouseMoved events to handle retina displays. Fix inverted y position for MouseMoved events on mac. Fix initial painting on retina display.
* x11, android, win32: [ui]size, [u]int -> [ui]32Andrey Lesnikov2015-01-133-20/+21
|
* Merge pull request #192 from bjwbell/mouse-cursorstomaka2015-01-132-1/+52
|\ | | | | Add mouse cursor support
| * Refine X11 cursor selectionsBryan Bell2015-01-121-19/+22
| | | | | | | | | | | | | | For MouseCursor::Cell, NotAllowed, NoDrop, Grab, Grabbing, ... set the appropriate X11 cursor. Also alphabetize the cursors listed in the MouseCursor enum.
| * Add mouse cursor supportBryan Bell2015-01-122-1/+49
| | | | | | | | | | | | | | Add a new api, window.set_cursor, for setting the cursor. The enum MouseCursor lists the possible cursors. Only X11 is implemented. On OSX, Android, & Win32 the window.set_cursor function either does nothing or calls the "unimplemented!" macro.
* | Change uint/int to usize/isizeBryan Bell2015-01-122-18/+18
|/ | | | | From https://github.com/rust-lang/rfcs/pull/544 the types uint/int were renamed to usize/isize.
* Update to latest Rust nightlyAustin Bonander2015-01-082-26/+34
|
* Update for RustcPierre Krieger2015-01-052-3/+3
|
* Update for RustcPierre Krieger2015-01-032-5/+7
|
* Change the way that events are represented.Ty Overby2015-01-012-17/+19
| | | | | | | | | | The bulk of this commit is changing instances of Vec to RingBuf which is optimized for the push_back() / pop_front() strategy that is used internaly in the event system. The glutin custom iterators are now just wrappers around the RingBuf iterator type. This will bring the running time of iterator traversal from O(n^2) to O(n) because shifting-on-delete won't be performed.
* Unify WindowBuilder and HeadlessRendererBuilder for easier implementationsPierre Krieger2014-12-313-8/+15
|
* Update for changes in Send/Sync traitsPierre Krieger2014-12-302-0/+6
|
* Update for gl_generator's changesPierre Krieger2014-12-241-15/+2
|
* Add resize example, fix warnings, make callback an option so it can be removed.Glenn Watson2014-12-192-2/+2
|
* Add callback function to allow resize messages to be sent on mac.Glenn Watson2014-12-192-0/+6
|
* Merge pull request #161 from glennw/thread-proxytomaka2014-12-183-52/+95
|\ | | | | Introduce a WindowProxy for accessing a subset of functionality
| * Fix event nameGlenn Watson2014-12-181-2/+2
| |
| * Introduce a WindowProxy for accessing a subset of functionalityGlenn Watson2014-12-173-52/+95
| | | | | | | | | | | | | | from other threads. This currently provides a way for other threads to wakeup a blocked event loop on X11. Other platforms have stub functions that need to be implemented. This is similar to the functionality of glfwPostEmptyEvent.
* | Update for rustc for x11Pierre Krieger2014-12-171-8/+8
|/
* Add get_api() functionPierre Krieger2014-12-072-0/+10
|
* Merge pull request #154 from tomaka/fix-warning-x11tomaka2014-12-021-2/+2
|\ | | | | Fix deprecation warning on X11
| * Fix deprecation warning on X11Pierre Krieger2014-12-021-2/+2
| |
* | Fix multisampling not working on X11Pierre Krieger2014-12-021-1/+2
|/
* Implement multisampling for x11Pierre Krieger2014-11-271-2/+9
|
* Update for rustcPierre Krieger2014-11-261-1/+1
|
* Implement lists sharingPierre Krieger2014-11-241-2/+8
|
* Fix some rustc warningsGlenn Watson2014-11-241-2/+2
|
* Update for rustcPierre Krieger2014-11-193-1001/+1006
|
* Add support for with_visibility(), show(), hide() on X11.Glenn Watson2014-11-182-1/+18
|
* Add ctrl, shift, alt events for X11.Glenn Watson2014-11-171-6/+6
|
* Detect OSMesa errorsPierre Krieger2014-11-141-4/+11
|
* Remove call to glViewport in X11 implementationPierre Krieger2014-11-091-13/+0
|
* Add support for the OpenGL debug flagTomaka172014-11-091-0/+5
|
* Remove key modifiers in KeyboardInputTomaka172014-11-061-31/+2
|
* Use a proper error type for window creationTomaka172014-11-052-11/+13
|
* Add visibility-related functions to windowTomaka172014-11-011-0/+6
|
* fail! -> panic!Tomaka172014-10-302-3/+3
|
* Merge pull request #86 from glennw/x11-resizetomaka2014-10-282-4/+30
|\ | | | | Fix resize event on X11. Without this change, resizing window larger tha...
| * Fix resize event on X11. Without this change, resizing window larger than ↵Glenn Watson2014-10-282-4/+30
| | | | | | | | initial size doesn't work.
* | Fix a few more string memory issues.Glenn Watson2014-10-281-4/+6
|/
* Merge pull request #74 from glennw/x11-key-eventstomaka2014-10-271-6/+6
|\ | | | | Add backspace event and map some more keys on x11.
| * Add backspace event and map some more keys on x11.Glenn Watson2014-10-271-6/+6
| |
* | Merge pull request #76 from glennw/fix-x11-window-restomaka2014-10-271-1/+1
|\ \ | | | | | | Only reject modes based on resolution when using fullscreen. This fixes ...
| * | Only reject modes based on resolution when using fullscreen. This fixes ↵Glenn Watson2014-10-271-1/+1
| |/ | | | | | | creating a window that is not the same resolution as an existing video mode.
* | Merge pull request #78 from glennw/x11-wheel-eventstomaka2014-10-271-4/+10
|\ \ | | | | | | Add support for mouse wheel events on x11.
| * | Add support for mouse wheel events on x11.Glenn Watson2014-10-271-4/+10
| |/
* | Merge pull request #77 from glennw/x11-modifierstomaka2014-10-271-3/+31
|\ \ | | | | | | Add support for keyboard modifiers on x11.
| * | Add support for keyboard modifiers on x11.Glenn Watson2014-10-271-3/+31
| |/
* / Fix bad memory being passed (due to going out of scope) to set title on X11.Glenn Watson2014-10-271-3/+5
|/