this repository aim to make the official ST DISCO F746NG demo from STM32Cube_FW_F7_V1.2.0 working on mbed.
Dependencies: BSP_DISCO_F746NG_patch mbed-rtos mbed
patch/inc/WM_GUI.h@0:c00e6c923941, 2015-11-02 (annotated)
- Committer:
- NirT
- Date:
- Mon Nov 02 23:38:08 2015 +0000
- Revision:
- 0:c00e6c923941
Error: Incomplete type is not allowed in "patch/LwIP/src/include/lwip/dhcp.h", Line: 83, Col: 4; ; and more like this.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
NirT | 0:c00e6c923941 | 1 | /********************************************************************* |
NirT | 0:c00e6c923941 | 2 | * SEGGER Microcontroller GmbH & Co. KG * |
NirT | 0:c00e6c923941 | 3 | * Solutions for real time microcontroller applications * |
NirT | 0:c00e6c923941 | 4 | ********************************************************************** |
NirT | 0:c00e6c923941 | 5 | * * |
NirT | 0:c00e6c923941 | 6 | * (c) 1996 - 2015 SEGGER Microcontroller GmbH & Co. KG * |
NirT | 0:c00e6c923941 | 7 | * * |
NirT | 0:c00e6c923941 | 8 | * Internet: www.segger.com Support: support@segger.com * |
NirT | 0:c00e6c923941 | 9 | * * |
NirT | 0:c00e6c923941 | 10 | ********************************************************************** |
NirT | 0:c00e6c923941 | 11 | |
NirT | 0:c00e6c923941 | 12 | ** emWin V5.28 - Graphical user interface for embedded applications ** |
NirT | 0:c00e6c923941 | 13 | All Intellectual Property rights in the Software belongs to SEGGER. |
NirT | 0:c00e6c923941 | 14 | emWin is protected by international copyright laws. Knowledge of the |
NirT | 0:c00e6c923941 | 15 | source code may not be used to write a similar product. This file may |
NirT | 0:c00e6c923941 | 16 | only be used in accordance with the following terms: |
NirT | 0:c00e6c923941 | 17 | |
NirT | 0:c00e6c923941 | 18 | The software has been licensed to STMicroelectronics International |
NirT | 0:c00e6c923941 | 19 | N.V. a Dutch company with a Swiss branch and its headquarters in Plan- |
NirT | 0:c00e6c923941 | 20 | les-Ouates, Geneva, 39 Chemin du Champ des Filles, Switzerland for the |
NirT | 0:c00e6c923941 | 21 | purposes of creating libraries for ARM Cortex-M-based 32-bit microcon_ |
NirT | 0:c00e6c923941 | 22 | troller products commercialized by Licensee only, sublicensed and dis_ |
NirT | 0:c00e6c923941 | 23 | tributed under the terms and conditions of the End User License Agree_ |
NirT | 0:c00e6c923941 | 24 | ment supplied by STMicroelectronics International N.V. |
NirT | 0:c00e6c923941 | 25 | Full source code is available at: www.segger.com |
NirT | 0:c00e6c923941 | 26 | |
NirT | 0:c00e6c923941 | 27 | We appreciate your understanding and fairness. |
NirT | 0:c00e6c923941 | 28 | ---------------------------------------------------------------------- |
NirT | 0:c00e6c923941 | 29 | File : WM_GUI.h |
NirT | 0:c00e6c923941 | 30 | Purpose : Windows manager include for low level GUI routines |
NirT | 0:c00e6c923941 | 31 | ---------------------------------------------------------------------- |
NirT | 0:c00e6c923941 | 32 | */ |
NirT | 0:c00e6c923941 | 33 | |
NirT | 0:c00e6c923941 | 34 | #ifndef WM_GUI_H /* Make sure we only include it once */ |
NirT | 0:c00e6c923941 | 35 | #define WM_GUI_H |
NirT | 0:c00e6c923941 | 36 | |
NirT | 0:c00e6c923941 | 37 | #if defined(__cplusplus) |
NirT | 0:c00e6c923941 | 38 | extern "C" { /* Make sure we have C-declarations in C++ programs */ |
NirT | 0:c00e6c923941 | 39 | #endif |
NirT | 0:c00e6c923941 | 40 | |
NirT | 0:c00e6c923941 | 41 | int WM__InitIVRSearch(const GUI_RECT* pMaxRect); |
NirT | 0:c00e6c923941 | 42 | int WM__GetNextIVR (void); |
NirT | 0:c00e6c923941 | 43 | int WM__GetOrgX_AA(void); |
NirT | 0:c00e6c923941 | 44 | int WM__GetOrgY_AA(void); |
NirT | 0:c00e6c923941 | 45 | |
NirT | 0:c00e6c923941 | 46 | #define WM_ITERATE_START(pRect) \ |
NirT | 0:c00e6c923941 | 47 | { \ |
NirT | 0:c00e6c923941 | 48 | if (WM__InitIVRSearch(pRect)) \ |
NirT | 0:c00e6c923941 | 49 | do { |
NirT | 0:c00e6c923941 | 50 | |
NirT | 0:c00e6c923941 | 51 | #define WM_ITERATE_END() \ |
NirT | 0:c00e6c923941 | 52 | } while (WM__GetNextIVR()); \ |
NirT | 0:c00e6c923941 | 53 | } |
NirT | 0:c00e6c923941 | 54 | |
NirT | 0:c00e6c923941 | 55 | #define WM_ADDORGX(x) (x += GUI_pContext->xOff) |
NirT | 0:c00e6c923941 | 56 | #define WM_ADDORGY(y) (y += GUI_pContext->yOff) |
NirT | 0:c00e6c923941 | 57 | #define WM_ADDORG(x0,y0) WM_ADDORGX(x0); WM_ADDORGY(y0) |
NirT | 0:c00e6c923941 | 58 | #define WM_ADDORGX_AA(x) (x += WM__GetOrgX_AA()) |
NirT | 0:c00e6c923941 | 59 | #define WM_ADDORGY_AA(y) (y += WM__GetOrgY_AA()) |
NirT | 0:c00e6c923941 | 60 | #define WM_ADDORG_AA(x0,y0) WM_ADDORGX_AA(x0); WM_ADDORGY_AA(y0) |
NirT | 0:c00e6c923941 | 61 | #define WM_SUBORGX(x) (x -= GUI_pContext->xOff) |
NirT | 0:c00e6c923941 | 62 | #define WM_SUBORGY(y) (y -= GUI_pContext->yOff) |
NirT | 0:c00e6c923941 | 63 | #define WM_SUBORG(x0,y0) WM_SUBORGX(x0); WM_SUBORGY(y0) |
NirT | 0:c00e6c923941 | 64 | |
NirT | 0:c00e6c923941 | 65 | #if defined(__cplusplus) |
NirT | 0:c00e6c923941 | 66 | } |
NirT | 0:c00e6c923941 | 67 | #endif |
NirT | 0:c00e6c923941 | 68 | |
NirT | 0:c00e6c923941 | 69 | |
NirT | 0:c00e6c923941 | 70 | #endif /* Avoid multiple inclusion */ |
NirT | 0:c00e6c923941 | 71 | |
NirT | 0:c00e6c923941 | 72 | /*************************** End of file ****************************/ |