LMMS
Loading...
Searching...
No Matches
juce::RenderingHelpers::SavedStateStack< StateObjectType > Class Template Reference

#include <juce_RenderingHelpers.h>

Public Member Functions

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

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()

template<class StateObjectType>
void juce::RenderingHelpers::SavedStateStack< StateObjectType >::beginTransparencyLayer ( float opacity)
inline

◆ endTransparencyLayer()

template<class StateObjectType>
void juce::RenderingHelpers::SavedStateStack< StateObjectType >::endTransparencyLayer ( )
inline

◆ 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()

template<class StateObjectType>
void juce::RenderingHelpers::SavedStateStack< StateObjectType >::restore ( )
inline

◆ save()

template<class StateObjectType>
void juce::RenderingHelpers::SavedStateStack< StateObjectType >::save ( )
inline

Member Data Documentation

◆ currentState

template<class StateObjectType>
std::unique_ptr<StateObjectType> juce::RenderingHelpers::SavedStateStack< StateObjectType >::currentState
private

◆ stack

template<class StateObjectType>
OwnedArray<StateObjectType> juce::RenderingHelpers::SavedStateStack< StateObjectType >::stack
private

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