JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
juce::RenderingHelpers::SavedStateStack< StateObjectType > Class Template Reference

#include <juce_RenderingHelpers.h>

Inheritance diagram for juce::RenderingHelpers::SavedStateStack< StateObjectType >:
Collaboration diagram for juce::RenderingHelpers::SavedStateStack< StateObjectType >:

Public Member Functions

 SavedStateStack ()=default
 
 SavedStateStack (StateObjectType *initialState) noexcept
 
void beginTransparencyLayer (float opacity)
 
void endTransparencyLayer ()
 
void initialise (StateObjectType *state)
 
StateObjectType & operator* () const noexcept
 
StateObjectType * operator-> () const noexcept
 
void restore ()
 
void save ()
 

Private Attributes

std::unique_ptr< StateObjectType > currentState
 
OwnedArray< StateObjectType > stack
 

Constructor & Destructor Documentation

◆ SavedStateStack() [1/2]

template<class StateObjectType >
juce::RenderingHelpers::SavedStateStack< StateObjectType >::SavedStateStack ( StateObjectType *  initialState)
inlinenoexcept

◆ SavedStateStack() [2/2]

template<class StateObjectType >
juce::RenderingHelpers::SavedStateStack< StateObjectType >::SavedStateStack ( )
default

Member Function Documentation

◆ beginTransparencyLayer()

◆ endTransparencyLayer()

◆ initialise()

template<class StateObjectType >
void juce::RenderingHelpers::SavedStateStack< StateObjectType >::initialise ( StateObjectType *  state)
inline

◆ operator*()

template<class StateObjectType >
StateObjectType & juce::RenderingHelpers::SavedStateStack< StateObjectType >::operator* ( ) const
inlinenoexcept

◆ operator->()

template<class StateObjectType >
StateObjectType * juce::RenderingHelpers::SavedStateStack< StateObjectType >::operator-> ( ) const
inlinenoexcept

◆ restore()

◆ save()

Member Data Documentation

◆ currentState

◆ stack


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