diff options
author | Miguel Borges de Freitas <enen92@users.noreply.github.com> | 2022-07-05 11:50:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-05 11:50:53 +0100 |
commit | 2a7c24130a9ccfb5cbceddf98091e54455616583 (patch) | |
tree | 0f503cb8489a1b83f6636e8f9b1775482f931e6c /addons | |
parent | d6de7032f0e7848514f4e8a95f79f2a0de3f3a3a (diff) | |
parent | 0eb5294a30462f023dcf1b8b9a757aab9d347d43 (diff) |
Merge pull request #21364 from CastagnaIT/movingspeedimpl_new
[gui] Implemented movingspeed to mover/resize controls
Diffstat (limited to 'addons')
-rw-r--r-- | addons/skin.estouchy/xml/SettingsScreenCalibration.xml | 20 | ||||
-rw-r--r-- | addons/skin.estuary/xml/SettingsScreenCalibration.xml | 20 |
2 files changed, 40 insertions, 0 deletions
diff --git a/addons/skin.estouchy/xml/SettingsScreenCalibration.xml b/addons/skin.estouchy/xml/SettingsScreenCalibration.xml index cae08c39d8..0a425f3178 100644 --- a/addons/skin.estouchy/xml/SettingsScreenCalibration.xml +++ b/addons/skin.estouchy/xml/SettingsScreenCalibration.xml @@ -47,6 +47,12 @@ <height>128</height> <texturefocus>calibrate_top.png</texturefocus> <texturenofocus colordiffuse="grey3">calibrate_top.png</texturenofocus> + <movingspeed acceleration="180" maxvelocity="300" resettimeout="200" delta="1"> + <eventconfig type="up" /> + <eventconfig type="down" /> + <eventconfig type="left" /> + <eventconfig type="right" /> + </movingspeed> </control> <control type="mover" id="9"> <description>right bottom mover</description> @@ -56,6 +62,12 @@ <height>128</height> <texturefocus>calibrate_bottom.png</texturefocus> <texturenofocus colordiffuse="grey3">calibrate_bottom.png</texturenofocus> + <movingspeed acceleration="180" maxvelocity="300" resettimeout="200" delta="1"> + <eventconfig type="up" /> + <eventconfig type="down" /> + <eventconfig type="left" /> + <eventconfig type="right" /> + </movingspeed> </control> <control type="resize" id="11"> <description>pixel aspect ratio box</description> @@ -65,6 +77,10 @@ <height>500</height> <texturefocus>calibrate_aspect.png</texturefocus> <texturenofocus colordiffuse="grey3">calibrate_aspect.png</texturenofocus> + <movingspeed acceleration="140" maxvelocity="300" resettimeout="180" delta="1"> + <eventconfig type="left" /> + <eventconfig type="right" /> + </movingspeed> </control> <control type="mover" id="10"> <description>subtitle position mover</description> @@ -75,6 +91,10 @@ <!-- NOTE: The image must have 40px of trasparent on top and bottom the bar --> <texturefocus>calibrate_subtitles.png</texturefocus> <texturenofocus colordiffuse="grey3">calibrate_subtitles.png</texturenofocus> + <movingspeed acceleration="180" maxvelocity="300" resettimeout="200" delta="1"> + <eventconfig type="up" /> + <eventconfig type="down" /> + </movingspeed> </control> <control type="mover" id="12"> <description>reset calibration</description> diff --git a/addons/skin.estuary/xml/SettingsScreenCalibration.xml b/addons/skin.estuary/xml/SettingsScreenCalibration.xml index f7f661b203..7aed03f6cd 100644 --- a/addons/skin.estuary/xml/SettingsScreenCalibration.xml +++ b/addons/skin.estuary/xml/SettingsScreenCalibration.xml @@ -11,6 +11,12 @@ <height>128</height> <texturefocus colordiffuse="button_focus">calibrate/cal_tl.png</texturefocus> <texturenofocus>calibrate/cal_tl.png</texturenofocus> + <movingspeed acceleration="180" maxvelocity="300" resettimeout="200" delta="1"> + <eventconfig type="up" /> + <eventconfig type="down" /> + <eventconfig type="left" /> + <eventconfig type="right" /> + </movingspeed> </control> <control type="mover" id="9"> <description>right bottom mover</description> @@ -20,6 +26,12 @@ <height>128</height> <texturefocus colordiffuse="button_focus">calibrate/cal_br.png</texturefocus> <texturenofocus>calibrate/cal_br.png</texturenofocus> + <movingspeed acceleration="180" maxvelocity="300" resettimeout="200" delta="1"> + <eventconfig type="up" /> + <eventconfig type="down" /> + <eventconfig type="left" /> + <eventconfig type="right" /> + </movingspeed> </control> <control type="resize" id="11"> <description>pixel aspect ratio</description> @@ -29,6 +41,10 @@ <height>500</height> <texturefocus colordiffuse="button_focus">calibrate/cal_ratio.png</texturefocus> <texturenofocus>calibrate/cal_ratio.png</texturenofocus> + <movingspeed acceleration="140" maxvelocity="300" resettimeout="180" delta="1"> + <eventconfig type="left" /> + <eventconfig type="right" /> + </movingspeed> </control> <control type="mover" id="10"> <description>subtitle position mover</description> @@ -39,6 +55,10 @@ <!-- NOTE: The image must have 40px of trasparent on top and bottom the bar --> <texturefocus colordiffuse="button_focus">calibrate/cal_sub.png</texturefocus> <texturenofocus>calibrate/cal_sub.png</texturenofocus> + <movingspeed acceleration="180" maxvelocity="300" resettimeout="200" delta="1"> + <eventconfig type="up" /> + <eventconfig type="down" /> + </movingspeed> </control> <control type="mover" id="12"> <description>reset calibration</description> |