Jamba C++ API  4.1.0
JambaViews.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018-2019 pongasoft
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5  * use this file except in compliance with the License. You may obtain a copy of
6  * the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13  * License for the specific language governing permissions and limitations under
14  * the License.
15  *
16  * @author Yan Pujante
17  */
18 #pragma once
19 
20 #include "ToggleButtonView.h"
21 #include "MomentaryButtonView.h"
22 #include "StepButtonView.h"
23 #include "TextEditView.h"
24 #include "TextButtonView.h"
25 #include "ScrollbarView.h"
26 #include "DiscreteButtonView.h"
27 #include "SwitchViewContainer.h"
28 #include "ParamDisplayView.h"
29 #include "DebugParamDisplayView.h"
30 
31 
33 
38 struct JambaViews : public FObject
39 {
41 
42  const ParamDisplayView::Creator fParamDisplayView{"jamba::ParamDisplay", "Jamba - Param Display (Vst & Jmb)"};
43  const DebugParamDisplayView::Creator fDebugParamDisplayView{"jamba::DebugParamDisplay", "Jamba - Param Display + highlight (for debug)"};
44  const ToggleButtonView::Creator fToggleButtonCreator{"jamba::ToggleButton", "Jamba - Toggle Button (on/off)"};
45  const MomentaryButtonView::Creator fMomentaryButtonCreator{"jamba::MomentaryButton", "Jamba - Momentary Button (on when pressed)"};
46  const DiscreteButtonView::Creator fDiscreteButtonCreator{"jamba::DiscreteButton", "Jamba - Discrete Button (for discrete/step properties)"};
47  const StepButtonView::Creator fStepButtonView{"jamba::StepButton", "Jamba - Step Button (+ or - discrete property)"};
48  const TextEditView::Creator fTextEditCreator{"jamba::TextEdit", "Jamba - Text Edit (user input string)"};
49  const TextButtonView::Creator fTextButtonCreator{"jamba::TextButton", "Jamba - Text Button"};
50  const ScrollbarView::Creator fScrollbarViewCreator{"jamba::Scrollbar", "Jamba - Scrollbar"};
51  const SwitchViewContainer::Creator fSwitchViewContainerCreator{"jamba::SwitchViewContainer", "Jamba - Switch View Container (dynamic template selection)"};
52 };
53 
54 }
const StepButtonView::Creator fStepButtonView
Definition: JambaViews.h:47
const ToggleButtonView::Creator fToggleButtonCreator
Definition: JambaViews.h:44
const TextButtonView::Creator fTextButtonCreator
Definition: JambaViews.h:49
const DiscreteButtonView::Creator fDiscreteButtonCreator
Definition: JambaViews.h:46
const TextEditView::Creator fTextEditCreator
Definition: JambaViews.h:48
Defines/Registers the views exported by the framework (since jamba is a static library defining the c...
Definition: JambaViews.h:38
const ScrollbarView::Creator fScrollbarViewCreator
Definition: JambaViews.h:50
const MomentaryButtonView::Creator fMomentaryButtonCreator
Definition: JambaViews.h:45
Definition: CustomController.h:24
const ParamDisplayView::Creator fParamDisplayView
Definition: JambaViews.h:42
const DebugParamDisplayView::Creator fDebugParamDisplayView
Definition: JambaViews.h:43
const SwitchViewContainer::Creator fSwitchViewContainerCreator
Definition: JambaViews.h:51