From 7cf677a61837bec1b242e2d4825a3d96b84383d1 Mon Sep 17 00:00:00 2001 From: Philipp Unger Date: Wed, 6 Apr 2022 20:33:01 +0200 Subject: [PATCH] migrate animate appicon hover options dialog --- prefs.js | 3 + ui/AnimateAppIconHoverOptions.ui | 296 +++++++++++++++++++++++++++++++ 2 files changed, 299 insertions(+) create mode 100644 ui/AnimateAppIconHoverOptions.ui diff --git a/prefs.js b/prefs.js index 45a5b95..6bf5565 100644 --- a/prefs.js +++ b/prefs.js @@ -166,6 +166,9 @@ const Preferences = class { this._builder.set_translation_domain(Me.metadata['gettext-domain']); if (window) { + // dialogs + this._builder.add_from_file(Me.path + '/ui/AnimateAppIconHoverOptions.ui'); + this._builder.add_from_file(Me.path + '/ui/SettingsPosition.ui'); let pagePosition = this._builder.get_object('position'); window.add(pagePosition); diff --git a/ui/AnimateAppIconHoverOptions.ui b/ui/AnimateAppIconHoverOptions.ui new file mode 100644 index 0000000..28f7ad1 --- /dev/null +++ b/ui/AnimateAppIconHoverOptions.ui @@ -0,0 +1,296 @@ + + + + + + + 0 + 300 + 1 + 5 + + + + -30 + 30 + 1 + 5 + + + + 0 + 100 + 1 + 5 + + + + 100 + 250 + 1 + 5 + + + + 0 + 3 + 0.1 + 1 + + + + 1 + 10 + 0.1 + 1 + + + + True + False + vertical + 1 + 1 + + + True + True + False + + + True + False + 12 + 12 + 12 + 12 + 32 + + + True + False + True + Animation type + 0 + + + + + True + False + center + + Simple + Ripple + Plank + + + + + + + + + + True + True + False + + + True + False + 12 + 12 + 12 + 12 + 24 + 32 + + + True + False + 12 + Duration + True + 0 + end + + 0 + 0 + + + + + + True + True + end + True + animate_appicon_hover_options_duration_adjustment + 0 + 0 + right + True + + 0 + 1 + + + + + + True + False + Rotation + 0 + end + + 1 + 0 + + + + + + True + True + end + True + animate_appicon_hover_options_rotation_adjustment + 0 + 0 + right + True + + 1 + 1 + + + + + + True + False + Travel + 0 + end + + 2 + 0 + + + + + + True + True + end + True + animate_appicon_hover_options_travel_adjustment + 0 + 0 + right + True + + 2 + 1 + + + + + + True + False + Zoom + 0 + end + + 3 + 0 + + + + + + True + True + end + True + animate_appicon_hover_options_zoom_adjustment + 0 + 0 + right + True + + 3 + 1 + + + + + + True + False + Convexity + 0 + end + + 4 + 0 + + + + + + True + True + end + True + animate_appicon_hover_options_convexity_adjustment + 1 + 1 + right + True + + 4 + 1 + + + + + + True + False + Extent + 0 + end + + 5 + 0 + + + + + + True + True + end + True + animate_appicon_hover_options_extent_adjustment + 0 + 0 + right + True + + 5 + 1 + + + + + + + + + + \ No newline at end of file