summaryrefslogtreecommitdiffstats
path: root/native/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * provide ID to operation.container in applicable widgetsLibravatar Nick Senger2023-02-165-51/+226
| |
| * scrollable: provide ID to operation.containerLibravatar Nick Senger2023-02-161-8/+11
| |
* | Pad after setting widthLibravatar Cory Forsstrom2023-02-141-1/+1
|/ | | | | Otherwise `width` will set limits back to a fixed width if `Length::Units` is used, overwriting padding.
* Merge pull request #1675 from casperstorm/pick_list/extend-handleLibravatar Héctor Ramón2023-02-141-62/+69
|\ | | | | Extended `pick_list::Handle` to be more flexible
| * Inline `Handle::content` for simplicity and efficiencyLibravatar Héctor Ramón Jiménez2023-02-141-31/+22
| | | | | | | | We can avoid downcasting `state` :^)
| * Provide `State` reference instead of closure to `pick_list::draw`Libravatar Héctor Ramón Jiménez2023-02-141-3/+2
| |
| * Use `char` instead of `String` for `pick_list::Icon`Libravatar Héctor Ramón Jiménez2023-02-141-19/+16
| |
| * Move `Handle` and `Icon` definitions in `pick_list`Libravatar Héctor Ramón Jiménez2023-02-141-70/+70
| |
| * Rename `HandleContent` to `Icon` and simplify genericsLibravatar Héctor Ramón Jiménez2023-02-141-54/+20
| |
| * Extend pick_list::HandleLibravatar Casper Storm2023-02-141-14/+68
| |
* | fix: panic when overlay event processing removes overlayLibravatar Nick Senger2023-02-111-9/+9
|/
* Write missing `window::Action` helpers in `window`Libravatar Héctor Ramón Jiménez2023-01-311-1/+1
|
* Improve consistency of `window::Action`Libravatar Héctor Ramón Jiménez2023-01-311-8/+9
|
* Fix layout translation in `overlay::Group`Libravatar Héctor Ramón Jiménez2023-01-303-12/+22
| | | | | This bug produced improper positioning of overlays of elements inside a `Scrollable`.
* Refactor image draw to standalone functionLibravatar Cory Forsstrom2023-01-281-28/+40
|
* Merge pull request #1678 from frey/fix/mapped_operations_missingLibravatar Héctor Ramón2023-01-281-1/+11
|\ | | | | Mapped operations is missing text_input()
| * Mapped operations is missing text_input()...Libravatar frey2023-01-261-1/+11
| | | | | | | | This fixes a bug where some operations could be dropped.
* | Merge pull request #1679 from casperstorm/pick_list/widthLibravatar Héctor Ramón2023-01-281-4/+1
|\ \ | | | | | | Fixed a 1-pixel width issue on `pick_list`
| * | Fixed a small pixel width issue on `pick_list`Libravatar Casper Storm2023-01-271-4/+1
| |/
* | Fix: Clippy lint 'uninlined_format_args'Libravatar 13r0ck2023-01-276-17/+16
| |
* | Fix: Clippy lint 'needless_lifetimes'Libravatar 13r0ck2023-01-271-2/+2
|/
* Annotate `Command` and `Subscription` with `#[must_use]`Libravatar Ian Douglas Scott2023-01-261-0/+1
| | | | | | Calling a function returning one of these types without using it is almost certainly a mistake. Luckily Rust's `#[must_use]` can help warn about this.
* Fix some minor documentation inconsistenciesLibravatar Héctor Ramón Jiménez2023-01-243-5/+8
|
* Rename method to is_overLibravatar Cory Forsstrom2023-01-174-32/+12
|
* Add toast exampleLibravatar Cory Forsstrom2023-01-171-0/+5
|
* New method to determine if overlay contains cursorLibravatar Cory Forsstrom2023-01-174-2/+48
| | | | | | This is needed for "container" overlay's such as `Group` which should only consider it's childrens layouts and not it's own when determining if the cursor is captured by the overlay.
* Use group overlay for containers w/ childrenLibravatar Cory Forsstrom2023-01-172-8/+13
|
* Add group overlay elementLibravatar Cory Forsstrom2023-01-172-0/+167
|
* Introduce `custom` method to `widget::Operation` traitLibravatar Héctor Ramón Jiménez2023-01-144-0/+24
| | | | This allows users to write operations for their custom widgets.
* Bump versions :tada:Libravatar Héctor Ramón Jiménez2023-01-145-11/+11
|
* Clarify documentation of `window::frames`Libravatar Héctor Ramón Jiménez2023-01-131-1/+5
|
* Use `instant` instead of `wasm-timer` in `iced_core`Libravatar Héctor Ramón Jiménez2023-01-124-6/+5
|
* Use `instant` to fix Wasm targetLibravatar Héctor Ramón Jiménez2023-01-124-4/+4
|
* Replace `Option<Instant>` with `RedrawRequest` enumLibravatar Héctor Ramón Jiménez2023-01-125-26/+63
|
* Rename `Focus::at` to `Focus::updated_at` in `text_input`Libravatar Héctor Ramón Jiménez2023-01-121-7/+14
|
* Implement `window::frames` subscriptionLibravatar Héctor Ramón Jiménez2023-01-122-1/+41
| | | | ... and use it in the `solar_system` example :tada:
* Use short-hand field notation in `TextInput`Libravatar Héctor Ramón Jiménez2023-01-121-1/+1
|
* Avoid reblinking cursor when clicking a focused `TextInput`Libravatar Héctor Ramón Jiménez2023-01-121-12/+7
|
* Draft `Shell:request_redraw` APILibravatar Héctor Ramón Jiménez2023-01-126-51/+177
| | | | ... and implement `TextInput` cursor blink :tada:
* Merge pull request #1550 from bungoboingo/feat/multidirectional-scrollingLibravatar Héctor Ramón2023-01-093-325/+679
|\ | | | | [Feature] Multidirectional scrolling
| * Avoid dragging scroll area when touching scrollbars for `Scrollable`Libravatar Héctor Ramón Jiménez2023-01-081-1/+4
| |
| * Remove `PartialOrd` implementation for `Rectangle`Libravatar Héctor Ramón Jiménez2023-01-081-1/+3
| | | | | | | | | | A `PartialOrd` implementation is unclear for this type, since it has a position besides its dimensions.
| * Enable horizontal scrolling with `Shift+MouseWheel`Libravatar Héctor Ramón Jiménez2023-01-081-1/+17
| |
| * Introduce `RelativeOffset` type in `scrollable`Libravatar Héctor Ramón Jiménez2023-01-082-51/+64
| |
| * Reworked Scrollable to account for lack of widget order guarantees.Libravatar bungoboingo2022-12-292-606/+537
| | | | | | | | Fixed thumb "snapping" bug on scrollable when cursor is out of bounds.
| * Add multidirectional scrolling capabilities to the existing Scrollable.Libravatar Bingus2022-12-293-374/+763
| |
* | Merge pull request #1639 from iced-rs/fix/limits-clampLibravatar Héctor Ramón2023-01-051-7/+9
|\ \ | | | | | | Stop using `f32::clamp` altogether in `layout::Limits`
| * | Stop using `f32::clamp` altogether in `layout::Limits`Libravatar Héctor Ramón Jiménez2023-01-051-7/+9
| | |
* | | Merge pull request #1633 from pop-os/standardize-checkbox-functionsLibravatar Héctor Ramón2023-01-052-3/+3
|\ \ \ | |/ / |/| | use same name & order for checkbox::new and helper
| * | Checkbox: Fix tests with sync'ed helper macro and associated fnLibravatar 13r0ck2023-01-041-1/+1
| | |