Page 1 of 1

missing 'SelectedHover' not fall back to 'SelectedNormal'

Posted: Mon Mar 14, 2011 10:06
by zaexage
according to http://cegui.org.uk/docs/current/fal_wr ... ref_sec_16,
Falagard/ToggleButton should fall back to 'SelectedNormal' if 'SelectedHover' state imagery not found.
However, if we only have 'Hover' but miss 'SelectedHover', then FalButton will accepted 'Hover', and FalToggleButton will add 'Selected' to make 'SelectedHover', which doesn't exist.

I think the doc should be updated or some minor change should be made in FalToggleButton;

Re: missing 'SelectedHover' not fall back to 'SelectedNorma

Posted: Wed Mar 16, 2011 14:41
by CrazyEddie
It should fall-back if the docs say this, so if it does not it is a bug. I have added a ticket and will look into it soon.