View Issue Details

IDProjectCategoryView StatusLast Update
0010288MMW 5Skinning frameworkpublic2020-03-20 20:23
Reporterpeke Assigned To 
PrioritynoneSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Summary0010288: Button: Advanced State Button
DescriptionSometimes there is need to have 2 state button Like for example Play Button (PLAY, PAUSE , STOP AFTER CURRENT) or Repeat Button (On, Off, Single), Play

1. Most logical approach would be to introduce new Type within Player.ini

Player.ini type would be AdvStateButton

Skinning engine options should be similar to current.

MSKN Objects (ContinuousButton is used as example):
- ContinousButton_UP
- ContinousButton_DOWN
- ContinousButton_GRAYED (Name is used from Checked button for easier understanding)

As current ContinousButton is of StateButton Type this change require Skinner to change Type for ContinousButton. Additionally to maintain compatibility as much as possible with MMW 4.0 skins, in case that ContinousButton_GRAYED is Missing form Player.mskn ContinousButton_DOWN should be used. That way only Type should be changed to AdvStateButton within Player.ini and MMW will use it.

2. Another approach would be to upgrade StateButton Type by adding support for ContinousButton_GRAYED Object within Player.mskn where in case that object ContinousButton_GRAYED is Missing form Player.mskn ContinousButton_DOWN should be used.

I guess is that Second option is better solution for long term as skinners would not need to change anything UI Will still show that repeat is as ON, but will not show in which state until ContinousButton_GRAYED object is added in player.mskn
TagsNo tags attached.
Fixed in build

Relationships

related to 0010287 closedmichal Repeat Single Track 

Activities

There are no notes attached to this issue.