Element

Element The Element serves as the base structure for all FeatherGUI controls. It is also where the C++ API defines all of it’s functions, so in C++, other controls overload the -> operator to automatically convert to the base fgElement* pointer for easy access to the API functions. This compensates for the fact that the C++ API cannot use proper inheritance without breaking the C API interop. fgElement provides the default implementation for a message, if there is any, otherwise it will reject the message by returning 0.

More ›