-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add description widgets for pain, thirst, fatigue, weight, hunger and more #50945
Commits on Aug 28, 2021
-
widget: Add color text function support
Add several `xx_text` widget variables associated with "text color functions", which are functions in the panels.h `display` namespace returning a (text, color) pair for the description strings of the pain, hunger, thirst, fatigue, and weight attributes.
Configuration menu - View commit details
-
Copy full SHA for a14c16c - Browse repository at this point
Copy the full SHA a14c16cView commit details -
widget: pain, thirst, fatigue, weight, hunger_desc
Add phrase widgets which may be added to custom sidebar layouts or to the root layout widget.
Configuration menu - View commit details
-
Copy full SHA for f7c4d3a - Browse repository at this point
Copy the full SHA f7c4d3aView commit details -
widget: Rename style "phrase" to "text"
The word "phrase" is a little awkward; "text" fits better conceptually with "number" and "graph". Include comments on the intention of text functions vs normal widgets.
Configuration menu - View commit details
-
Copy full SHA for cb028aa - Browse repository at this point
Copy the full SHA cb028aaView commit details -
widget: Put padding after ": " instead of after label
Gives cleaner-looking results, especially when value is empty
Configuration menu - View commit details
-
Copy full SHA for c99b020 - Browse repository at this point
Copy the full SHA c99b020View commit details -
widget: Add weariness_text variable
Also add a weariness_text_color wrapper accepting a Character reference, to simplify usage, and provide a pair( std::string, nc_color ) response like its kin.
Configuration menu - View commit details
-
Copy full SHA for 0d3c2ab - Browse repository at this point
Copy the full SHA 0d3c2abView commit details -
widget: Add wielding_text and style_text vars
For showing wielded weapon and martial arts style
Configuration menu - View commit details
-
Copy full SHA for c0ed802 - Browse repository at this point
Copy the full SHA c0ed802View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f9618a - Browse repository at this point
Copy the full SHA 5f9618aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ddc7b9 - Browse repository at this point
Copy the full SHA 8ddc7b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 100aabd - Browse repository at this point
Copy the full SHA 100aabdView commit details