WebRadioApp  0.1
_ResourcesBitmap.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 _ResourcesBitmap_H
28 #define _ResourcesBitmap_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 "_CoreResource.h"
46 
47 /* Forward declaration of the class Resources::Bitmap */
48 #ifndef _ResourcesBitmap_
49  EW_DECLARE_CLASS( ResourcesBitmap )
50 #define _ResourcesBitmap_
51 #endif
52 
53 
54 /* The class Resources::Bitmap provides the base functionality to handle bitmaps.
55  A bitmap consists of at least one frame (an image). If there are more than one
56  frame stored within the bitmap, the bitmap is called 'multi-frame'. Such multi-frame
57  bitmaps are very useful e.g. to run short video sequences.
58  This class implements a set of properties to query or change bitmap attributes.
59  For example, the property @FrameSize stores the size of a single bitmap frame
60  in pixel. The property @NoOfFrames determines how many frames are available in
61  the bitmap.
62  Usually, bitmaps are created at the design time by drag-and-drop them from the
63  Embedded Wizard Gallery into the Composer window where you are editing your GUI
64  project. The bitmap attributes will be determined in the Embedded Wizard Inspector. */
65 EW_DEFINE_FIELDS( ResourcesBitmap, CoreResource )
66  EW_VARIABLE( bitmap, XHandle )
67  EW_PROPERTY( FrameDelay, XInt32 )
68  EW_PROPERTY( NoOfFrames, XInt32 )
69  EW_PROPERTY( FrameSize, XPoint )
70  EW_VARIABLE( Mutable, XBool )
71  EW_VARIABLE( Animated, XBool )
72 EW_END_OF_FIELDS( ResourcesBitmap )
73 
74 /* Virtual Method Table (VMT) for the class : 'Resources::Bitmap' */
75 EW_DEFINE_METHODS( ResourcesBitmap, CoreResource )
76  EW_METHOD( OnSetFrameSize, void )( ResourcesBitmap _this, XPoint value )
77  EW_METHOD( Update, void )( ResourcesBitmap _this )
78 EW_END_OF_METHODS( ResourcesBitmap )
79 
80 /* 'C' function for method : 'Resources::Bitmap.Done()' */
81 void ResourcesBitmap_Done( ResourcesBitmap _this );
82 
83 /* 'C' function for method : 'Resources::Bitmap.Init()' */
84 void ResourcesBitmap_Init( ResourcesBitmap _this, XHandle aArg );
85 
86 /* 'C' function for method : 'Resources::Bitmap.OnSetFrameSize()' */
87 void ResourcesBitmap_OnSetFrameSize( ResourcesBitmap _this, XPoint value );
88 
89 /* Wrapper function for the virtual method : 'Resources::Bitmap.OnSetFrameSize()' */
90 void ResourcesBitmap__OnSetFrameSize( void* _this, XPoint value );
91 
92 /* 'C' function for method : 'Resources::Bitmap.Update()' */
93 void ResourcesBitmap_Update( ResourcesBitmap _this );
94 
95 /* Wrapper function for the virtual method : 'Resources::Bitmap.Update()' */
96 void ResourcesBitmap__Update( void* _this );
97 
98 #ifdef __cplusplus
99  }
100 #endif
101 
102 #endif /* _ResourcesBitmap_H */
103 
104 /* Embedded Wizard */
ResourcesBitmap__OnSetFrameSize
void ResourcesBitmap__OnSetFrameSize(void *_this, XPoint value)
Definition: Resources.c:163
EW_METHOD
EW_METHOD(OnSetFrameSize, void)(ResourcesBitmap _this
ewrte.h
ResourcesBitmap_Done
void ResourcesBitmap_Done(ResourcesBitmap _this)
Definition: Resources.c:95
XHandle
unsigned long XHandle
Definition: ewrte.h:291
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
aArg
XRect CoreOutline aOutline XHandle aArg
Definition: _ApplicationApplication.h:151
ResourcesBitmap__Update
void ResourcesBitmap__Update(void *_this)
Definition: Resources.c:176
_CoreResource.h
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
EW_DEFINE_METHODS
#define EW_DEFINE_METHODS(aClass, aSuperClass)
Definition: ewrte.h:524
XPoint
Definition: ewrte.h:1616
EW_PROPERTY
#define EW_PROPERTY(aName, aType)
Definition: ewrte.h:466
ResourcesBitmap_OnSetFrameSize
void ResourcesBitmap_OnSetFrameSize(ResourcesBitmap _this, XPoint value)
Definition: Resources.c:150
ResourcesBitmap_Init
void ResourcesBitmap_Init(ResourcesBitmap _this, XHandle aArg)
Definition: Resources.c:112
EW_END_OF_METHODS
#define EW_END_OF_METHODS(aClass)
Definition: ewrte.h:539
ResourcesBitmap_Update
void ResourcesBitmap_Update(ResourcesBitmap _this)
Definition: Resources.c:169
EW_DEFINE_FIELDS
#define EW_DEFINE_FIELDS(aClass, aSuperClass)
Definition: ewrte.h:451