Skip to content

icons.hpp

file src/app/theme/icons.hpp ยท Applications

The toolbar and menu icons of the desktop application, painted in code.

Source src/app/theme/icons.hpp

themed_icon gives an icon in the colours of the current theme; make_icon paints one in any colours. Painting in code keeps the symbols sharp at every size and lets them follow the theme without image files. After Theme::changed the icons have to be requested again, as MainWindow does.

Namespaces

Namespace Description
nmeasim::app::theme The look of the desktop application: the Theme singleton with its night-bridge and daylight looks and the option to follow the desktop, and the code-painted icons.

Namespace members

Declared or defined in this file and documented on the page of their namespace.

Member Description
nmeasim::app::theme::Icon The toolbar and menu symbols.
nmeasim::app::theme::kAllIcons Every Icon value, in declaration order, for tests and for regenerating icons after a theme change.
nmeasim::app::theme::make_icon Paints an icon in the given colours.
nmeasim::app::theme::themed_icon Paints an icon in the colours of the current theme.