Commit graph

  • a43fb42428 Reorganize view code in game_of_life Héctor Ramón Jiménez 2020-05-03 00:08:41 +02:00
  • cc8f5b6fc8 Simplify logic and limit ticks in game_of_life Héctor Ramón Jiménez 2020-05-02 10:48:42 +02:00
  • 0025b8c3f8 Display some statistics in game_of_life Héctor Ramón Jiménez 2020-05-02 09:27:49 +02:00
  • 916a1bfc70 Run ticks in a background thread in game_of_life Héctor Ramón Jiménez 2020-05-02 07:01:27 +02:00
  • 8fa9e4c94e Rename visible_in to within in game_of_life Héctor Ramón Jiménez 2020-05-02 03:37:20 +02:00
  • 4fd8e47737 Use rustc_hash for hashing in game_of_life Héctor Ramón Jiménez 2020-05-02 03:31:31 +02:00
  • 03ca7eea6c Reuse triangle path with transforms in color_palette Héctor Ramón Jiménez 2020-05-01 22:45:47 +02:00
  • 573929d5ec Use Path::rectangle directly in color_palette Héctor Ramón Jiménez 2020-05-01 22:32:40 +02:00
  • 555371f77e Move application implementation in color_palette Héctor Ramón Jiménez 2020-05-01 22:27:14 +02:00
  • 4d724a88e6 Introduce Theme type in color_palette example Héctor Ramón Jiménez 2020-05-01 22:24:34 +02:00
  • 0a011f9031 Improve generate_theme in color_palette Héctor Ramón Jiménez 2020-05-01 21:51:08 +02:00
  • 11e4039b56 Remove update_component in color_palette Héctor Ramón Jiménez 2020-05-01 21:43:11 +02:00
  • e7e8e76c28 Change speed limit to 100 in game_of_life Héctor Ramón Jiménez 2020-05-01 06:23:30 +02:00
  • 1833c77312 Improve scrolling smoothness in game_of_life Héctor Ramón Jiménez 2020-05-01 06:23:05 +02:00
  • ffbe59f812 Zoom to cursor in game_of_life example Héctor Ramón Jiménez 2020-05-01 05:42:07 +02:00
  • 0a5f1bb676 Improve zooming logic in game_of_life Héctor Ramón Jiménez 2020-05-01 05:19:05 +02:00
  • c23995ecb4 Increase speed limit to 200 in game_of_life Héctor Ramón Jiménez 2020-05-01 04:48:26 +02:00
  • f9227546ca Use fill_rectangle for cursor in game_of_life Héctor Ramón Jiménez 2020-05-01 04:41:04 +02:00
  • 404122e0b1 Implement zooming for game_of_life example Héctor Ramón Jiménez 2020-05-01 04:35:59 +02:00
  • 08b376c6d7 Implement Frame::fill_rectangle Héctor Ramón Jiménez 2020-05-01 04:33:17 +02:00
  • 345f0e1336 Implement scalar multiplication for Vector Héctor Ramón Jiménez 2020-05-01 04:32:56 +02:00
  • 980ac6c2a4 Add UNIT constant to Size Héctor Ramón Jiménez 2020-05-01 04:30:54 +02:00
  • 377ead93d6 Improve tick performance in game_of_life Héctor Ramón Jiménez 2020-05-01 01:24:31 +02:00
  • a6db1e1fb3 Introduce Life type in game_of_life Héctor Ramón Jiménez 2020-05-01 01:08:39 +02:00
  • 71323c51bb Simplify Interaction handling in game_of_life Héctor Ramón Jiménez 2020-05-01 00:54:43 +02:00
  • ee97887409 Introduce Cell type in game_of_life Héctor Ramón Jiménez 2020-05-01 00:50:40 +02:00
  • 005ad6215a Update README of game_of_life example Héctor Ramón Jiménez 2020-04-30 08:59:47 +02:00
  • 98bc8cf2a7 Rename MouseCursor to mouse::Interaction Héctor Ramón Jiménez 2020-04-30 08:16:38 +02:00
  • d4c4198f72 Write documentation for the new canvas API Héctor Ramón Jiménez 2020-04-30 07:38:46 +02:00
  • 1501a93915 Disable time module on Wasm for now Héctor Ramón Jiménez 2020-04-30 05:51:41 +02:00
  • e2076612cb Implement time::every in iced_futures Héctor Ramón Jiménez 2020-04-30 05:37:44 +02:00
  • bb9ccc4f62 Remove inconsistent input module in iced_native Héctor Ramón Jiménez 2020-04-30 05:04:45 +02:00
  • 137664ca88 Move keyboard::Event to iced_core Héctor Ramón Jiménez 2020-04-30 04:59:07 +02:00
  • 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