mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-06 17:15:35 +00:00
Follow up to MR 126
Fill settings-default.cfg with default values as RGBA values are not intuitive for end users. Add a boolean setting to enable the formatting (disabled by default).
This commit is contained in:
parent
0d70318304
commit
ae27ad6bcd
3 changed files with 21 additions and 4 deletions
|
@ -737,6 +737,9 @@ namespace MWGui
|
|||
|
||||
void DialogueWindow::updateTopicFormat()
|
||||
{
|
||||
if (!Settings::Manager::getBool("color topic enable", "GUI"))
|
||||
return;
|
||||
|
||||
std::string specialColour = Settings::Manager::getString("color topic specific", "GUI");
|
||||
std::string oldColour = Settings::Manager::getString("color topic exhausted", "GUI");
|
||||
|
||||
|
|
|
@ -141,6 +141,15 @@ This setting can only be configured by editing the settings configuration file.
|
|||
This setting has no effect if the crosshair setting in the HUD Settings Section is false.
|
||||
This setting has no effect if the show owned setting in the Game Settings Section is false.
|
||||
|
||||
color topic enable
|
||||
------------------
|
||||
|
||||
:Type: boolean
|
||||
:Range: True/False
|
||||
:Default: False
|
||||
|
||||
Control wether additionnal formatting will be applied to dialogs topic. See 'color topic specific' and 'color topic exhausted' for details.
|
||||
|
||||
color topic specific
|
||||
--------------------
|
||||
|
||||
|
|
|
@ -202,13 +202,18 @@ color crosshair owned = 1.0 0.15 0.15 1.0
|
|||
# Controls whether Arrow keys, Movement keys, Tab/Shift-Tab and Spacebar/Enter/Activate may be used to navigate GUI buttons.
|
||||
keyboard navigation = true
|
||||
|
||||
# Apply the defined color to dialogue topic.
|
||||
color topic enable = false
|
||||
|
||||
# The color of dialogue topic keywords that gives unique actor responses
|
||||
# Format R G B A or empty for default
|
||||
color topic specific =
|
||||
# Format R G B A or empty for no special formatting
|
||||
# Default to blue
|
||||
color topic specific = 0.45 0.5 0.8 1
|
||||
|
||||
# The color of dialogue topic keywords that gives already read responses
|
||||
# Format R G B A or empty for default
|
||||
color topic exhausted =
|
||||
# Format R G B A or empty for no special formatting
|
||||
# Default to grey
|
||||
color topic exhausted = 0.3 0.3 0.3 1
|
||||
|
||||
[HUD]
|
||||
|
||||
|
|
Loading…
Reference in a new issue