Ticket #678 (new defect)

Opened 2 years ago

Last modified 18 months ago

Guichan adds hardcoded value to user setting of base_color attribute

Reported by: chewie Owned by: FIFE
Priority: normal Milestone: 0.3.5
Component: engine/core/gui Version: trunk
Severity: normal Keywords: guichan, base_color, black, mBaseColor
Cc: Blocked By:
Blocking: Time planned:
Time remaining: Time spent:

Description

Guichan has a harcoded value for base_color which it seems to always apply on the color set by the user.

As a result, you can tell guichan to e.g. set a color value of 0,0,0 (black) but you'll never get this value, as the hardcoded value (-> mBaseColor(0x808090) ) is always integrated into the formula.

This should be fixed - because I think if one sets a color, it should override any default values.

I attached a screenshot to this ticket which shows the problem. Plain FIFE background is black, the guichan container is set to base_color="0,0,0" opaque="1".

Attachments

guichan_base_color_bug.jpg Download (40.4 KB) - added by chewie 2 years ago.
screenshot showing the base_color bug of guichan (Zero client)

Change History

Changed 2 years ago by chewie

screenshot showing the base_color bug of guichan (Zero client)

comment:1 Changed 18 months ago by prock

  • Milestone changed from Proposal to 0.3.5
Note: See TracTickets for help on using tickets.