home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Skins and Design
BlueVision
Blue Vision
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="morpheus_xx" data-source="post: 1143577" data-attributes="member: 48495"><p>Update to animation question: I found an issue with "Screen.Hide" triggers, they were not fully executed, because it's duration was not calculated. This happened only for dialogs and superlayers, not normal screen changes.</p><p></p><p>Please give it a try:<strong> check out the dev branch</strong>, open Default skin:</p><ol> <li data-xf-list-type="ol">Set longer time: Consts.xaml, <ResourceWrapper x:Key="ScreenTransitionEndTime" Resource="00:00:01.00"/></li> <li data-xf-list-type="ol">Extend animation: OtherControls.xaml</li> </ol><p>It adds a translation, screen will be slid out to right side, then next one will slid back into screen</p><p>[CODE=XML] <Storyboard x:Key="ShowScreenStoryboard" FillBehavior="Stop"></p><p> <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" FillBehavior="HoldEnd" Storyboard.TargetName="ScreenAnimationElement" Storyboard.TargetProperty="Opacity"></p><p> <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/></p><p> <SplineDoubleKeyFrame KeyTime="{ThemeResource ScreenTransitionEndTime}" Value="1"/></p><p> </DoubleAnimationUsingKeyFrames></p><p> <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" FillBehavior="HoldEnd" Storyboard.TargetName="ScreenAnimationElement" Storyboard.TargetProperty="RenderTransform.Children[3].X"></p><p> <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1280"/></p><p> <SplineDoubleKeyFrame KeyTime="{ThemeResource ScreenTransitionEndTime}" Value="0"/></p><p> </DoubleAnimationUsingKeyFrames></p><p> </Storyboard></p><p></p><p> <Storyboard x:Key="HideScreenStoryboard" FillBehavior="HoldEnd"></p><p> <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" FillBehavior="HoldEnd" Storyboard.TargetName="ScreenAnimationElement" Storyboard.TargetProperty="Opacity"></p><p> <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/></p><p> <SplineDoubleKeyFrame KeyTime="{ThemeResource ScreenTransitionEndTime}" Value="0"/></p><p> </DoubleAnimationUsingKeyFrames></p><p> <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" FillBehavior="HoldEnd" Storyboard.TargetName="ScreenAnimationElement" Storyboard.TargetProperty="RenderTransform.Children[3].X"></p><p> <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/></p><p> <SplineDoubleKeyFrame KeyTime="{ThemeResource ScreenTransitionEndTime}" Value="1280"/></p><p> </DoubleAnimationUsingKeyFrames></p><p> </Storyboard></p><p>[/CODE]</p><p></p><p>Things to note:</p><ul> <li data-xf-list-type="ul">the duration of animation has big impact on feeling if GUI is "fast" or not.</li> <li data-xf-list-type="ul">Storyboard.TargetProperty="RenderTransform.Children[3].X" means the TranslateTransform, defined at 4th transform in group. You can address any other of them (Scale, Skew, Rotate, Translate)</li> </ul><p>So you have many possibilities how to modify the screen during transitions <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 1143577, member: 48495"] Update to animation question: I found an issue with "Screen.Hide" triggers, they were not fully executed, because it's duration was not calculated. This happened only for dialogs and superlayers, not normal screen changes. Please give it a try:[B] check out the dev branch[/B], open Default skin: [LIST=1] [*]Set longer time: Consts.xaml, <ResourceWrapper x:Key="ScreenTransitionEndTime" Resource="00:00:01.00"/> [*]Extend animation: OtherControls.xaml [/LIST] It adds a translation, screen will be slid out to right side, then next one will slid back into screen [CODE=XML] <Storyboard x:Key="ShowScreenStoryboard" FillBehavior="Stop"> <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" FillBehavior="HoldEnd" Storyboard.TargetName="ScreenAnimationElement" Storyboard.TargetProperty="Opacity"> <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/> <SplineDoubleKeyFrame KeyTime="{ThemeResource ScreenTransitionEndTime}" Value="1"/> </DoubleAnimationUsingKeyFrames> <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" FillBehavior="HoldEnd" Storyboard.TargetName="ScreenAnimationElement" Storyboard.TargetProperty="RenderTransform.Children[3].X"> <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1280"/> <SplineDoubleKeyFrame KeyTime="{ThemeResource ScreenTransitionEndTime}" Value="0"/> </DoubleAnimationUsingKeyFrames> </Storyboard> <Storyboard x:Key="HideScreenStoryboard" FillBehavior="HoldEnd"> <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" FillBehavior="HoldEnd" Storyboard.TargetName="ScreenAnimationElement" Storyboard.TargetProperty="Opacity"> <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/> <SplineDoubleKeyFrame KeyTime="{ThemeResource ScreenTransitionEndTime}" Value="0"/> </DoubleAnimationUsingKeyFrames> <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" FillBehavior="HoldEnd" Storyboard.TargetName="ScreenAnimationElement" Storyboard.TargetProperty="RenderTransform.Children[3].X"> <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/> <SplineDoubleKeyFrame KeyTime="{ThemeResource ScreenTransitionEndTime}" Value="1280"/> </DoubleAnimationUsingKeyFrames> </Storyboard> [/CODE] Things to note: [LIST] [*]the duration of animation has big impact on feeling if GUI is "fast" or not. [*]Storyboard.TargetProperty="RenderTransform.Children[3].X" means the TranslateTransform, defined at 4th transform in group. You can address any other of them (Scale, Skew, Rotate, Translate) [/LIST] So you have many possibilities how to modify the screen during transitions :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
BlueVision
Blue Vision
Contact us
RSS
Top
Bottom