WebRadioApp  0.1
_CoreDragEvent.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 _CoreDragEvent_H
28 #define _CoreDragEvent_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 "_CoreEvent.h"
46 
47 /* Forward declaration of the class Core::DragEvent */
48 #ifndef _CoreDragEvent_
49  EW_DECLARE_CLASS( CoreDragEvent )
50 #define _CoreDragEvent_
51 #endif
52 
53 
54 /* The class Core::DragEvent provides a specialized event object able to deliver
55  drag events. These events are sent when the user has touched the screen and then
56  moved the finger. See the method DriveCursorMovement() of the class Core::Root.
57  The event contains information about the position where the user has tapped (@HittingPos),
58  the current position after the drag operation (@CurrentPos), the displacement
59  since the last drag event (@Offset), etc.
60  The drag events are sent together with the cursor events Core::CursorEvent. */
61 EW_DEFINE_FIELDS( CoreDragEvent, CoreEvent )
62  EW_VARIABLE( GlobalHittingPos, XPoint )
63  EW_VARIABLE( GlobalCurrentPos, XPoint )
64  EW_VARIABLE( StrikeCount, XInt32 )
65  EW_VARIABLE( HoldPeriod, XInt32 )
66  EW_VARIABLE( Offset, XPoint )
67  EW_VARIABLE( HittingPos, XPoint )
68  EW_VARIABLE( CurrentPos, XPoint )
69  EW_VARIABLE( Finger, XInt32 )
70 EW_END_OF_FIELDS( CoreDragEvent )
71 
72 /* Virtual Method Table (VMT) for the class : 'Core::DragEvent' */
73 EW_DEFINE_METHODS( CoreDragEvent, CoreEvent )
74 EW_END_OF_METHODS( CoreDragEvent )
75 
76 /* The method Initialize() simplifies the initialization of this Core::DragEvent
77  object. This method stores the given parameters in the variables of this event
78  object and returns this event object to the caller. */
79 CoreDragEvent CoreDragEvent_Initialize( CoreDragEvent _this, XInt32 aFinger, XPoint
80  aCurrentPos, XPoint aHittingPos, XPoint aOffset, XInt32 aHoldPeriod, XInt32 aSequelCount,
81  XPoint aHitOffset, XPoint aGlobalCurrentPos, XPoint aGlobalHittingPos );
82 
83 /* Wrapper function for the non virtual method : 'Core::DragEvent.Initialize()' */
84 CoreDragEvent CoreDragEvent__Initialize( void* _this, XInt32 aFinger, XPoint aCurrentPos,
85  XPoint aHittingPos, XPoint aOffset, XInt32 aHoldPeriod, XInt32 aSequelCount, XPoint
86  aHitOffset, XPoint aGlobalCurrentPos, XPoint aGlobalHittingPos );
87 
88 /* The following define announces the presence of the method Core::DragEvent.Initialize(). */
89 #define _CoreDragEvent__Initialize_
90 
91 #ifdef __cplusplus
92  }
93 #endif
94 
95 #endif /* _CoreDragEvent_H */
96 
97 /* Embedded Wizard */
_CoreEvent.h
ewrte.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
EW_VARIABLE
#define EW_VARIABLE(aName, aType)
Definition: ewrte.h:464
ewgfx.h
XInt32
signed long XInt32
Definition: ewrte.h:1586
CoreDragEvent__Initialize
CoreDragEvent CoreDragEvent__Initialize(void *_this, XInt32 aFinger, XPoint aCurrentPos, XPoint aHittingPos, XPoint aOffset, XInt32 aHoldPeriod, XInt32 aSequelCount, XPoint aHitOffset, XPoint aGlobalCurrentPos, XPoint aGlobalHittingPos)
Definition: Core.c:5533
EW_DEFINE_METHODS
#define EW_DEFINE_METHODS(aClass, aSuperClass)
Definition: ewrte.h:524
CoreDragEvent_Initialize
CoreDragEvent CoreDragEvent_Initialize(CoreDragEvent _this, XInt32 aFinger, XPoint aCurrentPos, XPoint aHittingPos, XPoint aOffset, XInt32 aHoldPeriod, XInt32 aSequelCount, XPoint aHitOffset, XPoint aGlobalCurrentPos, XPoint aGlobalHittingPos)
Definition: Core.c:5517
XPoint
Definition: ewrte.h:1616
aOffset
XRect CoreOutline aOutline GraphicsCanvas XRect XPoint aOffset
Definition: _CoreOutline.h:172
EW_END_OF_METHODS
#define EW_END_OF_METHODS(aClass)
Definition: ewrte.h:539
EW_DEFINE_FIELDS
#define EW_DEFINE_FIELDS(aClass, aSuperClass)
Definition: ewrte.h:451