terrarium-earth / Heracles

A tree style questing mod allowing creators to set completable quests for their users
MIT License
35 stars 19 forks source link

[Feature Request]: Replace the remaining outline/fills with 9slice textures #134

Closed sisby-folk closed 1 year ago

sisby-folk commented 1 year ago

Is your feature request related to a problem?

In order to make heracles fully themeable, many more elements currently rendered using fills and outlines need to be swapped to textures.

Solution(s)

Here's our list of easily texturable bits, before we start giving it all a go.

Definitely not exhaustive, but (to us at least) the most obvious and accessible.


Widget (Task/Reward) backgrounds and separators:

image

Two nineslices, one for the full box, one for the "box" that's from the left side to the icon separator.

This allows similar theming to the sidebar, but is compatible with the current look.

Might need a third slice for an iconless version if that's used anywhere (bordering would be too hard otherwise)


Task/Reward List Headers:

image

image

One nineslice for the full box.


Quest Summary Background:

image

5 nineslices, one for each quest state.


Task/Reward status headers:

image

Three nineslices for the "tab" (dependency+locked/available+in-progress/complete+claimed), three matching for the border-like area.


Task Widget Progress Bar:

image

Two nineslices (empty/full), possibly a third "completely full" slice.


Action buttons:

image

image

image

image

All buttons that do something immediate when you click them. Might be worth splitting out the square ones.

3 nineslices: active, inactive, hovered.


Modal Button:

image

Buttons you click to open a modal.

3 nineslices: active, inactive, hovered.


Cycle Buttons:

image

Buttons you click to cycle between available options.

3 nineslices: active, inactive, hovered.


Add Task/Reward button (AddDisplayWidget):

image

Two nineslices (normal/hovered), Two centre-blits (normal/hovered).

Describe alternatives you've considered

No response

Mod Version

1.0.5

Mod Loader Version

0.20.2

Mod Loader

No response

Additional context

No response

ThatGravyBoat commented 1 year ago

modal buttons can wait as vanilla changed them to nine slice themselves in 1.20.2

ThatGravyBoat commented 1 year ago

just vanilla looking buttons in general can wait, no need to double work that will be replaced by mojang in the next update