Jamba  3.0.2
Types.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018 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 <vstgui4/vstgui/lib/cbitmap.h>
21 #include <vstgui4/vstgui/lib/cfont.h>
22 #include <pongasoft/Utils/Lerp.h>
23 
24 #if VSTGUI_LIVE_EDITING
25 #define EDITOR_MODE 1
26 #endif
27 
28 namespace pongasoft {
29 namespace VST {
30 namespace GUI {
31 
32 using namespace VSTGUI;
33 
34 // Defines a Bitmap types shortcut notation
35 using BitmapPtr = CBitmap *;
36 using BitmapSPtr = SharedPointer<CBitmap>;
37 
38 // Defines a Font types shortcut notation
39 using FontPtr = CFontDesc *;
40 using FontSPtr = SharedPointer<CFontDesc>;
41 
42 // Defines a Gradient types shortcut notation
43 using GradientPtr = CGradient *;
44 using GradientSPtr = SharedPointer<CGradient>;
45 
50 
51 
52 }
53 }
54 }
SharedPointer< CBitmap > BitmapSPtr
Definition: Types.h:36
Definition: Clock.h:22
CBitmap * BitmapPtr
Definition: Types.h:35
SharedPointer< CGradient > GradientSPtr
Definition: Types.h:44
SharedPointer< CFontDesc > FontSPtr
Definition: Types.h:40
CFontDesc * FontPtr
Definition: Types.h:39
CGradient * GradientPtr
Definition: Types.h:43