- 25 Nov, 2019 1 commit
-
-
Alexander Mikhaylenko authored
Have more useful warnings. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
- 24 Nov, 2019 2 commits
-
-
Alexander Mikhaylenko authored
Handle it like discrete scrolling instead. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Alexander Mikhaylenko authored
Support scrolling on devices like mice. Switch a page when a scroll event arrives and add a delay to prevent too fast scrolling. Use animation duration as a delay, but don't let it go below 250ms, mainly to ensure it still works with animations disabled. Fixes Librem5/libhandy#155 Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
- 23 Nov, 2019 5 commits
-
-
This adds a page to demo the leaflet transitions, drops usage of the deprecated leaflet transition types and properties, and defaults to the 'over' transition to demo it and its shadow effect.
-
There is no point in adding enum values and deprecating them in the same version, so let's just remove them. The animations are still available via the newly added HdyLeafletTransitionType type and the transition-type property, so this also encourages migrating to the new API.
-
Add the HdyLeafletTransitionType enumeration and the transition-type property to define both the mode and child transitions, as having them different makes no sense and could lead to spatialization issues. This new type doesn't offer a crossfade transition on purpose as it was deemed inappropriate for the leaflet, for which the position of the children is inherently important. This also deprecates the two previous properties and their respective types. Fixes Librem5/libhandy#92.
-
Prevent jumping when removing pages to the left of the current one. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Use 300px instead of 400px, otherwise it can be hard to use on small touchpads. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
- 05 Nov, 2019 2 commits
-
-
Alexander Mikhaylenko authored
Draw a dimming layer and a drop shadow over bottom child during 'over' and 'under' mode and child transitions. The dimming, shadow and border styles are defined in CSS. The current style is based on the similar animation in WebKit. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Alexander Mikhaylenko authored
This will be used in the following commits to add shadows to HeyLeaflet transitions. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
- 01 Nov, 2019 1 commit
-
-
Alexander Mikhaylenko authored
Adjust width and height of the clip rectangle to avoid drawing areas outside of the widget. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
- 30 Oct, 2019 4 commits
-
-
Adrien Plazas authored
This allows the mode transition animation to match the semantic of the over and under child transitions.
-
Alexander Mikhaylenko authored
Sets the children padding of the folding sliding animation depending on the surface they'll be drawn on. This doesn't change a thing for the sliding animation, but this will avoid the children to be moved when snapshotting them, which is needed for the over and under animations — which will be added in the next commit — to work correctly.
-
This will clip the end surface to ensure it doesn't get drawn on or under the visible child, which will allow to create mode transition animations where other children appear to be drawn under the visible child.
-
This will clip children to ensure they don't get drawn on or under the visible child, which will allow to create mode transition animations where other children appear to be drawn under the visible child.
-
- 26 Oct, 2019 9 commits
-
-
Alexander Mikhaylenko authored
Do the same thing as for HdyHeaderGroup. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Alexander Mikhaylenko authored
Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Alexander Mikhaylenko authored
An object that allows to synchronize swipe animations of multiple widgets. This can be used to sync widgets between headerbar and window content area. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Alexander Mikhaylenko authored
Use a HdySwipeable instead of GtkWidget. Remove 'begin', 'update' and 'end' signals and instead call HdySwipeable methods. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Alexander Mikhaylenko authored
Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Alexander Mikhaylenko authored
A common interface that swipeable widgets should implement and that HdySwipeGroup and HdySwipeTracker will use. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Alexander Mikhaylenko authored
Signed-off-by:
Mikhaylenko Alexander <alexm@gnome.org>
-
Alexander Mikhaylenko authored
Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Alexander Mikhaylenko authored
This will help to avoid duplicating code in later commits. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
- 25 Oct, 2019 1 commit
-
-
Alexander Mikhaylenko authored
Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
- 23 Oct, 2019 1 commit
-
-
louib authored
Some casts were increasing the required alignment in callbacks, raising warnings when compiled on arm with gcc.
-
- 21 Oct, 2019 4 commits
-
-
Guido Gunther authored
Fixes: ac94e649
-
-
It's considered HdyDialer internal API
-
The macros are libhandy internal (should not be used in application code) and are as such marked with a '_'. This also makes gtk-doc happy since it treats it as a public symbol otherwise.
-
- 19 Oct, 2019 1 commit
-
-
louib authored
-
- 18 Oct, 2019 3 commits
-
-
Alexander Mikhaylenko authored
That was a debugging leftover. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Alexander Mikhaylenko authored
There are some cases where not animating the canceled gesture looks awkward. For example, when tapping a paginator while it animates. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
- 15 Sep, 2019 1 commit
-
-
Zander Brown authored
-
- 27 Aug, 2019 2 commits
-
-
Guido Gunther authored
-
This doesn't make the background transparent when hovering and apply the same style as non-hovered buttons on hovered buttons in a headerbar. Fixes Librem5/libhandy#123.
-
- 25 Aug, 2019 1 commit
-
-
Adrien Plazas authored
This makes hdy_get_enable_animations() and hdy_ease_out_cubic() public.
-
- 24 Aug, 2019 2 commits
-
-