Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help requested with creating three-frame animated start button #153

Open
Caracarn opened this issue Dec 19, 2024 · 2 comments
Open

Help requested with creating three-frame animated start button #153

Caracarn opened this issue Dec 19, 2024 · 2 comments

Comments

@Caracarn
Copy link

It's not an animated image, it's three images glued together. The styler mod doesn't support this format, but what might work is splitting it into three images, and setting the right image for each state. The different visual states of the Taskbar.TaskListButtonPanel element should help.

If you'd like to pursue this and need help, create an issue here.

@m417z

I would definitely like to give this a try, but sadly I have absolutely zero experience when it comes to working with XAML.
So I will have to rely on the help of experienced people, like yourself, to make this happen.

What I have done already is splitting the png into three images: normal, hover and pressed.

Normal:
Normal

Hover:
Hover

Pressed:
Pressed

With the right Target and Styles instructions for each of these states, it might be possible to achieve the desired result.
(Windows should allow for it, considering that Start11 supports three-frame animation for the start button.)

If succesful, this is what it should look like -

3framestart.mp4

But before pursuing this, I would value your expert opinion on how this will potentially work out.
Would it result in three different states with no transition effect? If that's going to be the case, it might not be worth the effort.

I guess I should be looking for instructions aimed at things like -

InactiveNormal
InactivePointerOver
InactivePressed
ActiveNormal
ActivePointerOver
ActivePressed

Problem is, I have no idea exactly what to look for. Let alone how to properly address it through Target and Styles.
So I'm hoping you (or others) are willing to help me out by providing the necessary instructions (Target and Styles) that I'll need for this to work.

@m417z
Copy link
Member

m417z commented Dec 19, 2024

Would it result in three different states with no transition effect?

Yes, at least with the solution I had in mind. I'm pretty sure it's possible to add fade animation, but I haven't done something like that in the past, and I'm also not familiar enough with XAML/UWP to assess how difficult would it be to to add such an animation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@Caracarn @m417z and others