Jamba C++ API  5.0.0
JambaViews.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018-2020 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 "StepPadView.h"
24 #include "TextEditView.h"
25 #include "TextButtonView.h"
26 #include "ScrollbarView.h"
27 #include "DiscreteButtonView.h"
28 #include "SwitchViewContainer.h"
29 #include "ParamDisplayView.h"
30 #include "ParamImageView.h"
31 #include "DebugParamDisplayView.h"
32 #include "ImageView.h"
33 
34 
36 
41 struct JambaViews : public FObject
42 {
44 
45  const ParamDisplayView::Creator fParamDisplayView{"jamba::ParamDisplay", "Jamba - Param Display (Vst & Jmb)"};
46  const ParamImageView::Creator fParamImageView{"jamba::ParamImage", "Jamba - Param Image | Value rendered as image (ex: LEDs, status, etc...) "};
47  const ImageView::Creator fImageView{"jamba::Image", "Jamba - Image | Simply renders an image (decal, sticker, logo...) "};
48  const DebugParamDisplayView::Creator fDebugParamDisplayView{"jamba::DebugParamDisplay", "Jamba - Param Display + highlight (for debug)"};
49  const ToggleButtonView::Creator fToggleButtonCreator{"jamba::ToggleButton", "Jamba - Toggle Button (on/off)"};
50  const MomentaryButtonView::Creator fMomentaryButtonCreator{"jamba::MomentaryButton", "Jamba - Momentary Button (on when pressed)"};
51  const DiscreteButtonView::Creator fDiscreteButtonCreator{"jamba::DiscreteButton", "Jamba - Discrete Button (for discrete/step properties)"};
52  const StepButtonView::Creator fStepButtonView{"jamba::StepButton", "Jamba - Step Button (+ or - discrete property)"};
53  const StepPadView::Creator fStepPadView{"jamba::StepPad", "Jamba - Step Pad (drag to change discrete property)"};
54  const TextEditView::Creator fTextEditCreator{"jamba::TextEdit", "Jamba - Text Edit (user input string)"};
55  const TextButtonView::Creator fTextButtonCreator{"jamba::TextButton", "Jamba - Text Button"};
56  const ScrollbarView::Creator fScrollbarViewCreator{"jamba::Scrollbar", "Jamba - Scrollbar"};
57  const SwitchViewContainer::Creator fSwitchViewContainerCreator{"jamba::SwitchViewContainer", "Jamba - Switch View Container (dynamic template selection)"};
58 };
59 
60 }
const StepButtonView::Creator fStepButtonView
Definition: JambaViews.h:52
const ToggleButtonView::Creator fToggleButtonCreator
Definition: JambaViews.h:49
const TextButtonView::Creator fTextButtonCreator
Definition: JambaViews.h:55
const DiscreteButtonView::Creator fDiscreteButtonCreator
Definition: JambaViews.h:51
const TextEditView::Creator fTextEditCreator
Definition: JambaViews.h:54
Defines/Registers the views exported by the framework (since jamba is a static library defining the c...
Definition: JambaViews.h:41
const StepPadView::Creator fStepPadView
Definition: JambaViews.h:53
const ScrollbarView::Creator fScrollbarViewCreator
Definition: JambaViews.h:56
const MomentaryButtonView::Creator fMomentaryButtonCreator
Definition: JambaViews.h:50
Definition: CustomController.h:24
const ParamDisplayView::Creator fParamDisplayView
Definition: JambaViews.h:45
const ParamImageView::Creator fParamImageView
Definition: JambaViews.h:46
const ImageView::Creator fImageView
Definition: JambaViews.h:47
const DebugParamDisplayView::Creator fDebugParamDisplayView
Definition: JambaViews.h:48
const SwitchViewContainer::Creator fSwitchViewContainerCreator
Definition: JambaViews.h:57