Commit graph

127 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
67b2ccb4d5 Merge branch 'master' into feature/canvas-interaction 2020-05-04 23:35:09 +02:00
Héctor Ramón Jiménez
c0fd5de8a0 Improve minor documentation details in Color 2020-05-04 23:04:02 +02:00
Héctor Ramón Jiménez
345f0e1336 Implement scalar multiplication for Vector 2020-05-01 04:32:56 +02:00
Héctor Ramón Jiménez
980ac6c2a4 Add UNIT constant to Size 2020-05-01 04:30:54 +02:00
Héctor Ramón Jiménez
98bc8cf2a7 Rename MouseCursor to mouse::Interaction 2020-04-30 08:16:38 +02:00
Héctor Ramón Jiménez
137664ca88 Move keyboard::Event to iced_core 2020-04-30 04:59:07 +02:00
Héctor Ramón Jiménez
d8b9e03481 Remove ButtonState 2020-04-30 04:54:49 +02:00
Héctor Ramón Jiménez
e55cd9652e Split Input mouse event by ButtonState 2020-04-30 04:53:15 +02:00
Héctor Ramón Jiménez
afa0bca4fd Implement Rectangle::position 2020-04-29 08:25:27 +02:00
Héctor Ramón Jiménez
61c707fe04 Merge branch 'master' into feature/canvas-interaction 2020-04-29 07:34:14 +02:00
Héctor Ramón Jiménez
475a2779a7 Implement Rectangle::with_size 2020-04-29 03:23:08 +02:00
Héctor Ramón Jiménez
ec712c8032 Move MouseCursor to iced_core 2020-04-29 03:23:02 +02:00
Héctor Ramón Jiménez
2539042b71 Remove Drawable and rename State to Program 2020-04-28 06:24:12 +02:00
Héctor Ramón Jiménez
69c60d372c Implement std::ops::Add<Vector> for Rectangle 2020-04-28 04:40:23 +02:00
Héctor Ramón Jiménez
5d5e60a5cc Implement Rectangle::new 2020-04-28 04:39:59 +02:00
Héctor Ramón Jiménez
56dbd68326 Move reusable mouse types to iced_core 2020-04-28 03:11:01 +02:00
Héctor Ramón Jiménez
20d79a43cc Implement Default for Point 2020-04-28 03:06:35 +02:00
Héctor Ramón Jiménez
6c2e28d20e Implement std::ops::Sub<Point> for Point 2020-04-28 01:12:27 +02:00
Clark Moody
27fadad324 Do not re-export Palette from iced_core 2020-04-24 15:20:00 -05:00
Clark Moody
71657b50dd Conditional re-export of palette from iced_core 2020-04-24 15:13:22 -05:00
Clark Moody
04be010fbd Conversion traits for palette::Srgb 2020-04-24 15:13:22 -05:00
Clark Moody
ea3b7b5282 Derive Default for Color 2020-04-24 15:13:22 -05:00
Clark Moody
56ce01e262 Simplify range declaration 2020-04-24 15:13:22 -05:00
Clark Moody
a95d494f70 Remove redundant from_srgba and into_srgba methods 2020-04-24 15:13:22 -05:00
Clark Moody
408e9e566f Add palette test for Color <-> Srgba & manipulation 2020-04-24 15:13:22 -05:00
Clark Moody
7b15e4b0e2 Feature name colors -> palette 2020-04-24 15:13:22 -05:00
Clark Moody
e926e43742 Add const from_rgba, for RGBA initialization 2020-04-24 15:13:22 -05:00
Clark Moody
9a4ad3d6a7 Use debug assertions instead of clamp 2020-04-24 15:13:22 -05:00
Clark Moody
fd484c7638 Fix docstring typo 2020-04-24 15:13:22 -05:00
Clark Moody
bb44398819 Revert from_rgb to const 2020-04-24 15:13:22 -05:00
Clark Moody
4009f0cf73 Remove HSLColor 2020-04-24 15:13:22 -05:00
Clark Moody
831a07f720 Conversion to palette's Srgba type 2020-04-24 15:13:22 -05:00
Clark Moody
63933e26d2 Add palette dependency behind "colors" feature flag 2020-04-24 15:13:22 -05:00
Clark Moody
0ff3cbf543 HSLColor struct, with conversions to/from RGB 2020-04-24 15:13:22 -05:00
Clark Moody
27a4cbccea Add inversion functions, rename check_rgba -> new 2020-04-24 15:13:22 -05:00
Clark Moody
62fddce2e6 Add check_rgba fn to clamp float values to [0,1] 2020-04-24 15:13:22 -05:00
Héctor Ramón Jiménez
6786b8a3aa Implement Default for Font 2020-04-23 22:17:00 +02:00
Héctor Ramón Jiménez
0b5028b1ab Draft Program interactivity for Canvas 2020-04-19 14:39:30 +02:00
Héctor Ramón Jiménez
4808fcbd7e Bump versions 🎉 2020-04-15 08:58:14 +02:00
Héctor Ramón Jiménez
b549b509c9 Align text in iced_wgpu on a case-by-case basis 2020-04-10 01:39:36 +02:00
Héctor Ramón Jiménez
d0cca658a1 Bump all versions 🎉 2020-04-02 17:40:20 +02:00
Héctor Ramón Jiménez
2ef1b4317a Remove subcrates CHANGELOG
At this stage, it is important to allow the library to change rapidly.
Because of this, keeping a log of changes can be counter-productive. We
do not want pin down design decisions by writing detailed changelogs
(sunk cost fallacy).

Once the library and its different parts start becoming more stable and
mature, we will reintroduce changelogs accordingly.

For now, we will keep a main `CHANGELOG` file just for the `iced` crate.
2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
4fc17dfd66 Fix Size::new documentation 2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
c2cb1a0c81 Improve Point::ORIGIN documentation 2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
31aaf207d6 Remove redundant check in ModifiersState::matches 2020-03-20 04:10:58 +01:00
Héctor Ramón Jiménez
18f016cba7 Use f32::hypot in Point::distance 2020-03-20 04:08:18 +01:00
Héctor Ramón Jiménez
50b02d41a0 Check only for partial match of modifier keys 2020-03-18 07:10:36 +01:00
Héctor Ramón Jiménez
05beb87852 Move common keyboard types to iced_core
Also expose them in `iced` through `iced_native` and `iced_web`.
2020-03-17 07:30:05 +01:00
Héctor Ramón Jiménez
f08cb4ad56 Implement mouse-based pane resizing for PaneGrid 2020-03-14 08:10:50 +01:00
Héctor Ramón Jiménez
b74e7e7353 Implement Primitive::Cached 2020-03-07 23:45:54 +01:00