Héctor Ramón Jiménez
|
d367584057
|
Avoid redundant max in absolute_offset_reversed
I believe `Offset::absolute` guarantees the offset never exceeds the
maximum scrolling boundaries already.
|
2023-07-13 03:01:53 +02:00 |
|
Héctor Ramón Jiménez
|
a9987cb32e
|
Introduce absolute_offset_reversed to scrollable::Viewport
|
2023-07-13 02:56:28 +02:00 |
|
Cory Forsstrom
|
11287c882e
|
Expose methods to change viewport alignment
|
2023-07-12 16:58:55 -07:00 |
|
Héctor Ramón
|
21bd51426d
|
Merge pull request #1912 from tarkah/feat/scrollable-alignment
Add scrollable alignment option
|
2023-07-12 10:24:04 +02:00 |
|
Héctor Ramón Jiménez
|
ce23e08d0d
|
Remove unnecessary cursor unavailability logic in scrollable
|
2023-07-12 10:13:15 +02:00 |
|
Héctor Ramón Jiménez
|
d07bac36ab
|
Rename absolute_from_start to translation in scrollable
|
2023-07-12 10:05:46 +02:00 |
|
Héctor Ramón Jiménez
|
ca2afb0495
|
Disambiguate offset from translation in scrollable
|
2023-07-12 10:04:26 +02:00 |
|
Héctor Ramón Jiménez
|
2b2f9c07d8
|
Increase type-safety of alignment in scrollable
|
2023-07-12 09:49:14 +02:00 |
|
Héctor Ramón Jiménez
|
44460f7b8b
|
Remove public fields from Viewport
Let's tackle use cases directly instead!
|
2023-07-12 09:26:13 +02:00 |
|
Héctor Ramón Jiménez
|
896a90decb
|
Remove useless conversions in widget::tooltip
|
2023-07-12 03:48:26 +02:00 |
|
Cory Forsstrom
|
65be3f8b96
|
Use overlay for Tooltip widget
|
2023-07-12 03:31:22 +02:00 |
|
Nick Senger
|
4c2aa071a0
|
fix: request redraw in component overlay
|
2023-07-09 12:46:43 -07:00 |
|
Héctor Ramón Jiménez
|
0964f12db7
|
Remove useless conversion in widget::pane_grid
|
2023-07-06 08:26:46 +02:00 |
|
Héctor Ramón Jiménez
|
c5a623f32b
|
Introduce drop helper to pane_grid::State
|
2023-07-06 07:57:24 +02:00 |
|
Héctor Ramón Jiménez
|
ecce8bbcee
|
Simplify Target enum in widget::pane_grid
|
2023-07-06 07:57:23 +02:00 |
|
Héctor Ramón Jiménez
|
f83ee1e9f9
|
Call in_edge only when picked_pane.is_some()
|
2023-07-06 07:56:22 +02:00 |
|
Joao Freitas
|
995c7c1ca9
|
Reuse code
|
2023-07-06 07:55:50 +02:00 |
|
Joao Freitas
|
e5c9dd54b3
|
Add ability to drag pane to the pane grid edges & optional style for dragged pane
|
2023-07-06 07:55:49 +02:00 |
|
Cory Forsstrom
|
d79cedd8da
|
Add alignment to Viewport
|
2023-07-04 10:43:12 -07:00 |
|
Cory Forsstrom
|
905c307f0b
|
Make viewport bounds public
|
2023-07-04 10:43:12 -07:00 |
|
Cory Forsstrom
|
4f066b516b
|
Add scrollable alignment option
|
2023-07-04 10:43:12 -07:00 |
|
Austin M. Reppert
|
0cc85c7820
|
Add touch support for toggler. (#1935)
* Add touch support for toggler.
* Fix formatting.
* Fix consistency of imports in `iced_widget::toggler`
---------
Co-authored-by: Austin M. Reppert <austinmreppert@protonmail.com>
Co-authored-by: Héctor Ramón Jiménez <hector0193@gmail.com>
|
2023-06-29 06:14:21 +00:00 |
|
Héctor Ramón Jiménez
|
0ae1baa37b
|
Introduce custom backend-specific primitives
|
2023-06-29 07:18:20 +02:00 |
|
Héctor Ramón Jiménez
|
1c26440f0b
|
Use Option::filter instead of and_then in scrollable
|
2023-06-27 23:04:50 +02:00 |
|
Héctor Ramón Jiménez
|
412e15b170
|
Require a Direction when computing State::offset in scrollable
|
2023-06-27 23:04:49 +02:00 |
|
Héctor Ramón Jiménez
|
493571695a
|
Rename ScrollbarProperties to Direction in scrollable
|
2023-06-27 23:04:49 +02:00 |
|
Austin M. Reppert
|
fa04f40524
|
Make vertical scroll properties optional
Co-Authored-By: Austin M. Reppert <austinmreppert@gmail.com>
|
2023-06-27 23:03:29 +02:00 |
|
Héctor Ramón
|
f6966268bb
|
Merge pull request #1845 from bungoboingo/feat/offscreen-rendering
Feat: Offscreen Rendering & Screenshots
|
2023-06-27 20:37:19 +02:00 |
|
Héctor Ramón Jiménez
|
3a5519d012
|
Update ouroboros dependency
|
2023-06-21 01:56:27 +02:00 |
|
Héctor Ramón Jiménez
|
87db76a11f
|
Make overlay::Menu publish messages on selection
|
2023-06-14 11:25:05 +02:00 |
|
Cory Forsstrom
|
b0205e03d8
|
Use nested for lazy widgets
|
2023-06-14 11:03:41 +02:00 |
|
Cory Forsstrom
|
55dc3b5619
|
Introduce internal overlay::Nested for UserInterface
|
2023-06-14 09:25:30 +02:00 |
|
Cory Forsstrom
|
38da953583
|
Only scroll w/ wheel if over scrollable
|
2023-06-12 13:15:11 -07:00 |
|
Héctor Ramón Jiménez
|
27639c4ce6
|
Fix mouse interactions in Scrollable
|
2023-06-08 21:03:24 +02:00 |
|
Héctor Ramón Jiménez
|
5c8cfb411e
|
Take Rectangle by value in Cursor API
|
2023-06-08 20:16:46 +02:00 |
|
Héctor Ramón Jiménez
|
34451bff18
|
Implement basic cursor availability
|
2023-06-08 20:11:59 +02:00 |
|
Héctor Ramón Jiménez
|
5b5000e3ae
|
Introduce on_press_maybe helper for Button
|
2023-06-06 16:18:20 +02:00 |
|
Héctor Ramón Jiménez
|
66d4decc0c
|
Fix quad glitch when rounding borders of a Slider rail
|
2023-06-01 17:27:52 +02:00 |
|
Casper Storm
|
1e2965d542
|
only add border radius to the visible part
|
2023-06-01 13:30:48 +02:00 |
|
Casper Storm
|
9902e77816
|
Add border_radius to slider rail
|
2023-06-01 10:46:33 +02:00 |
|
Héctor Ramón Jiménez
|
0b504bec8a
|
Invalidate Responsive layout when size changes without a view call
|
2023-06-01 04:59:49 +02:00 |
|
Casper Storm
|
1234d52812
|
clippy
|
2023-05-23 15:28:45 +02:00 |
|
Casper Storm
|
1c86defab5
|
Extend border radius on relevant widgets
|
2023-05-23 14:50:29 +02:00 |
|
Héctor Ramón Jiménez
|
29326952b4
|
Avoid drawing empty quads in widget::scrollable
|
2023-05-23 04:39:41 +02:00 |
|
Cory Forsstrom
|
12a57fae5c
|
Remove min width 1 from scrollbar & scroller
|
2023-05-23 04:28:44 +02:00 |
|
Joao Freitas
|
9b5f32ee40
|
Rename invert -> swap
|
2023-05-19 12:15:44 +01:00 |
|
Joao Freitas
|
bc590e2d6f
|
Take pane state internally
|
2023-05-19 12:12:08 +01:00 |
|
Joao Freitas
|
0cb84c1c4c
|
Change name of hovered region style struct, reorder lines & export Appearance
|
2023-05-19 12:02:39 +01:00 |
|
Joao Freitas
|
99aa54cd88
|
Add pane_grid functionality to split a pane with another pane
|
2023-05-16 16:12:29 +01:00 |
|
Héctor Ramón Jiménez
|
cf434236e7
|
Enable doc_auto_cfg when generating documentation
|
2023-05-11 17:28:51 +02:00 |
|