dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::gui::looknfeel Class Reference

dx::gui::looknfeel Approximates the juce interface's dark/light colour scheme on the containers wx lets us recolour (frame/panel/splitter backgrounds, the tree, and - via colour inheritance - future field labels) without fighting native control rendering. Buttons, combo boxes, checkboxes and text fields are deliberately left to render as the platform normally would: recolouring native controls fights macOS's own dark-mode appearance, whereas juce draws every control itself and so can commit to one look on every platform. More...

#include <dx_gui_cpl.h>

Public Member Functions

void apply(::wxWindow* window) const
 looknfeel()
void update()

Public Attributes

::wxColour background
::wxColour element
::wxColour text

Detailed Description

dx::gui::looknfeel Approximates the juce interface's dark/light colour scheme on the containers wx lets us recolour (frame/panel/splitter backgrounds, the tree, and - via colour inheritance - future field labels) without fighting native control rendering. Buttons, combo boxes, checkboxes and text fields are deliberately left to render as the platform normally would: recolouring native controls fights macOS's own dark-mode appearance, whereas juce draws every control itself and so can commit to one look on every platform.

Constructor & Destructor Documentation

◆ looknfeel()

dx::gui::looknfeel::looknfeel()
inline
Here is the call graph for this function:

Member Function Documentation

◆ apply()

void dx::gui::looknfeel::apply(::wxWindow* window) const
inline
Here is the caller graph for this function:

◆ update()

void dx::gui::looknfeel::update()
inline
Here is the caller graph for this function:

Member Data Documentation

◆ background

::wxColour dx::gui::looknfeel::background

◆ element

::wxColour dx::gui::looknfeel::element

◆ text

::wxColour dx::gui::looknfeel::text

The documentation for this class was generated from the following file: