Skip to content
This repository has been archived by the owner on Dec 2, 2019. It is now read-only.

Add 9-patch support for skin system #874

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

carloscm
Copy link

This pull request adds 9-patch image support, meant to be used in the skin system. It adds the required types, drawing functions, style item and command. It also supports 9-patches to be specified as subimages. It mostly clones the (sub)image APIs.
There's a quick and dirty demo done on top of the dx11 example in a separate sub branch: https://github.com/carloscm/nuklear/tree/nine-patch-demo

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant