Commit graph

  • d8b9e03481 Remove ButtonState Héctor Ramón Jiménez 2020-04-30 04:54:49 +02:00
  • e55cd9652e Split Input mouse event by ButtonState Héctor Ramón Jiménez 2020-04-30 04:53:15 +02:00
  • e139aae143 Split Input keyboard event by ButtonState Héctor Ramón Jiménez 2020-04-30 04:34:29 +02:00
  • af95d3972e Implement camera panning in game_of_life example Héctor Ramón Jiménez 2020-04-30 04:12:13 +02:00
  • 611d9e399c Clarify tick logic in game_of_life Héctor Ramón Jiménez 2020-04-29 23:55:15 +02:00
  • 5e014a70e8 Use sparse grid representation in game_of_life Héctor Ramón Jiménez 2020-04-29 23:50:15 +02:00
  • 38c4dd5fdb Reduce initial size of triangle buffers in iced_wgpu Héctor Ramón Jiménez 2020-04-29 23:49:37 +02:00
  • 5d12e194f4 Rename Cursor::*_position methods in canvas Héctor Ramón Jiménez 2020-04-29 20:58:59 +02:00
  • 70f86f998b Add game_of_life example Héctor Ramón Jiménez 2020-04-29 08:25:42 +02:00
  • afa0bca4fd Implement Rectangle::position Héctor Ramón Jiménez 2020-04-29 08:25:27 +02:00
  • 61c707fe04 Merge branch 'master' into feature/canvas-interaction Héctor Ramón Jiménez 2020-04-29 07:34:14 +02:00
  • dc51080328 Introduce Cursor type in canvas Héctor Ramón Jiménez 2020-04-29 04:25:49 +02:00
  • 5586034d66 Display crosshair cursor in bezier_tool example Héctor Ramón Jiménez 2020-04-29 03:23:27 +02:00
  • 475a2779a7 Implement Rectangle::with_size Héctor Ramón Jiménez 2020-04-29 03:23:08 +02:00
  • ec712c8032 Move MouseCursor to iced_core Héctor Ramón Jiménez 2020-04-29 03:21:46 +02:00
  • 52719c7076 Let a canvas::Program control the mouse cursor Héctor Ramón Jiménez 2020-04-29 03:16:03 +02:00
  • 0509710cc5 Add Crosshair variant to MouseCursor Héctor Ramón Jiménez 2020-04-29 03:14:59 +02:00
  • 59403b6ca8 Remove OutOfBounds variant from MouseCursor Héctor Ramón Jiménez 2020-04-29 03:11:15 +02:00
  • 85dc07c3b0 Expose Rectangle in iced_web Héctor Ramón Jiménez 2020-04-28 06:31:00 +02:00
  • 2539042b71 Remove Drawable and rename State to Program Héctor Ramón Jiménez 2020-04-28 06:24:12 +02:00
  • 7f1e7aea07 Remove unnecessary Container in bezier_tool Héctor Ramón Jiménez 2020-04-28 04:41:25 +02:00
  • e65585ae17 Clip and cull Mesh2D primitives in iced_wgpu Héctor Ramón Jiménez 2020-04-28 04:41:09 +02:00
  • 69c60d372c Implement std::ops::Add<Vector> for Rectangle Héctor Ramón Jiménez 2020-04-28 04:40:23 +02:00
  • 5d5e60a5cc Implement Rectangle::new Héctor Ramón Jiménez 2020-04-28 04:39:59 +02:00
  • fd1ceac363 Port bezier_tool example to use Canvas Héctor Ramón Jiménez 2020-04-28 03:47:41 +02:00
  • e4eb0553de Allow canvas::State to produce messages Héctor Ramón Jiménez 2020-04-28 03:46:03 +02:00
  • 2ca73036ab Implement Drawable for slices of drawables Héctor Ramón Jiménez 2020-04-28 03:19:29 +02:00
  • 59b1e90661 Introduce Translate primitive in iced_wgpu Héctor Ramón Jiménez 2020-04-28 03:18:31 +02:00
  • 2381a9310c Ask for a Size in Frame::new Héctor Ramón Jiménez 2020-04-28 03:16:18 +02:00
  • b0825ce38b Add convenient builder methods to canvas::Stroke Héctor Ramón Jiménez 2020-04-28 03:14:05 +02:00
  • 56dbd68326 Move reusable mouse types to iced_core Héctor Ramón Jiménez 2020-04-28 03:11:01 +02:00
  • 20d79a43cc Implement Default for Point Héctor Ramón Jiménez 2020-04-28 03:06:35 +02:00
  • 6c2e28d20e Implement std::ops::Sub<Point> for Point Héctor Ramón Jiménez 2020-04-28 01:12:27 +02:00
  • dc97d6f33e Remove interaction from solar_system example Héctor Ramón Jiménez 2020-04-28 01:10:59 +02:00
  • 430f78a693 Abstract into ColorPicker and ColorSpace trait Clark Moody 2020-04-27 16:25:13 -05:00
  • e0aa89cee7
    Merge pull request #324 from ethanpailes/document-image-format-guessing Héctor Ramón 2020-04-27 17:49:13 +02:00
  • da2ab420ce document that img handle constructors guess fmt Ethan Pailes 2020-04-26 14:59:35 -04:00
  • 3f4770fd28 Bump versions 🎉 Héctor Ramón Jiménez 2020-04-26 17:18:17 +02:00
  • e87f3acff4 Render meshes after quads in iced_wgpu Héctor Ramón Jiménez 2020-04-26 17:09:03 +02:00
  • f9bfa82ebc
    Merge pull request #322 from AlisCode/aliscode/321/fix-async-examples Héctor Ramón 2020-04-25 02:39:10 +02:00
  • 63f54edf0c Use Rc in Command::map for Wasm Héctor Ramón Jiménez 2020-04-25 02:29:40 +02:00
  • f1e18d0935 #321 cargo fmt Olivier Pinon 2020-04-25 02:05:17 +02:00
  • ce2ed35a1a #321 Fix async examples by feature-gating Command implementations + Add pokedex example in CI so that at least one async example is runned on CI Olivier Pinon 2020-04-25 02:03:17 +02:00
  • 3e71eaee37 Use Path::rectangle and Size for drawing swatches Clark Moody 2020-04-24 15:40:28 -05:00
  • 758a444d7f Replace text input fields for simple text Clark Moody 2020-04-24 15:31:12 -05:00
  • 27fadad324 Do not re-export Palette from iced_core Clark Moody 2020-04-24 15:20:00 -05:00
  • 4b90241ea1 Hex label text alignment Clark Moody 2020-04-10 14:59:57 -05:00
  • 39fd8ad9e9 TextInput fields with color encodings. Draw shades. Clark Moody 2020-04-09 17:49:29 -05:00
  • b1328f193c More theme colors and gradient of lightness Clark Moody 2020-04-09 13:11:39 -05:00
  • 6b18e78e53 Use canvas to draw color palette for example Clark Moody 2020-04-08 17:45:54 -05:00
  • 664a63a4b8 Add example program: color palette Clark Moody 2020-04-02 17:52:21 -05:00
  • 71657b50dd Conditional re-export of palette from iced_core Clark Moody 2020-04-02 17:49:23 -05:00
  • 04be010fbd Conversion traits for palette::Srgb Clark Moody 2020-04-02 17:29:26 -05:00
  • ea3b7b5282 Derive Default for Color Clark Moody 2020-04-02 15:24:40 -05:00
  • 56ce01e262 Simplify range declaration Clark Moody 2020-04-01 16:17:46 -05:00
  • a95d494f70 Remove redundant from_srgba and into_srgba methods Clark Moody 2020-04-01 16:15:29 -05:00
  • 408e9e566f Add palette test for Color <-> Srgba & manipulation Clark Moody 2020-03-31 17:36:09 -05:00
  • 7b15e4b0e2 Feature name colors -> palette Clark Moody 2020-03-31 16:44:02 -05:00
  • e926e43742 Add const from_rgba, for RGBA initialization Clark Moody 2020-03-31 16:41:07 -05:00
  • 9a4ad3d6a7 Use debug assertions instead of clamp Clark Moody 2020-03-31 16:40:44 -05:00
  • fd484c7638 Fix docstring typo Clark Moody 2020-03-31 16:12:18 -05:00
  • bb44398819 Revert from_rgb to const Clark Moody 2020-03-31 16:09:06 -05:00
  • 4009f0cf73 Remove HSLColor Clark Moody 2020-03-31 15:31:44 -05:00
  • 831a07f720 Conversion to palette's Srgba type Clark Moody 2020-03-31 15:20:47 -05:00
  • 63933e26d2 Add palette dependency behind "colors" feature flag Clark Moody 2020-03-31 12:11:37 -05:00
  • 0ff3cbf543 HSLColor struct, with conversions to/from RGB Clark Moody 2020-02-21 16:42:12 -06:00
  • 27a4cbccea Add inversion functions, rename check_rgba -> new Clark Moody 2020-02-21 15:40:37 -06:00
  • 62fddce2e6 Add check_rgba fn to clamp float values to [0,1] Clark Moody 2020-02-21 15:22:54 -06:00
  • 70081c9649
    Merge pull request #318 from hecrj/font-associated-type Héctor Ramón 2020-04-24 19:45:48 +02:00
  • 0300b649d7 Make Font an associated type of text::Renderer Héctor Ramón Jiménez 2020-04-23 22:17:11 +02:00
  • 6786b8a3aa Implement Default for Font Héctor Ramón Jiménez 2020-04-23 22:17:00 +02:00
  • 3375824630
    Merge pull request #314 from katktv/patch-1 Héctor Ramón 2020-04-22 17:08:20 +02:00
  • f30043ddc2
    Fix a typo in ROADMAP kat 2020-04-22 15:07:01 +03:00
  • 852d59752e add some accessibility features to web widgets Tom Pridham 2020-04-12 00:51:17 -06:00
  • f59832e88e Fix alignment in triangle pipeline of iced_wgpu Héctor Ramón Jiménez 2020-04-19 21:55:33 +02:00
  • 592cc68506 Remove Layer trait and simplify Canvas Héctor Ramón Jiménez 2020-04-19 21:55:23 +02:00
  • bb424e54c5 Add interactivity to solar_system example Héctor Ramón Jiménez 2020-04-19 18:48:30 +02:00
  • a97acd8fa8 Use Borrow<T> when binding in layer::Cache<T> Héctor Ramón Jiménez 2020-04-19 17:59:32 +02:00
  • edd01159e0
    Merge pull request #305 from hecrj/element-on-event Héctor Ramón 2020-04-19 15:28:53 +02:00
  • 8ade09a0f6 Simplify Canvas example in documentation Héctor Ramón Jiménez 2020-04-19 14:41:25 +02:00
  • 0b5028b1ab Draft Program interactivity for Canvas Héctor Ramón Jiménez 2020-04-19 14:39:30 +02:00
  • 462ba3b2c8 Implement and expose Element::on_event Héctor Ramón Jiménez 2020-04-18 21:29:14 +02:00
  • 90c3a183d5
    fix progress bar docs to no longer mention buttons (#301) ethanpailes 2020-04-18 15:12:44 -04:00
  • ae546a5b9d Revert "Merge pull request #289 from hecrj/fix/cursor-events" Héctor Ramón Jiménez 2020-04-17 23:27:50 +02:00
  • b44f14e186 Fix MSAA blit vertex shader to match wgpu NDC Héctor Ramón Jiménez 2020-04-16 14:54:29 +02:00
  • b23945c78a
    Change &mut wgpu::Device to &wgpu::Device (#299) Lain-dono 2020-04-16 09:06:05 +03:00
  • 99e020c7b5
    Merge pull request #269 from hecrj/update-wgpu Héctor Ramón 2020-04-16 04:59:56 +02:00
  • 4808fcbd7e Bump versions 🎉 Héctor Ramón Jiménez 2020-04-15 08:50:47 +02:00
  • f37a658962 Update CHANGELOG Héctor Ramón Jiménez 2020-04-15 08:44:01 +02:00
  • 5cb40dc095 Mention flags are not supported by Sandbox Héctor Ramón Jiménez 2020-04-15 07:56:25 +02:00
  • 99352f02fd
    Merge pull request #293 from hecrj/improvement/canvas-ergonomics Héctor Ramón 2020-04-15 05:43:40 +02:00
  • d0ebcdb936
    Merge pull request #294 from MrMonotone/patch-1 Héctor Ramón 2020-04-14 08:04:12 +02:00
  • 88b7dd6601 Check Wasm compilation of tour example in CI Héctor Ramón Jiménez 2020-04-14 07:44:04 +02:00
  • f7825fd936 Fix Checkbox and Radio API in iced_web Héctor Ramón Jiménez 2020-04-14 07:41:35 +02:00
  • 6d7f2b30cc Simplify drawing logic in clock example Héctor Ramón Jiménez 2020-04-14 07:08:24 +02:00
  • 67fd107746
    Fix tour example Nicholas 2020-04-13 22:19:47 -07:00
  • 3df49bebd4 Implement canvas::Path::line helper method Héctor Ramón Jiménez 2020-04-14 07:08:12 +02:00
  • 46cd0891d2 Implement canvas::Path::circle helper method Héctor Ramón Jiménez 2020-04-14 06:54:12 +02:00
  • c545af3577 Implement canvas::Path::rectangle helper method Héctor Ramón Jiménez 2020-04-14 06:49:15 +02:00
  • 5c923fce48 Implement From<&str> for canvas::Text Héctor Ramón Jiménez 2020-04-14 06:43:58 +02:00