vvvv / VL.StandardLibs

A collection of standard libraries for vvvv including VL.Stride, VL.Skia, VL.ImGui, msgpack.org[VL]
https://visualprogramming.net
GNU Lesser General Public License v3.0
36 stars 14 forks source link

Replace Enum Flags with bool Inputs? #52

Closed antongit closed 1 year ago

antongit commented 2 years ago

@joreg has an Idea, that it is probably more convenient to toggle Input Pins (one for every Enum Entry) instead of Or'ing Enums. This of course relates not only to the windows, but many other widgets that has Flags. Even more: many widgets use the same Enum, but use only several of its entries and ignore other. Users have to check the documentation in order to know which Enum Entry has influence on a particular widget. By providing Input Pins for the Entries, we do the job of picking what is relevant for every widget.

This is Or'ing for a Window: image

'

antongit commented 1 year ago

@azeno and @antongit decided that it's good as is with the Enums, and should be solved by better documentation.