WebRadioApp  0.1
_ApplicationVUMeter.h
Go to the documentation of this file.
1 /*******************************************************************************
2 *
3 * E M B E D D E D W I Z A R D P R O J E C T
4 *
5 * Copyright (c) TARA Systems GmbH
6 * written by Paul Banach and Manfred Schweyer
7 *
8 ********************************************************************************
9 *
10 * This file was generated automatically by Embedded Wizard Studio.
11 *
12 * Please do not make any modifications of this file! The modifications are lost
13 * when the file is generated again by Embedded Wizard Studio!
14 *
15 * The template of this heading text can be found in the file 'head.ewt' in the
16 * directory 'Platforms' of your Embedded Wizard installation directory. If you
17 * wish to adapt this text, please copy the template file 'head.ewt' into your
18 * project directory and edit the copy only. Please avoid any modifications of
19 * the original template file!
20 *
21 * Version : 10.00
22 * Profile : STM32H747
23 * Platform : STM.STM32.RGB565
24 *
25 *******************************************************************************/
26 
27 #ifndef _ApplicationVUMeter_H
28 #define _ApplicationVUMeter_H
29 
30 #ifdef __cplusplus
31  extern "C"
32  {
33 #endif
34 
35 #include "ewrte.h"
36 #if EW_RTE_VERSION != 0x000A0000
37  #error Wrong version of Embedded Wizard Runtime Environment.
38 #endif
39 
40 #include "ewgfx.h"
41 #if EW_GFX_VERSION != 0x000A0000
42  #error Wrong version of Embedded Wizard Graphics Engine.
43 #endif
44 
45 #include "_CoreGroup.h"
46 #include "_WidgetSetGauge.h"
47 
48 /* Forward declaration of the class Application::VUMeter */
49 #ifndef _ApplicationVUMeter_
50  EW_DECLARE_CLASS( ApplicationVUMeter )
51 #define _ApplicationVUMeter_
52 #endif
53 
54 /* Forward declaration of the class Core::DialogContext */
55 #ifndef _CoreDialogContext_
56  EW_DECLARE_CLASS( CoreDialogContext )
57 #define _CoreDialogContext_
58 #endif
59 
60 /* Forward declaration of the class Core::KeyPressHandler */
61 #ifndef _CoreKeyPressHandler_
62  EW_DECLARE_CLASS( CoreKeyPressHandler )
63 #define _CoreKeyPressHandler_
64 #endif
65 
66 /* Forward declaration of the class Core::LayoutContext */
67 #ifndef _CoreLayoutContext_
68  EW_DECLARE_CLASS( CoreLayoutContext )
69 #define _CoreLayoutContext_
70 #endif
71 
72 /* Forward declaration of the class Core::TaskQueue */
73 #ifndef _CoreTaskQueue_
74  EW_DECLARE_CLASS( CoreTaskQueue )
75 #define _CoreTaskQueue_
76 #endif
77 
78 /* Forward declaration of the class Core::View */
79 #ifndef _CoreView_
80  EW_DECLARE_CLASS( CoreView )
81 #define _CoreView_
82 #endif
83 
84 /* Forward declaration of the class Effects::Fader */
85 #ifndef _EffectsFader_
87 #define _EffectsFader_
88 #endif
89 
90 /* Forward declaration of the class Graphics::Canvas */
91 #ifndef _GraphicsCanvas_
92  EW_DECLARE_CLASS( GraphicsCanvas )
93 #define _GraphicsCanvas_
94 #endif
95 
96 
97 /* It is a component that displays a volume unit meter */
98 EW_DEFINE_FIELDS( ApplicationVUMeter, CoreGroup )
99  EW_OBJECT ( GaugeR, WidgetSetGauge )
100  EW_OBJECT ( GaugeL, WidgetSetGauge )
101 EW_END_OF_FIELDS( ApplicationVUMeter )
102 
103 /* Virtual Method Table (VMT) for the class : 'Application::VUMeter' */
104 EW_DEFINE_METHODS( ApplicationVUMeter, CoreGroup )
105  EW_METHOD( initLayoutContext, void )( CoreRectView _this, XRect aBounds, CoreOutline
106  aOutline )
107  EW_METHOD( GetRoot, CoreRoot )( CoreView _this )
108  EW_METHOD( Draw, void )( CoreGroup _this, GraphicsCanvas aCanvas,
110  EW_METHOD( HandleEvent, XObject )( CoreView _this, CoreEvent aEvent )
111  EW_METHOD( CursorHitTest, CoreCursorHit )( CoreGroup _this, XRect aArea, XInt32
112  aFinger, XInt32 aStrikeCount, CoreView aDedicatedView, XSet aRetargetReason )
113  EW_METHOD( ArrangeView, XPoint )( CoreRectView _this, XRect aBounds, XEnum
114  aFormation )
115  EW_METHOD( MoveView, void )( CoreRectView _this, XPoint aOffset, XBool
116  aFastMove )
117  EW_METHOD( GetExtent, XRect )( CoreRectView _this )
118  EW_METHOD( ChangeViewState, void )( CoreGroup _this, XSet aSetState, XSet aClearState )
119  EW_METHOD( OnSetBounds, void )( CoreGroup _this, XRect value )
120  EW_METHOD( drawContent, void )( CoreGroup _this, GraphicsCanvas aCanvas,
122  EW_METHOD( OnSetFocus, void )( CoreGroup _this, CoreView value )
123  EW_METHOD( OnSetBuffered, void )( CoreGroup _this, XBool value )
124  EW_METHOD( OnSetOpacity, void )( CoreGroup _this, XInt32 value )
125  EW_METHOD( IsDialog, XBool )( CoreGroup _this, XBool aRecursive )
126  EW_METHOD( DispatchEvent, XObject )( CoreGroup _this, CoreEvent aEvent )
127  EW_METHOD( BroadcastEvent, XObject )( CoreGroup _this, CoreEvent aEvent, XSet
128  aFilter )
129  EW_METHOD( UpdateLayout, void )( CoreGroup _this, XPoint aSize )
130  EW_METHOD( UpdateViewState, void )( CoreGroup _this, XSet aState )
131  EW_METHOD( InvalidateArea, void )( CoreGroup _this, XRect aArea )
132 EW_END_OF_METHODS( ApplicationVUMeter )
133 
134 #ifdef __cplusplus
135  }
136 #endif
137 
138 #endif /* _ApplicationVUMeter_H */
139 
140 /* Embedded Wizard */
ewrte.h
_CoreGroup.h
EW_END_OF_FIELDS
#define EW_END_OF_FIELDS(aClass)
Definition: ewrte.h:460
EW_DECLARE_CLASS
#define EW_DECLARE_CLASS(aClass)
Definition: ewrte.h:393
ewgfx.h
_obj_XObject
Definition: ewrte.h:281
aOutline
XRect CoreOutline aOutline XRect CoreOutline aOutline
Definition: _CoreQuadView.h:109
XInt32
signed long XInt32
Definition: ewrte.h:1586
value
XRect CoreOutline aOutline XPoint value
Definition: _ViewsWarpView.h:137
XBool
char XBool
Definition: ewrte.h:1592
XEnum
unsigned long XEnum
Definition: ewrte.h:1593
EW_DEFINE_METHODS
#define EW_DEFINE_METHODS(aClass, aSuperClass)
Definition: ewrte.h:524
_WidgetSetGauge.h
XRect
Definition: ewrte.h:1639
EffectsFader
EffectsFader(EffectsShowHideTransition _this) EW_METHOD(CreateRestoreFader
XSet
unsigned long XSet
Definition: ewrte.h:1594
aOpacity
XRect CoreOutline aOutline GraphicsCanvas XRect XPoint XInt32 aOpacity
Definition: _CoreOutline.h:172
aClip
XRect CoreOutline aOutline GraphicsCanvas XRect aClip
Definition: _CoreOutline.h:171
XPoint
Definition: ewrte.h:1616
aOffset
XRect CoreOutline aOutline GraphicsCanvas XRect XPoint aOffset
Definition: _CoreOutline.h:172
EW_METHOD
EW_METHOD(initLayoutContext, void)(CoreRectView _this
EW_OBJECT
#define EW_OBJECT(aName, aObjectClass)
Definition: ewrte.h:468
aCanvas
XRect CoreOutline aOutline GraphicsCanvas aCanvas
Definition: _CoreOutline.h:171
EW_END_OF_METHODS
#define EW_END_OF_METHODS(aClass)
Definition: ewrte.h:539
aBounds
XRect aBounds
Definition: _ApplicationVUMeter.h:105
aBlend
XRect CoreOutline aOutline GraphicsCanvas XRect XPoint XInt32 XBool aBlend
Definition: _CoreOutline.h:172
CoreCursorHit
XRect CoreOutline aOutline CoreCursorHit(CoreGroup _this, XRect aArea, XInt32 aFinger, XInt32 aStrikeCount, CoreView aDedicatedView, XSet aRetargetReason) EW_METHOD(ArrangeView
EW_DEFINE_FIELDS
#define EW_DEFINE_FIELDS(aClass, aSuperClass)
Definition: ewrte.h:451