Skip to content
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

new tool: gui/pregnancy #1267

Merged
merged 10 commits into from
Aug 13, 2024
Merged

new tool: gui/pregnancy #1267

merged 10 commits into from
Aug 13, 2024

Conversation

myk002
Copy link
Member

@myk002 myk002 commented Aug 13, 2024

productionization of #873

changes:

  • UI now dynamically enables valid widgets, e.g. disabling UI elements that don't make sense in the current state
  • if the same unit is named multiple times in the UI, the name will have the same color in all places
  • business logic significantly simplified
  • window appears off to the side so the player can more easily select units as the parents
  • automatically load the spouse if no other partner has been chosen yet
  • show whether the currently selected female is pregnant (and how long it will be before she comes to term)
  • redo layout using dividers for a cleaner look

@myk002
Copy link
Member Author

myk002 commented Aug 13, 2024

demo:
gui_pregnancy

@myk002 myk002 merged commit b410414 into DFHack:master Aug 13, 2024
10 checks passed
@myk002 myk002 deleted the myk_pregnancy branch August 13, 2024 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants