dx::gui::device Mixes an outline presence into a device_t, mirroring the juce interface's nesting one-for-one: device::stream::pin, device::clock::samplerate, device::iosize and device::clients are nested dx::gui::item subclasses here too, each row showing its own controls inline, exactly like the juce TreeView design - the one deviation forced by wx is that every wxWindow needs its parent at construction time, so (unlike juce, which lazily makes a Component once a TreeViewItem becomes visible) device_t's own outline row cannot be built inside its constructor: the generic driver/map machinery constructs device_t itself, before any wx parent window exists. attach() below is therefore called once by the driver, once a wx parent is available, and builds the outline from that point on exactly as juce's device::update() does.
More...
#include <dx_gui_device.h>
|
| image | image {this->icon? static_cast<const std::string&>(this->icon): ""} |
| item * | outline {} |
|
| static constexpr auto | pod = true |
template<typename device_t>
class dx::gui::device< device_t >
dx::gui::device Mixes an outline presence into a device_t, mirroring the juce interface's nesting one-for-one: device::stream::pin, device::clock::samplerate, device::iosize and device::clients are nested dx::gui::item subclasses here too, each row showing its own controls inline, exactly like the juce TreeView design - the one deviation forced by wx is that every wxWindow needs its parent at construction time, so (unlike juce, which lazily makes a Component once a TreeViewItem becomes visible) device_t's own outline row cannot be built inside its constructor: the generic driver/map machinery constructs device_t itself, before any wx parent window exists. attach() below is therefore called once by the driver, once a wx parent is available, and builds the outline from that point on exactly as juce's device::update() does.
◆ super
template<typename device_t>
◆ device() [1/2]
template<typename device_t>
template<typename driver_t, typename ... type_t>
| dx::gui::device< device_t >::device |
( |
driver_t & | driver, |
|
|
decltype(super::id)& | id, |
|
|
type_t... | args ) |
|
inline |
◆ device() [2/2]
template<typename device_t>
template<typename driver_t, typename ... type_t>
| dx::gui::device< device_t >::device |
( |
driver_t & | driver, |
|
|
decltype(super::id)& | id, |
|
|
type_t... | args ) |
|
inline |
◆ addItem()
◆ addSeparator()
◆ adopt()
◆ attach()
template<typename device_t>
| void dx::gui::device< device_t >::attach |
( |
wxWindow * | parent, |
|
|
std::function< void()> && | destroy ) |
|
inline |
◆ build()
template<typename device_t>
◆ caption()
template<typename device_t>
◆ children()
◆ clearItems()
◆ content()
◆ createItemComponent()
|
|
inlineoverrideprotectedinherited |
◆ forget()
◆ launch()
template<typename device_t>
◆ update()
template<typename device_t>
◆ image
template<typename device_t>
| image dx::gui::device< device_t >::image {this->icon? static_cast<const std::string&>(this->icon): ""} |
◆ outline
template<typename device_t>
◆ pod
template<typename device_t>
The documentation for this class was generated from the following files: