Commit Graph

  • 9604e85f3d Ignore unrecognized keyboard modifiers Thinkofname 2016-12-21 00:34:02 +00:00
  • 90397827b6 Bump to v0.27 v0.27 Cobrand 2016-12-10 00:20:30 +01:00
  • 8e5a095ba9 Merge pull request #568 from Cobrand/master Cobrand 2016-12-09 21:07:29 +01:00
  • c9a3786360 Merge pull request #570 from kstrohbeck/master Cobrand 2016-12-09 20:53:21 +01:00
  • f630e25c6c Implement Error for SDL Error. Kyle Strohbeck 2016-12-09 13:32:20 -06:00
  • 1a10323e15 Implement Display for SDL Error. Kyle Strohbeck 2016-12-09 13:30:27 -06:00
  • 2751ccc87d Implement Error for ShowMessageError. Kyle Strohbeck 2016-12-09 13:22:12 -06:00
  • 5f093e6482 Implement Display for ShowMessageError. Kyle Strohbeck 2016-12-09 13:19:59 -06:00
  • f272927b1e Implement Error for PrefPathError. Kyle Strohbeck 2016-12-09 13:13:56 -06:00
  • 67c99f1801 Implement Display for PrefPathError. Kyle Strohbeck 2016-12-09 13:11:42 -06:00
  • a3d386b828 Implement Error for AddMappingError. Kyle Strohbeck 2016-12-09 13:07:10 -06:00
  • 8de7c7a08a Implement Display for AddMappingError. Kyle Strohbeck 2016-12-09 13:04:11 -06:00
  • f5cd0a0e5a Implement Error for UpdateTextureYUVError. Kyle Strohbeck 2016-12-09 12:52:47 -06:00
  • 9c810cd0f4 Implement Display for UpdateTextureYUVError. Kyle Strohbeck 2016-12-09 12:48:45 -06:00
  • 48cbf37465 Implement Error for UpdateTextureError. Kyle Strohbeck 2016-12-09 12:14:28 -06:00
  • fcf43c5166 Implement Display for UpdateTextureError. Kyle Strohbeck 2016-12-09 12:11:42 -06:00
  • 74ea28062f Added 'default-features = false' for features Cobrand 2016-12-08 11:11:49 +01:00
  • be9922130f doc: thread::sleep_ms -> sleep Cobrand 2016-12-07 00:57:58 +01:00
  • c772fdfa2d Fix cargo test for OptMouse -> Mouse Cobrand 2016-12-07 00:41:03 +01:00
  • bddff42fc5 Revert Opt(Mouse)to Mouse for Event:Mouse{Up,Down} Cobrand 2016-12-06 23:11:25 +01:00
  • e5ab0023a3 Fix usage of isize Cobrand 2016-12-06 22:26:56 +01:00
  • 4d2351b1f8 Fix usage of isize in ttf Cobrand 2016-12-06 19:21:18 +01:00
  • 05bda28482 Fix usage of isize in mixer Cobrand 2016-12-06 17:22:29 +01:00
  • ffcbd90ccb Fix isize usage in module gfx Cobrand 2016-12-06 16:36:46 +01:00
  • fad2b6e52b Convert (WindowEventId, d1, d2) into WindowEvent Cobrand 2016-12-05 18:26:26 +01:00
  • 1df6ffb2b3 Add doc for each module Cobrand 2016-12-05 17:49:39 +01:00
  • be8ef585ca Fix main README Cobrand 2016-12-05 13:09:06 +01:00
  • f902476214 Merge pull request #567 from AngryLawyer/modules-merge-candidate Cobrand 2016-12-05 12:14:57 +01:00
  • 48e643f3b6 Remove .gitignore and .travis.yml from module subtrees Cobrand 2016-12-05 11:59:09 +01:00
  • 2140251e06 Update README for modules as features Cobrand 2016-12-02 23:36:54 +01:00
  • e22f43ba0a Fix travis build again Cobrand 2016-12-02 22:33:27 +01:00
  • 8f9eff7a5a Fix travis build for gfx Cobrand 2016-12-02 22:23:17 +01:00
  • 8af950f9f4 Update travis build for all features Cobrand 2016-12-02 22:12:15 +01:00
  • bccbdc39c4 Fix examples' warnings Cobrand 2016-12-02 21:21:47 +01:00
  • d930510b3c Fix failed mixer doc test Cobrand 2016-12-02 21:10:24 +01:00
  • 79e0d77a10 Fix gfx example Cobrand 2016-12-02 21:08:13 +01:00
  • 070c3d0617 Fix gfx module Cobrand 2016-12-02 21:06:59 +01:00
  • 2063911d5d Fix image example Cobrand 2016-12-02 21:00:02 +01:00
  • 22961efa21 Fix image module Cobrand 2016-12-02 20:56:57 +01:00
  • 0e1bc28d10 Fix mixer example Cobrand 2016-12-02 20:54:09 +01:00
  • 905ed6c49f Fix mixer module Cobrand 2016-12-02 20:48:56 +01:00
  • f0b99abe1d Fix ttf example Cobrand 2016-12-02 20:34:19 +01:00
  • 7ec780fd5b Fix ttf module Cobrand 2016-12-02 20:27:56 +01:00
  • 380665d603 Refactor module, part 1 Cobrand 2016-12-02 18:20:13 +01:00
  • b8f0fb28ca Add 'src/sdl2/mixer/' from commit '317d9e1e759f3b7c82aa348e693065efa2ab6fea' Cobrand 2016-12-02 18:16:23 +01:00
  • 7594231a4f Add 'src/sdl2/gfx/' from commit '42db54e40084214fe8640030b4834adf2b1e3993' Cobrand 2016-12-02 18:15:59 +01:00
  • 73ae599d39 Add 'src/sdl2/ttf/' from commit '654264f8f105ba234e9c39772fdbd8ba249ab690' Cobrand 2016-12-02 18:15:42 +01:00
  • d5f6c96245 Add 'src/sdl2/image/' from commit 'ace1c67e95e4f7d156557108d3b06c926d28ea05' Cobrand 2016-12-02 18:15:26 +01:00
  • 57069b9cdf Updated version in README 0.26.0 Tony Aldridge 2016-11-29 10:16:48 +00:00
  • db3cf67f95 bumped version to 0.26 Cobrand 2016-11-28 09:56:33 +01:00
  • 7c4b2a020d bumped bitflags to 0.7 Cobrand 2016-11-28 09:30:11 +01:00
  • 53c8a40f53 Renderer.fill_rect now takes an Into<Option<Rect>>. Kim Simmons 2016-11-27 12:32:27 +01:00
  • 42db54e400 .travis.yml: update sdl2 version (#17) Luke Jones 2016-11-22 03:49:27 +13:00
  • b64d7a6b32 Merge pull request #559 from Luke-Nukem/master Tony Aldridge 2016-11-21 09:37:52 +00:00
  • ed1ced7cbe Update animation example. - There is a problem with the SDL2 libraries software renderer such that RenderCopyEx will draw a flipped or rotated rect in the wrong place if; - the position of both source and destination are 0, or; - the dimensions of source and destination are the same. - a workaround if using the software renderer is to make the destination 1 pixel larger x,y, or shift the source over 1 pixel. Not ideal. Luke Jones 2016-11-20 17:59:51 +13:00
  • 0e6dd1e6af Add animation example Luke Jones 2016-11-19 14:54:02 +13:00
  • e4812cea7e - correct the mouse button iterator, it now works correctly - correct is_mouse_button_pressed(), now uses mask correctly - add examples for mouse_state() and relative_mouse_state() Luke Jones 2016-11-19 11:39:46 +13:00
  • 6ee98e1a9c Forgot to actually include the file changes in the commit Luke Jones 2016-11-19 09:28:22 +13:00
  • 2295e440e0 Further changes: Luke Jones 2016-11-19 08:18:43 +13:00
  • c696bc5a85 Hopeful finished implementation of EventPump mouse_state() - implemented tests using keyboard_state() as a template - renamed some functions and structs in the process to better reflect their use - EventPump should now return a MouseState via fn mouse_state(&self) -> MouseState. New functions added. - fn is_mousebutton_pressed(&self, mousebutton: Mousebutton) -> bool - fn mousebuttons(&self) -> MousebuttonIterator - fn pressed_mousebuttons(&self) -> PressedMousebuttonIterator - Implemented ToPrimitive and FromPrimitive for struct Mousebutton Luke Jones 2016-11-18 20:22:22 +13:00
  • 0c8692c978 Initial rework of mouse Luke Jones 2016-11-18 19:44:04 +13:00
  • 6e9a00a0d2 Merge pull request #556 from Xaeroxe23/issue-555 Tony Aldridge 2016-11-06 14:58:08 +00:00
  • 654264f8f1 Fix lifetime error in load_font (#47) Cobrand 2016-11-06 03:48:39 +01:00
  • b1f37d9b42 TIL about cargo test cases. Fixed the test case. Jacob Kiesel 2016-11-05 12:09:37 -06:00
  • 017147b0da Well that didn't fix it so I'm undoing it. I guess I'll have to install Linux to figure out why this is failing the build. Jake Kiesel 2016-11-05 11:18:42 -06:00
  • 32c2fadbe7 Merge branch 'issue-555' of github.com:Xaeroxe23/rust-sdl2 into issue-555 Jake Kiesel 2016-11-05 11:13:45 -06:00
  • 2c5bdeca7c Travis build is broken, not sure why, hoping this will fix it. Jake Kiesel 2016-11-05 11:13:24 -06:00
  • ee269c759b Fixed typo Jacob Kiesel 2016-11-05 10:47:18 -06:00
  • da2fd90f4f Add direction field to MouseWheel event Jake Kiesel 2016-11-05 10:37:52 -06:00
  • 317d9e1e75 Version bump to 0.25 (#65) icefoxen 2016-11-05 12:16:59 -04:00
  • ace1c67e95 Added documentation link to docs.rs Cobrand 2016-11-05 13:35:01 +01:00
  • cae732f38a Bump sdl2 dep + sdl2_image version Cobrand 2016-11-05 13:34:07 +01:00
  • a65c2f6026 Added documentation link to docs.rs Cobrand 2016-11-05 13:21:52 +01:00
  • 4438cef234 Bump sdl2 dep + sdl2_ttf version Cobrand 2016-11-05 13:18:22 +01:00
  • 0ec02efead Bumped version number Tony Aldridge 2016-11-05 12:07:41 +00:00
  • 9bdc15d498 Merge pull request #554 from icefoxen/typo-fix Tony Aldridge 2016-11-05 11:57:53 +00:00
  • 81e9157a1d Merge pull request #553 from bytwise/master Tony Aldridge 2016-11-05 11:57:37 +00:00
  • e18ed373dc Merge pull request #552 from Xaeroxe23/issue-529 Tony Aldridge 2016-11-05 11:57:20 +00:00
  • 820e06b160 Merge pull request #551 from dagit/master Tony Aldridge 2016-11-05 11:56:55 +00:00
  • 953400c4a9 Merge pull request #548 from koute/master Tony Aldridge 2016-11-05 11:56:30 +00:00
  • 901bed1a33 Merge pull request #547 from dpc/master Tony Aldridge 2016-11-05 11:56:14 +00:00
  • 37f321a406 Merge pull request #546 from icefoxen/master Tony Aldridge 2016-11-05 11:55:51 +00:00
  • 9809c5484b Merge pull request #537 from Cobrand/master Tony Aldridge 2016-11-05 11:54:56 +00:00
  • 114090990a Merge pull request #45 from Cobrand/font-lifetime-fix, fix #43 #29 ShuYu Wang 2016-11-04 15:05:26 +08:00
  • c6bc7cd493 remove Warning in examples Cobrand 2016-11-02 09:16:02 +01:00
  • bd7075763a make RWops never outlive its Font Cobrand 2016-11-02 09:14:24 +01:00
  • 0f67fc798e Fixed minor typos in keyboard keycodes/scancodes Simon Heath 2016-10-31 10:13:20 -04:00
  • 10fa8e293e Fixed typos in keycodes and scancodes Simon Heath 2016-10-31 10:04:30 -04:00
  • fd08abf244 Removed mutability requirement from subsystem.clone and from subsystem.sdl Jake Kiesel 2016-10-25 10:38:11 -06:00
  • 525b5bee21 Merge pull request #64 from johnthagen/fix-brew ShuYu Wang 2016-10-25 23:47:11 +08:00
  • 4c7c2e66e4 use num-0.1.25 to opt out of unneeded features Andreas Martens 2016-10-25 17:42:47 +02:00
  • fb2fe75ff7 Remove unnecessary indentation. johnthagen 2016-10-25 07:10:03 -04:00
  • 86427a186b Merge pull request #63 from johnthagen/license-badge ShuYu Wang 2016-10-25 15:38:06 +08:00
  • 559ee771d9 Merge pull request #62 from johnthagen/https-travis ShuYu Wang 2016-10-25 15:35:49 +08:00
  • 9b3f6344a5 Merge pull request #61 from johnthagen/osx-install ShuYu Wang 2016-10-25 15:35:23 +08:00
  • e99fe2af9c Merge pull request #60 from johnthagen/readme-version ShuYu Wang 2016-10-25 15:35:06 +08:00
  • 84101a4cd7 Fix 2 more path typos Jason Dagit 2016-10-24 17:39:42 -07:00
  • da2de4b50f Update rustup paths Jason Dagit 2016-10-24 17:36:12 -07:00
  • 3bbebbbee1 Changes requested in PR Jason Dagit 2016-10-24 17:33:29 -07:00
  • 095baf7f9d Fix crate name in badge reference. johnthagen 2016-10-24 17:25:02 -04:00