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

Status bars #1348

Merged
merged 2 commits into from
Dec 26, 2023
Merged

Status bars #1348

merged 2 commits into from
Dec 26, 2023

Conversation

SJuliez
Copy link
Member

@SJuliez SJuliez commented Dec 21, 2023

This PR unifies the highly repetitive code of the various status bars into a StatusBar base class and some subclasses. The base class shows weight, BV and cost and the buttons. The subclasses show heat, slots and a few other things depending on unit type. WS and DS show no additional stuff so they directly use the base class now.

image

This PR requires MegaMek/megamek#4973

@neoancient neoancient merged commit fa3a351 into MegaMek:master Dec 26, 2023
1 of 4 checks passed
@SJuliez SJuliez deleted the status-bar-uni branch March 9, 2024 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants