C7-Game / Prototype

An early-stage, open-source 4X strategy game
https://c7-game.github.io/
MIT License
35 stars 11 forks source link

Create a styled button scene #177

Open WildWeazel opened 2 years ago

WildWeazel commented 2 years ago

Create a simple scene to render a styled button with text as used in the main menu, in-game menus, etc and replace those instances. The scene should have a state (default/hover/click) and associated textures, text label, and Action, and functions to set each from a script or via the editor.

QuintillusCFC commented 2 years ago

We sort of already have this, in MainMenuTheme.tres, and C7Theme.tres. They aren't fully complete, though, and notably they are not used on the Open dialog.

We probably should be more precise about the goals for this issue; I think making progress towards filling out our existing themes (or adding a new one to an area where it's missing, e.g. the Open dialog) would be better than a demo scene for themes at this point.