spritely icon indicating copy to clipboard operation
spritely copied to clipboard

Allow Context_t to support mutliple pixel buffers

Open dfirebaugh opened this issue 6 years ago • 0 comments

It would be nice to get rid of the weirdness in the sprite selector. Currently the sprite selector is multiple contexts.

  1. a context to support sprite selection (i.e. sprite_selector_ctx )
  • this doesn't render, but it's what handles the click event and where the indicator goes.
  1. multiple contexts that render each sprite. These just happened to be positioned conveniently (i.e. sprite_selector_cells)

if Context_t could optionally support multiple pixel buffers, we could probably make this a little cleaner. Also it will help us out when we go add icons on our toolbar or if we decide to build a map editor along-side this.

Please respond here if you have any questions.

dfirebaugh avatar Oct 09 '20 05:10 dfirebaugh