It is currently Tue Jul 23, 2019 2:05 am

All times are UTC - 8 hours [ DST ]


Forum rules


Please, keep discussions on topic and in the right forum. The start menu topics go into the Classic Start Menu forum, etc. This makes it easier for people to locate topics they are looking for.
If you get a satisfactory response to your question, please mark the topic as "solved". Click the green √ button in the bottom-right of the post.



Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Mon Jun 30, 2014 5:19 pm 
Offline
User avatar

Joined: Thu Feb 21, 2013 11:04 pm
Posts: 468
So.. I have some questions

Pixels 0 & 1 are required and dont change

Pixel 2 just says number of frames in animation and how many rows of information you are using.. i'm sure never more than 1

Pixels 3-5 just name the single frame for each button state

then pixels 6+ describe transitions, and are used in pairs of pixels if a transition is defined, with the first pixel being transition info and the second pixel being the range of frames to animate... and if there is no transition defined, then its left as a single blank.. is that right?

so for example. these frames:

6 & 7 Normal to Hot
8 & 9 Hot to Normal
10 & 11 Normal to Pressed
12 & 13 Pressed to Normal
14 & 15 Hot to Pressed
16 & 17 Pressed to Hot

are ok if they are all defined as transitions...

but if we only define one type of transition, then it would be:

6 Normal to Hot (left blank)
7 Hot to Normal (left blank)
8 & 9 Normal to Pressed
10 & 11 Pressed to Normal
12 Hot to Pressed (left blank)
13 Pressed to Hot (left blank)

is that right?

and I also don't understand "Normal to Pressed"

and how is that animation different from going from normal to hot.. can you explain what the mouse is doing at that time, and how the animations are different?

thanks


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 30, 2014 5:32 pm 
Offline
User avatar

Joined: Thu Feb 21, 2013 11:04 pm
Posts: 468
Also, for the Hot to Pressed and the Pressed to Hot, it only supports one frame of animation between those two states anyway, and so is the Green value even necessary there, and must it also accompany a "Range" defined in the adjacent Pixel, or can simply one pixel be defined?

for example, in the second example above, pixel 12 is hot to pressed, and pixel 13 is pressed to hot.. if we define those, as a single frame, since no more is possible, do we still need the ranges defined in 13 & 15?, moving to Pressed to Hot to the 14th pixel?

and is Normal to Pressed also only 1 frame? and same with Pressed to Normal?


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 30, 2014 10:48 pm 
Offline
Site Admin
User avatar

Joined: Wed Jan 02, 2013 11:38 pm
Posts: 5333
No transitions are supported except between Normal and Hot. If the button is already in the Hot state, clicking with the mouse presses the button, but no frames between the two states can be played. Leave the last 4 transitions as single black pixels.


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 30, 2014 11:01 pm 
Offline
User avatar

Joined: Thu Feb 21, 2013 11:04 pm
Posts: 468
by that you mean:

6 Normal to Hot - Value Data
7 Normal to Hot - Range
8 Hot to Normal - Value Data
9 Hot to normal - Range
10 Normal to Pressed - 0R, 0G, 0B
11 Pressed to Normal - 0R, 0G, 0B
12 Hot to Pressed - 0R, 0G, 0B
13 Pressed to Hot - 0R, 0G, 0B

right?

I see now the redundancy of adding information to the Hot to Pressed and Pressed to Hot, since its already defined in pixels 4 & 5.. negating any animation or need for frames whatsoever

is there any reason the last 4 pixels can't just be left blank?


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 30, 2014 11:07 pm 
Offline
Site Admin
User avatar

Joined: Wed Jan 02, 2013 11:38 pm
Posts: 5333
While it might work to not have the last 4 pixels, they should be there for completeness. Imagine if a future version of Classic Shell (or some other software) decides to support those transitions. Then if you don't set the data to 0, your start button will become incompatible.


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 30, 2014 11:38 pm 
Offline
User avatar

Joined: Thu Feb 21, 2013 11:04 pm
Posts: 468
ok, cool , i've updated the tutorial to reflect all this.. thanks


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Exabot [Bot] and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group, Almsamim WYSIWYG Classic Shell © 2010-2016, Ivo Beltchev.
All right reserved.