Skip to content

Add general NinePatchTexture support within all UIWidgets#1358

Merged
eruvanos merged 2 commits intodevelopmentfrom
gui/ninepatch
Oct 24, 2022
Merged

Add general NinePatchTexture support within all UIWidgets#1358
eruvanos merged 2 commits intodevelopmentfrom
gui/ninepatch

Conversation

@eruvanos
Copy link
Member

@einarf This removes the position and draw_size from the NinePatchTexture.
Right now the shader code does not allow to set some draw position, which is not a dealbreaker due to the scissor box used while rendering each widget.

Anything we should change before merging?

@eruvanos eruvanos requested a review from einarf October 21, 2022 20:40
@einarf
Copy link
Member

einarf commented Oct 22, 2022

Looks fine. I would like to have the old draw() back and support position so it can be used independenly of the gui.

If that didn't work before these changes we can fix that after merge.

@eruvanos eruvanos merged commit cbe4616 into development Oct 24, 2022
@eruvanos eruvanos deleted the gui/ninepatch branch November 1, 2022 13:48
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