Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-04-27 14:34:00



Reply to topic  [ 3 posts ] 
How can I make the chat history floater opaque? 
Author Message

Joined: 2023-10-03 14:07:30
Posts: 43
Reply with quote
I tried to set another chat history floater background colour and make it totally opaque.
Changes in ChatHistoryBgColor in debug seem not to stick.
Am I looking in the wrong place?


2024-01-23 12:39:26
Profile

Joined: 2009-03-17 18:42:51
Posts: 5554
Reply with quote
Not all colours can be changed after the 'colors_base.xml' file got read by the viewer at startup: the background colours are such colours. Beside, while it is possible to change colours for some UI elements (changes only taken into account after their respective floaters get reopened), these changes (performed either via the Debug settings floater, of via the Lua SetDebugSetting() function) would only stay valid during the current viewer session (with Lua, you could yet reinstate the changes at each viewer restart via automation.lua).

To permanently change a colour in the skin you need to edit or, better, override, the skin's 'colors_base.xml' file corresponding to the skin you are using.

The recommended way to do this is to copy the colors_base.xml file from the viewer installation directory to your user settings directory, then to modify the said copy to your likings.

E.g. for the default skin, copy <viewer_installation_path>/skins/default/colors_base.xml to <user_settings_path>/skins/default/colors_base.xml (where <user_settings_path> is ~/.secondlife under Linux and %AppData%\SecondLife under Windows, for example).

Then, you can edit the "ChatHistoryBgColor" entry in the copied colors_base.xml file to change it, which would be taken into account on next viewer start.


2024-01-23 13:13:12
Profile WWW

Joined: 2023-10-03 14:07:30
Posts: 43
Reply with quote
Thank you very much!
Henri Beauchamp wrote:
Not all colours can be changed after the 'colors_base.xml' file got read by the viewer at startup: the background colours are such colours. Beside, while it is possible to change colours for some UI elements (changes only taken into account after their respective floaters get reopened), these changes (performed either via the Debug settings floater, of via the Lua SetDebugSetting() function) would only stay valid during the current viewer session (with Lua, you could yet reinstate the changes at each viewer restart via automation.lua).

To permanently change a colour in the skin you need to edit or, better, override, the skin's 'colors_base.xml' file corresponding to the skin you are using.

The recommended way to do this is to copy the colors_base.xml file from the viewer installation directory to your user settings directory, then to modify the said copy to your likings.

E.g. for the default skin, copy <viewer_installation_path>/skins/default/colors_base.xml to <user_settings_path>/skins/default/colors_base.xml (where <user_settings_path> is ~/.secondlife under Linux and %AppData%\SecondLife under Windows, for example).

Then, you can edit the "ChatHistoryBgColor" entry in the copied colors_base.xml file to change it, which would be taken into account on next viewer start.


2024-01-23 13:52:51
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 4 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.