group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
menu_theme::ScopedTheme Struct Reference

Temporarily replace the live menu theme and restore it when leaving scope. More...

#include <MenuTheme.hpp>

Collaboration diagram for menu_theme::ScopedTheme:
[legend]

Public Member Functions

 ScopedTheme (const ThemeSettings &theme)
 ~ScopedTheme ()
 ScopedTheme (const ScopedTheme &)=delete
ScopedThemeoperator= (const ScopedTheme &)=delete

Public Attributes

ThemeSettings previous

Detailed Description

Temporarily replace the live menu theme and restore it when leaving scope.

Constructor & Destructor Documentation

◆ ScopedTheme() [1/2]

menu_theme::ScopedTheme::ScopedTheme ( const ThemeSettings & theme)
explicit
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~ScopedTheme()

menu_theme::ScopedTheme::~ScopedTheme ( )
Here is the call graph for this function:

◆ ScopedTheme() [2/2]

menu_theme::ScopedTheme::ScopedTheme ( const ScopedTheme & )
delete
Here is the call graph for this function:

Member Function Documentation

◆ operator=()

ScopedTheme & menu_theme::ScopedTheme::operator= ( const ScopedTheme & )
delete
Here is the call graph for this function:

Member Data Documentation

◆ previous

ThemeSettings menu_theme::ScopedTheme::previous

The documentation for this struct was generated from the following files: