Commit graph

20 commits

Author SHA1 Message Date
lufte
e102e89c6a
Implement scroll_by operation for scrollable
`scroll_by` allows scrolling an absolute offset
that is applied to the current scrolling position.
2024-09-10 22:09:03 +02:00
Héctor Ramón Jiménez
d9a29f5176
Remove Vector::UNIT constant 2024-07-13 13:41:00 +02:00
Héctor Ramón Jiménez
a57313b23e
Simplify image rotation API and its internals 2024-05-02 17:28:28 +02:00
Héctor Ramón Jiménez
a50cc32d09
Fix layout translation in overlay::Group
This bug produced improper positioning of overlays of elements inside a
`Scrollable`.
2023-01-30 05:11:59 +01:00
Héctor Ramón Jiménez
b0705d2f4c
Fix latest clippy lints 2022-08-17 16:09:25 +02:00
Héctor Ramón Jiménez
01322f69a4 Use recently stabilized intra-doc links
See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
2020-11-26 02:05:43 +01:00
Jakub Hlusička
16646ffc41
Apply suggestions 2020-10-29 14:57:37 +01:00
Jakub Hlusička
9090fa6a22 Add conversion functions to Size and Vector 2020-10-28 15:33:38 +01: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
b74e7e7353 Implement Primitive::Cached 2020-03-07 23:45:54 +01:00
Héctor Ramón
d817fe8e14
Merge pull request #91 from nvzqz/const-all-the-things
Make many functions `const`
2020-03-06 03:47:40 +01:00
Héctor Ramón Jiménez
f7a8b6983c Remove Mul implementation for Vector 2020-01-07 04:56:32 +01:00
Héctor Ramón Jiménez
2bbd395d5d Draft styling example 2020-01-06 18:44:45 +01:00
Héctor Ramón Jiménez
1a0effa961 Add border and shadow styling to Button 2020-01-05 19:29:12 +01:00
Nikolai Vazquez
267e242238 Make many functions const
The point is to set up repeated components or boilerplate before their
use sites.

The majority of these make sense as `const`. However, some functions
such as those regarding state may not make sense as `const`.
2019-11-29 21:24:52 -05:00
Héctor Ramón Jiménez
d3553adf27 Write documentation for iced_core 2019-11-18 07:16:19 +01:00
Héctor Ramón Jiménez
470266f540 Add horizontal offset to Primitive::Clip 2019-11-05 03:16:46 +01:00
Héctor Ramón Jiménez
b9e0f74948 Create iced_core and iced_native 2019-09-20 19:15:31 +02:00
Héctor Ramón Jiménez
a97401aed2 Rethink workspace structure 2019-09-14 19:16:06 +02:00
Héctor Ramón Jiménez
8b8f7563ad Switch to workspace layout 2019-09-10 19:41:49 +02:00
Renamed from src/vector.rs (Browse further)