Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Rewrite the GUI code #23

Closed
arthurmco opened this issue Feb 13, 2020 · 1 comment
Closed

Rewrite the GUI code #23

arthurmco opened this issue Feb 13, 2020 · 1 comment
Labels
subsystem/graphical Things related to the graphical subsystem
Milestone

Comments

@arthurmco
Copy link
Owner

  • Make the GUI code better structured: As of now, it is highly hierarchied, and this is not good. Make something component instead of inheritance-based.
  • Make it prettier: Text is not centered or aligned properly, buttons are ugly,,, The GUI needs to be prettier for a videogame, after all, this is a game, not an 1990's X11 application.
  • Customizable: In the future, allow the developer and some future modder to define the control appearance in SVG.

We will continue to use Cairo to render the control, though.

@arthurmco arthurmco added the subsystem/graphical Things related to the graphical subsystem label Feb 13, 2020
@arthurmco arthurmco added this to the 0.2.0 milestone Feb 13, 2020
@arthurmco
Copy link
Owner Author

The GUI code is better structured, and we can customize a lot of things, in a better way, using a common struct that the base control uses, instead of per control

SVG is not a priority now, so we can close this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
subsystem/graphical Things related to the graphical subsystem
Projects
None yet
Development

No branches or pull requests

1 participant