EXT-7087 FIXED Added flashing icons for im tabs and hooked them up in code
Added new attribute image_flash to button.xml which sets an image used for button icon when button is flashing. Pointer to this image is stored in member mImageFlash from LLButton and is used in LLButton::draw(). There are two ways an image can flash now - by making changes in color according to flash_color attribute or by changing icon from current to the one specified in image_flash. Second way is used only if the name of flash icon is different from "FlashIconAbsent" which is there by default. First way is used otherwise. Used new selfmade orange icons for flashing tabs. --HG-- branch : product-engine
Showing
- indra/llui/llbutton.cpp 23 additions, 7 deletionsindra/llui/llbutton.cpp
- indra/llui/llbutton.h 8 additions, 0 deletionsindra/llui/llbutton.h
- indra/llui/lltabcontainer.cpp 7 additions, 1 deletionindra/llui/lltabcontainer.cpp
- indra/llui/lltabcontainer.h 4 additions, 1 deletionindra/llui/lltabcontainer.h
- indra/newview/skins/default/textures/containers/Toolbar_Left_Flash.png 0 additions, 0 deletions.../skins/default/textures/containers/Toolbar_Left_Flash.png
- indra/newview/skins/default/textures/containers/Toolbar_Middle_Flash.png 0 additions, 0 deletions...kins/default/textures/containers/Toolbar_Middle_Flash.png
- indra/newview/skins/default/textures/containers/Toolbar_Right_Flash.png 0 additions, 0 deletions...skins/default/textures/containers/Toolbar_Right_Flash.png
- indra/newview/skins/default/textures/textures.xml 3 additions, 0 deletionsindra/newview/skins/default/textures/textures.xml
- indra/newview/skins/default/xui/en/floater_im_container.xml 8 additions, 1 deletionindra/newview/skins/default/xui/en/floater_im_container.xml
- indra/newview/skins/default/xui/en/widgets/button.xml 1 addition, 0 deletionsindra/newview/skins/default/xui/en/widgets/button.xml
- indra/newview/skins/default/xui/en/widgets/tab_container.xml 12 additions, 3 deletionsindra/newview/skins/default/xui/en/widgets/tab_container.xml
Loading
Please register or sign in to comment