API Documentation
Loading...
Searching...
No Matches
TouchDesktopThemeButton Class Reference

A button for allowing the user to switch between Desktop/Touch mode which affects the size of all of the widgets and text. More...

#include <ThemeButton.h>

Inheritance diagram for TouchDesktopThemeButton:
[legend]
Collaboration diagram for TouchDesktopThemeButton:
[legend]

Public Member Functions

void invert (bool is_inverted=true)
 
void setUseLargeIcons (bool use_large_icons)
 
void themeChanged ()
 
WidgetOptions::WidgetMode themeTarget () const
 
 TouchDesktopThemeButton (WindowManager *manager, Button *button)
 

Protected Attributes

Buttonm_button
 
WidgetOptions::WidgetMode m_constant_theme = WidgetOptions::WidgetMode::e_size
 
bool m_invert = false
 
WindowManagerm_manager
 
bool m_use_large_icons = false
 

Detailed Description

A button for allowing the user to switch between Desktop/Touch mode which affects the size of all of the widgets and text.


Constructor & Destructor Documentation

◆ TouchDesktopThemeButton()

TouchDesktopThemeButton ( WindowManager * manager,
Button * button )

Member Function Documentation

◆ invert()

void invert ( bool is_inverted = true)

◆ setUseLargeIcons()

void setUseLargeIcons ( bool use_large_icons)

◆ themeChanged()

void themeChanged ( )

◆ themeTarget()

WidgetOptions::WidgetMode themeTarget ( ) const

Member Data Documentation

◆ m_button

Button* m_button
protected

◆ m_constant_theme

◆ m_invert

bool m_invert = false
protected

◆ m_manager

WindowManager* m_manager
protected

◆ m_use_large_icons

bool m_use_large_icons = false
protected

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