DrNoLife / Destiny-2-Solo-Enabler

Repo containing the C# and XAML code for the D2SE program. Included is also the dependency for the program, and image asset.
MIT License
327 stars 49 forks source link

Major refactoring of how styles and UI are handled. #7

Closed seb-giroux closed 3 years ago

seb-giroux commented 4 years ago

I've tried to further separate the UI logic from the Backend logic.

Button styles are now in a separate resource dictionary for cleaner code. These styles manage the colors based on their state. Therefore, there no more visual logic in the MainWindow.

I've also simplified the button style definitions.

OItherwise, some small optimization here and there, but the look & feel as well as behavior remain the exact same.

DrNoLife commented 3 years ago

Sorry for the very late reply. A lot has been going on! But I checked the program and the program still works, so I've merged the branches. 👍