STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
Eclipse_WS2
STM32F769IDiscovery
Middlewares
ST
STemWin
inc
WM_GUI.h
Go to the documentation of this file.
1
/*********************************************************************
2
* SEGGER Microcontroller GmbH & Co. KG *
3
* Solutions for real time microcontroller applications *
4
**********************************************************************
5
* *
6
* (c) 1996 - 2015 SEGGER Microcontroller GmbH & Co. KG *
7
* *
8
* Internet: www.segger.com Support: support@segger.com *
9
* *
10
**********************************************************************
11
12
** emWin V5.28 - Graphical user interface for embedded applications **
13
All Intellectual Property rights in the Software belongs to SEGGER.
14
emWin is protected by international copyright laws. Knowledge of the
15
source code may not be used to write a similar product. This file may
16
only be used in accordance with the following terms:
17
18
The software has been licensed to STMicroelectronics International
19
N.V. a Dutch company with a Swiss branch and its headquarters in Plan-
20
les-Ouates, Geneva, 39 Chemin du Champ des Filles, Switzerland for the
21
purposes of creating libraries for ARM Cortex-M-based 32-bit microcon_
22
troller products commercialized by Licensee only, sublicensed and dis_
23
tributed under the terms and conditions of the End User License Agree_
24
ment supplied by STMicroelectronics International N.V.
25
Full source code is available at: www.segger.com
26
27
We appreciate your understanding and fairness.
28
----------------------------------------------------------------------
29
File : WM_GUI.h
30
Purpose : Windows manager include for low level GUI routines
31
----------------------------------------------------------------------
32
*/
33
34
#ifndef WM_GUI_H
/* Make sure we only include it once */
35
#define WM_GUI_H
36
37
#if defined(__cplusplus)
38
extern
"C"
{
/* Make sure we have C-declarations in C++ programs */
39
#endif
40
41
int
WM__InitIVRSearch
(
const
GUI_RECT
* pMaxRect);
42
int
WM__GetNextIVR
(
void
);
43
int
WM__GetOrgX_AA
(
void
);
44
int
WM__GetOrgY_AA
(
void
);
45
46
#define WM_ITERATE_START(pRect) \
47
{ \
48
if (WM__InitIVRSearch(pRect)) \
49
do {
50
51
#define WM_ITERATE_END() \
52
} while (WM__GetNextIVR()); \
53
}
54
55
#define WM_ADDORGX(x) (x += GUI_pContext->xOff)
56
#define WM_ADDORGY(y) (y += GUI_pContext->yOff)
57
#define WM_ADDORG(x0,y0) WM_ADDORGX(x0); WM_ADDORGY(y0)
58
#define WM_ADDORGX_AA(x) (x += WM__GetOrgX_AA())
59
#define WM_ADDORGY_AA(y) (y += WM__GetOrgY_AA())
60
#define WM_ADDORG_AA(x0,y0) WM_ADDORGX_AA(x0); WM_ADDORGY_AA(y0)
61
#define WM_SUBORGX(x) (x -= GUI_pContext->xOff)
62
#define WM_SUBORGY(y) (y -= GUI_pContext->yOff)
63
#define WM_SUBORG(x0,y0) WM_SUBORGX(x0); WM_SUBORGY(y0)
64
65
#if defined(__cplusplus)
66
}
67
#endif
68
69
70
#endif
/* Avoid multiple inclusion */
71
72
/*************************** End of file ****************************/
WM__GetOrgX_AA
int WM__GetOrgX_AA(void)
LCD_RECT
Definition:
LCD.h:102
WM__InitIVRSearch
int WM__InitIVRSearch(const GUI_RECT *pMaxRect)
WM__GetNextIVR
int WM__GetNextIVR(void)
WM__GetOrgY_AA
int WM__GetOrgY_AA(void)
Generated by
1.8.11