SamNainocard
Member
|
[Solved] Progress Bar cannot change to R to L from recent update
Quote:-Progress bar will now be displayed as vertical if its height is greater than the width
I reversed a progress bar to make it 1..0 instead of 0..1 (by swapping rect.min.x and rect.max.y, so it's like min.x=-1 and max.x=0) for my game.
Because of update, it become vertical bar instead, swapping min.y and max.y only reverse from down to top to top to down.
Swapping back color and progress color is work, however in my game I have stack up the progress bar and use background as transparent.
Can progress bar become horizontal by forced or detect if width is less than height if negative?
PS: Not sure to post on Support or Feature Request.
Thank you in advance.
(This post was last modified: 06-05-2012 06:48 PM by SamNainocard.)
|
|
06-05-2012 12:19 PM |
|
Esenthel
Administrator
|
RE: Progress Bar cannot change to R to L from recent update
I recommend you just extend the virtual draw method, and draw things manually, using Image::drawPart
|
|
06-05-2012 12:24 PM |
|
SamNainocard
Member
|
RE: Progress Bar cannot change to R to L from recent update
I see, I'll give it a try.
|
|
06-05-2012 12:30 PM |
|