membrane

adamfrey 2022-12-19T14:58:50.336149Z

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?

phronmophobic 2022-12-19T18:45:21.354449Z

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).

phronmophobic 2022-12-19T18:46:28.952369Z

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

adamfrey 2022-12-19T19:11:56.278059Z

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

phronmophobic 2022-12-19T19:12:26.379129Z

whoops. Yes, that's correct.