Tymoteusz Jankowski
|
5bfe9548e8
|
Replace inner_getters!(T); with inner_getters!(self.view: T);
|
2018-01-27 10:37:08 +01:00 |
|
Tymoteusz Jankowski
|
9510d92736
|
Use inner_getters for rest of ViewWrappers (except on_event_view)
|
2018-01-26 12:08:28 +01:00 |
|
Alexandre Bury
|
5ac0fce363
|
Refactor ColorStyle
Add the notion of PaletteColor to use a color from the palette.
Breaking change: most color styles are now methods rather than enum
variants.
|
2018-01-17 10:22:06 -08:00 |
|
Alexandre Bury
|
75d5868162
|
Fix shadowview event relativization
|
2017-10-12 16:44:03 -07:00 |
|
Alexandre Bury
|
4e07d8891f
|
Add mouse event relativization to StackView and ShadowView
So that key_codes example works fine.
|
2017-10-11 11:35:18 -07:00 |
|
Alexandre Bury
|
05bac7a192
|
More safe subtractions all around.
|
2017-08-14 16:32:39 -07:00 |
|
Alexandre Bury
|
d7eaa5a086
|
Rename View::get_min_size -> required_size
|
2017-01-23 22:53:03 -08:00 |
|
Alexandre Bury
|
f504ad8f0e
|
Add fullscreen layers to StackView
Fixes #87
|
2017-01-23 18:54:52 -08:00 |
|
Alexandre Bury
|
651c7d619b
|
Remove debug artifacts
And bring back the shadows!
|
2016-10-09 17:43:24 -07:00 |
|
Alexandre Bury
|
df4397a174
|
Add stub termion backend
Not supported: input, colors, effects, async
|
2016-10-09 16:02:26 -07:00 |
|
Alexandre Bury
|
3b3f403f7a
|
Apply rustfmt
|
2016-10-02 15:22:29 -07:00 |
|
Alexandre Bury
|
08d1c1e5b0
|
Use an associated type in ViewWrapper
This removes the need for dynamic dispatching
|
2016-09-19 17:20:20 -07:00 |
|
Alexandre Bury
|
f7a3d821d1
|
Actually use Theme::{shadow,borders} when drawing
Also add the 8 light base colors
|
2016-08-04 17:27:04 -07:00 |
|
Alexandre Bury
|
f87d0e7c5b
|
Move views to new views module
|
2016-07-28 16:36:01 -07:00 |
|