aboutsummaryrefslogtreecommitdiffstats
path: root/src/win32
Commit message (Collapse)AuthorAgeFilesLines
* Change grab_cursor and ungrab_cursor to set_cursor_statePierre Krieger2015-03-261-6/+3
|
* Merge pull request #227 from aepsil0n/grab-cursortomaka2015-03-261-0/+8
|\ | | | | Implement grabbing of the mouse pointer for X11
| * Implement grabbing of the mouse pointer for X11Eduard Bopp2015-03-251-0/+8
| | | | | | | | | | Contains new methods in the Window API that closely mirror the Xlib API. The methods are left unimplemented for other platforms for now.
* | RustupPierre Krieger2015-03-254-12/+9
|/
* enumerate monitors in addition to adapters; this allows the MonitorID ↵Ryan Stewart2015-03-242-34/+70
| | | | implementation to return a more useful monitor name, and the correct native monitor ID
* honor top-left coordinates when requesting fullscreen to make sure window ↵Ryan Stewart2015-03-241-2/+7
| | | | appears on the correct monitor
* Merge pull request #316 from binsoftware/cocoa-fixesBrendan Zabarauskas2015-03-241-0/+7
|\ | | | | Cocoa fixes: memory leaks, monitor handling, is_current()
| * fix headless build by ensuring NativeMonitorId enum is available internally ↵Ryan Stewart2015-03-181-3/+3
| | | | | | | | even without the window feature; add Eq/PartialEq to NativeMonitorId
| * expose platform-native monitor identifierRyan Stewart2015-03-161-0/+7
| |
* | RustupPierre Krieger2015-03-212-4/+9
|/
* Add set_cursor_position functionPierre Krieger2015-03-101-0/+19
|
* Add is_current functionPierre Krieger2015-03-042-0/+10
|
* Minor changes in documentationPierre Krieger2015-03-011-14/+12
|
* Add a guard for the calls to MakeCurrent during initializationPierre Krieger2015-03-013-16/+61
|
* Add wrappers for safer error recovery during initializationPierre Krieger2015-03-012-82/+87
|
* Fix various warningsPierre Krieger2015-03-012-5/+5
|
* Mark functions as unsafe instead of having a lot of blocksPierre Krieger2015-03-011-85/+84
|
* Fix creating non-hardware-accelerated contextsPierre Krieger2015-03-011-6/+3
|
* Use the WGL API to determine extended pixel format, plus fix creationPierre Krieger2015-03-011-35/+33
|
* Do not call wglShareLists is ctxt is nulltomaka2015-02-231-1/+1
|
* Fix win32 compilationtomaka2015-02-231-1/+1
|
* Removed as_slice_with_nul as CString now derefs to a CStrmitchmindtree2015-02-222-2/+2
|
* RingBuf -> VecDeque for other platforms, as_slice_with_nul -> as_bytes_with_nulmitchmindtree2015-02-223-6/+6
|
* expose the platform-specific window handle (currently Win only)Ryan Stewart2015-02-201-0/+4
|
* Merge pull request #282 from tomaka/gl-apitomaka2015-02-191-6/+18
|\ | | | | Improve the OpenGL context request system
| * Improve the OpenGL context request systemPierre Krieger2015-02-181-6/+18
| |
* | Update for rustcPierre Krieger2015-02-191-9/+9
|/
* Don't call MakeCurrent(null, null) when destroyingPierre Krieger2015-02-181-1/+2
|
* Extract load_opengl32_dllPierre Krieger2015-02-161-13/+15
|
* Implement enumerate_arb_pixel_formatsPierre Krieger2015-02-161-2/+48
|
* Switch to create_context for the real contextPierre Krieger2015-02-161-49/+5
|
* Implement better handling for pixel formatsPierre Krieger2015-02-161-24/+58
|
* Extract and add create_context functionPierre Krieger2015-02-161-12/+61
|
* Start splitting win32::init into multiple functionsPierre Krieger2015-02-161-327/+338
|
* Merge pull request #277 from tomaka/win32-callbacktomaka2015-02-163-233/+200
|\ | | | | Extract callback from win32/init.rs to its own module
| * Extract callback from win32/init.rsPierre Krieger2015-02-163-233/+200
| |
* | Merge pull request #276 from tomaka/win32-headlesstomaka2015-02-162-34/+37
|\ \ | | | | | | Extract win32 HeadlessContext to a "headless" module
| * | Extract win32 HeadlessContext to a "headless" modulePierre Krieger2015-02-162-34/+37
| |/
* / Style improvement in win32/event.rsPierre Krieger2015-02-161-178/+178
|/
* Fix poll_events() blocking on win32tomaka2015-02-111-1/+1
|
* Merge pull request #70 from tomaka/fix-iteratorstomaka2015-02-101-40/+50
|\ | | | | Use platform-specific iterators instead
| * Win32: use platform-specific iterators insteadTomaka172015-02-101-40/+50
| |
* | Implement win32 initialization in a cleaner wayPierre Krieger2015-02-102-29/+22
|/
* Rename enum variants of MouseButtonEduard Bopp2015-02-051-12/+12
| | | | | With enums that are namespaced by default, it seems reasonable to be less redundant in the variant naming here.
* Upgrade to latest winapiPeter Atashian2015-01-253-48/+55
| | | | Signed-off-by: Peter Atashian <retep998@gmail.com>
* 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-38/+38
|
* Fix OS X & Win32 buildsBryan Bell2015-01-121-1/+1
|
* Add mouse cursor supportBryan Bell2015-01-121-0/+4
| | | | | | | 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.
* Update for rust alpha 1.0Pierre Krieger2015-01-101-1/+1
|