Emil Ernerfeldt
|
154424384f
|
Implement Window as collection of Floating + Frame + Resize
|
2020-04-25 22:49:57 +02:00 |
|
Emil Ernerfeldt
|
649dcec09c
|
Refactor: replace bounding_size: Vec2 with child_bounds: Rect
|
2020-04-25 15:46:50 +02:00 |
|
Emil Ernerfeldt
|
cce048509f
|
Refactor: make Rect members min/max public
|
2020-04-25 15:45:38 +02:00 |
|
Emil Ernerfeldt
|
e26d08851f
|
Add Floating and Frame containers as building blocks for windows
|
2020-04-25 15:26:24 +02:00 |
|
Emil Ernerfeldt
|
3a430c8fc7
|
Add new Resize container
|
2020-04-25 14:37:39 +02:00 |
|
Emil Ernerfeldt
|
02f3b6dddf
|
std::f32::INFINITY -> f32::INFINITY
|
2020-04-25 10:52:20 +02:00 |
|
Emil Ernerfeldt
|
a66f4efaac
|
Minor code cleanup and clippy fixes
|
2020-04-24 18:47:14 +02:00 |
|
Emil Ernerfeldt
|
39e17a7562
|
Add painter region as example
|
2020-04-24 18:32:27 +02:00 |
|
Emil Ernerfeldt
|
b39555bb23
|
Add support for hyperlinks
|
2020-04-23 19:15:17 +02:00 |
|
Emil Ernerfeldt
|
fd8180cea4
|
Fix left alignment of widgets and tweak style slightly
|
2020-04-23 00:23:29 +02:00 |
|
Emil Ernerfeldt
|
9b404159c5
|
Expand clip_rects slightly to allow widgets just on the border
|
2020-04-22 19:41:42 +02:00 |
|
Emil Ernerfeldt
|
700c93b8e3
|
Add Rect left/right/top/bottom accessors
|
2020-04-22 19:38:38 +02:00 |
|
Emil Ernerfeldt
|
2a4828670e
|
Unify child region creation
|
2020-04-22 19:03:38 +02:00 |
|
Emil Ernerfeldt
|
d70ae351c1
|
Rename foldable to CollapsingHeader and move to own file
|
2020-04-22 19:03:33 +02:00 |
|
Emil Ernerfeldt
|
dbf8520e63
|
Basic scroll area support
Just vertical scrolling at the moment
|
2020-04-21 20:52:17 +02:00 |
|
Emil Ernerfeldt
|
4efbb94e1b
|
Various small improvements
|
2020-04-21 20:48:31 +02:00 |
|
Emil Ernerfeldt
|
9be5537418
|
Animate foldable regions
|
2020-04-21 14:47:17 +02:00 |
|
Emil Ernerfeldt
|
ed67cc6e59
|
Nicer looking indent regions with a gray vertical line
|
2020-04-21 10:28:25 +02:00 |
|
Emil Ernerfeldt
|
864eae2081
|
Separate clip_rect and desired_rect in Region
|
2020-04-21 07:42:33 +02:00 |
|
Emil Ernerfeldt
|
46f123eeb6
|
WIP: Working clip rects for glium
|
2020-04-21 00:17:02 +02:00 |
|
Emil Ernerfeldt
|
2f02446f6f
|
WIP: clip_rect
|
2020-04-20 23:48:55 +02:00 |
|
Emil Ernerfeldt
|
335b22d38d
|
Create region.add_label shortcut
|
2020-04-20 23:45:05 +02:00 |
|
Emil Ernerfeldt
|
1f8cee7573
|
Fxi bug in column subregion code
|
2020-04-20 23:22:50 +02:00 |
|
Emil Ernerfeldt
|
472e0b9afe
|
Refactor Region: remember region rectangle
This will be used as a clip rectangle for generated paint commands.
|
2020-04-20 00:48:54 +02:00 |
|
Emil Ernerfeldt
|
388132ba93
|
Implement window resizing
|
2020-04-19 23:44:24 +02:00 |
|
Emil Ernerfeldt
|
6eae91e028
|
Distinguish ids that need to be unique and warn about name clashes
|
2020-04-19 11:13:24 +02:00 |
|
Emil Ernerfeldt
|
1afda00fc4
|
Make it easier to create an Outline
|
2020-04-19 11:11:41 +02:00 |
|
Emil Ernerfeldt
|
2170081221
|
Use new type Pos2 for positions (points) instead of Vec2
|
2020-04-19 01:05:49 +02:00 |
|
Emil Ernerfeldt
|
624e709a8f
|
Make Id a proper newtype
|
2020-04-18 09:32:39 +02:00 |
|
Emil Ernerfeldt
|
407df94945
|
Switch to parking_lot::Mutex
|
2020-04-18 09:32:39 +02:00 |
|
Emil Ernerfeldt
|
f709423809
|
Rename Data to Context and move to own file
|
2020-04-17 15:33:52 +02:00 |
|
Emil Ernerfeldt
|
de76cb6190
|
Move Memory and Region to own files
|
2020-04-17 15:29:48 +02:00 |
|