Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Sun May 17, 2009 4:00 pm   

[3.07] Changed all my toggle button colors
 
Using 3.07 caused many of my toggle button's colors to change. Here's an example button:

Version 3.06
Code:
 
<button name="deathsight_ind" type="Toggle" autosize="false" width="8" height="16" toolbar="3" mousebtn="Left" toolstyle="true" transparent="false" color="darkred" textcolor="white" priority="31">
<caption>-</caption>
<expr>%iskey(@Defenses, deathsight)</expr>
<tooltip>deathsight</tooltip>
<state caption="-" mousebtn="Left" color="green"></state>
</button>


Version 3.07
Code:
<button name="deathsight_ind" type="Toggle" autosize="false" width="8" height="16" toolbar="3" toolstyle="true" color="darkred" textcolor="white" priority="31" id="1922">
  <caption>-</caption>
  <expr>%iskey(@Defenses, deathsight)</expr>
  <tooltip>deathsight</tooltip>
  <button id="1923">
    <caption>-</caption>
  </button>
</button>


They used to be either green background or red background both with white foreground. When I loaded the new version it changed the green to something else and changed the foreground to black.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon May 18, 2009 4:48 pm   
 
While it is definitely possible for this new version to not import button state colors from previous versions, there is definitely a bug regarding the XML not having the color="green" in this case.

The new version is only supposed to have problems importing colors if you previously had the "Transparent" flag enabled, but still had a different color set for the button in the button color box. Loading that file into the new version will cause the button to be colored and not transparent. There isn't any way to get around that issue because of how the Transparent option was changed/removed in this version, but I don't think this is the same as the color problem you are reporting here. So I've added this to the bug list to look into.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net