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

RAII helper that pushes terminalFont() for its lifetime. No-op when the font is missing. More...

#include <MenuTheme.hpp>

Public Member Functions

 ScopedTerminalFont ()
 ~ScopedTerminalFont ()
 ScopedTerminalFont (const ScopedTerminalFont &)=delete
ScopedTerminalFontoperator= (const ScopedTerminalFont &)=delete

Public Attributes

bool pushed = false

Detailed Description

RAII helper that pushes terminalFont() for its lifetime. No-op when the font is missing.

Constructor & Destructor Documentation

◆ ScopedTerminalFont() [1/2]

menu_theme::ScopedTerminalFont::ScopedTerminalFont ( )
Here is the caller graph for this function:

◆ ~ScopedTerminalFont()

menu_theme::ScopedTerminalFont::~ScopedTerminalFont ( )

◆ ScopedTerminalFont() [2/2]

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

Member Function Documentation

◆ operator=()

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

Member Data Documentation

◆ pushed

bool menu_theme::ScopedTerminalFont::pushed = false

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