WebRadioApp  0.1
_CoreCursorHit.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 _CoreCursorHit_H
28 #define _CoreCursorHit_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 /* Forward declaration of the class Core::CursorHit */
46 #ifndef _CoreCursorHit_
48 #define _CoreCursorHit_
49 #endif
50 
51 /* Forward declaration of the class Core::View */
52 #ifndef _CoreView_
53  EW_DECLARE_CLASS( CoreView )
54 #define _CoreView_
55 #endif
56 
57 
58 /* The class Core::CursorHit provides a helper object used to identify the view
59  tapped on the touch screen by the user. When the user touches the screen, the
60  framework searches for a view lying at the touched position and willing to start
61  the touch interaction. This search process is performed by the method Core::View.CursorHitTest(). */
63  EW_VARIABLE( View, CoreView )
64  EW_VARIABLE( Deviation, XInt32 )
65  EW_VARIABLE( Offset, XPoint )
67 
68 /* Virtual Method Table (VMT) for the class : 'Core::CursorHit' */
71 
72 /* The method Initialize() initializes this Core::CursorHit object with the given
73  parameter. The value offset stores an optional displacement if the user has touched
74  the view outside its boundary area. This can occur when the user tries to hit
75  a small GUI component with a thick finger. This offset value determines the number
76  of pixel to correct all cursor coordinates delivered in the following Core::CursorEvent
77  and Core::DragEvent events. In this manner the target view will receive coordinates
78  lying correctly within its boundary area. */
80  aOffset );
81 
82 #ifdef __cplusplus
83  }
84 #endif
85 
86 #endif /* _CoreCursorHit_H */
87 
88 /* Embedded Wizard */
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
CoreCursorHit
XRect CoreOutline aOutline CoreCursorHit(CoreGroup _this, XRect aArea, XInt32 aFinger, XInt32 aStrikeCount, CoreView aDedicatedView, XSet aRetargetReason) EW_METHOD(ArrangeView
EW_VARIABLE
#define EW_VARIABLE(aName, aType)
Definition: ewrte.h:464
ewgfx.h
_obj_XObject
Definition: ewrte.h:281
XInt32
signed long XInt32
Definition: ewrte.h:1586
EW_DEFINE_METHODS
#define EW_DEFINE_METHODS(aClass, aSuperClass)
Definition: ewrte.h:524
CoreCursorHit_Initialize
CoreCursorHit CoreCursorHit_Initialize(CoreCursorHit _this, CoreView aView, XPoint aOffset)
Definition: Core.c:6423
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