diff options
author | ewew ukek <ewewukek@gmail.com> | 2024-03-20 23:59:46 +0000 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2024-03-20 23:59:46 +0000 |
commit | 6243e38c2f13754d11b750ffee069dd1542f905e (patch) | |
tree | 0b3d7bb9962df0f440515d23b79473215c272d3c /src/gui/widgets/tabs | |
parent | 4f7bcdb0af1d3f2a02f55613e851770a489d91d6 (diff) | |
download | mv-6243e38c2f13754d11b750ffee069dd1542f905e.tar.gz mv-6243e38c2f13754d11b750ffee069dd1542f905e.tar.bz2 mv-6243e38c2f13754d11b750ffee069dd1542f905e.tar.xz mv-6243e38c2f13754d11b750ffee069dd1542f905e.zip |
Color setting for attack range of monsters from ignore list
This MR displays attack range of monsters from ignore attack list in different color. I picked magenta as default, this may be changed if needed.
There are actor types other than monsters but looks like it's not possible to add them to ignore list anyway.
* Flip if branches for readability
* Color setting for attack range of monsters from ignore list
****
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r-- | src/gui/widgets/tabs/setup_colors.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/setup_colors.cpp b/src/gui/widgets/tabs/setup_colors.cpp index 3851c871d..8c8e29467 100644 --- a/src/gui/widgets/tabs/setup_colors.cpp +++ b/src/gui/widgets/tabs/setup_colors.cpp @@ -331,6 +331,7 @@ void Setup_Colors::valueChanged(const SelectionEvent &event A_UNUSED) case UserColorId::HIT_LOCAL_PLAYER_MISS: case UserColorId::ATTACK_RANGE: case UserColorId::MONSTER_ATTACK_RANGE: + case UserColorId::IGNORED_MONSTER_ATTACK_RANGE: case UserColorId::FLOOR_ITEM_TEXT: case UserColorId::SKILL_ATTACK_RANGE: mTextPreview->setShadow(false); @@ -345,6 +346,7 @@ void Setup_Colors::valueChanged(const SelectionEvent &event A_UNUSED) case UserColorId::ATTACK_RANGE: case UserColorId::ATTACK_RANGE_BORDER: case UserColorId::MONSTER_ATTACK_RANGE: + case UserColorId::IGNORED_MONSTER_ATTACK_RANGE: case UserColorId::SKILL_ATTACK_RANGE: case UserColorId::HOME_PLACE: case UserColorId::HOME_PLACE_BORDER: |