mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:17:44 +00:00
MasterWord: Display the last word in a different color for short input
Previously, the word was highlighted red in case it was not found in the dictionary. That color was repurposed as a general "invalid input" color to nudge the player that something was wrong with the last input. Accordingly, the field m_last_word_not_in_dictionary was renamed to m_last_word_invalid
This commit is contained in:
parent
cc5ea3aa4c
commit
1d687b0b31
2 changed files with 7 additions and 6 deletions
|
@ -56,7 +56,7 @@ private:
|
|||
size_t m_max_guesses { 6 };
|
||||
size_t m_num_letters { 5 };
|
||||
bool m_check_guesses { false };
|
||||
bool m_last_word_not_in_dictionary { false };
|
||||
bool m_last_word_invalid { false };
|
||||
static constexpr int m_letter_width { 40 };
|
||||
static constexpr int m_letter_spacing { 5 };
|
||||
static constexpr int m_outer_margin { 20 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue