Fork me on GitHub
#membrane
<
2022-12-19
>
adamfrey14:12:50

Am I correct in saying there isn't a way to specify element shadows in the membrane UI model? Follow up question, mostly out of curiousity: if someone were to provide an additional membrane element type in a library, would you expect that the library would include an implementation for IDraw for all of the built-in membrane backends?

phronmophobic18:12:21

It's open data model so anyone can add a way to specify element shadows, but there's no builtin at the moment. > Follow up question, mostly out of curiousity: if someone were to provide an additional membrane element type in a library, would you expect that the library would include an implementation for IDraw for all of the built-in membrane backends? I definitely wouldn't expect libraries to include implementations for all of the membrane backends. It depends on the library's goals, but I think it's completely valid to have a library with just a single IDraw implementation (or in some cases, zero IDraw implementations).

phronmophobic18:12:28

Obviously, it's also fine to go ham and provide IDraw implementations for all the backends and even invent some new ones.

adamfrey19:12:56

For posterity, I'm assuming you meant to type "but there's nothing builtin at the moment"

phronmophobic19:12:26

whoops. Yes, that's correct.