#include <juce_RenderingHelpers.h>


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 |
|
inlinenoexcept |
|
default |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
References juce::RenderingHelpers::SavedStateStack< StateObjectType >::currentState, juce::OwnedArray< ObjectClass, TypeOfCriticalSectionToUse >::getLast(), jassertfalse, juce::OwnedArray< ObjectClass, TypeOfCriticalSectionToUse >::removeLast(), and juce::RenderingHelpers::SavedStateStack< StateObjectType >::stack.
Referenced by juce::RenderingHelpers::SavedStateStack< StateObjectType >::endTransparencyLayer(), and juce::RenderingHelpers::StackBasedLowLevelGraphicsContext< SavedStateType >::restoreState().
|
inline |
References juce::OwnedArray< ObjectClass, TypeOfCriticalSectionToUse >::add(), juce::RenderingHelpers::SavedStateStack< StateObjectType >::currentState, and juce::RenderingHelpers::SavedStateStack< StateObjectType >::stack.
Referenced by juce::RenderingHelpers::SavedStateStack< StateObjectType >::beginTransparencyLayer(), and juce::RenderingHelpers::StackBasedLowLevelGraphicsContext< SavedStateType >::saveState().
|
private |
Referenced by juce::RenderingHelpers::SavedStateStack< StateObjectType >::beginTransparencyLayer(), juce::RenderingHelpers::SavedStateStack< StateObjectType >::endTransparencyLayer(), juce::RenderingHelpers::SavedStateStack< StateObjectType >::initialise(), juce::RenderingHelpers::SavedStateStack< StateObjectType >::operator*(), juce::RenderingHelpers::SavedStateStack< StateObjectType >::operator->(), juce::RenderingHelpers::SavedStateStack< StateObjectType >::restore(), and juce::RenderingHelpers::SavedStateStack< StateObjectType >::save().
|
private |