Engauge Digitizer 2
Loading...
Searching...
No Matches
GuidelineViewStateHide.h
Go to the documentation of this file.
1/******************************************************************************************************
2 * (C) 2020 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5 ******************************************************************************************************/
6
7#ifndef GUIDELINE_VIEW_STATE_HIDE_H
8#define GUIDELINE_VIEW_STATE_HIDE_H
9
11
14{
15public:
19
20 virtual void begin ();
21 virtual void end ();
23 virtual GuidelineViewState state () const;
24
25private:
27
28};
29
30#endif // GUIDELINE_VIEW_STATE_HIDE_H
GuidelineViewState
Set of possible Guideline view states.
GuidelineViewStateContext & context() const
Context in charge of the state classes.
GuidelineViewStateAbstractBase(GuidelineViewStateContext &context)
Single constructor.
Context class for state machine that tracks the View / Guidelines mode.
virtual void handleStateChange(GuidelineViewState state)
User or software changed the current view state widgets.
GuidelineViewStateHide(GuidelineViewStateContext &context)
Single constructor.
virtual GuidelineViewState state() const
Return state for serializing.
virtual void end()
Transition out of state.
virtual void begin()
Transition into state.