Ported example STemWin_HelloWorld from STM32Cube_FW_F7_V1.3.0 Just compiled succesfully, not tested on real board.
Dependencies: BSP_DISCO_F746NG mbed
STemWin/inclib/MESSAGEBOX.h@1:d8eaa5aa6ad5, 2016-01-04 (annotated)
- Committer:
- icis4
- Date:
- Mon Jan 04 22:02:35 2016 +0000
- Revision:
- 1:d8eaa5aa6ad5
- Parent:
- 0:a53ccea9154d
main.cpp used for testing removed
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
icis4 | 0:a53ccea9154d | 1 | /********************************************************************* |
icis4 | 0:a53ccea9154d | 2 | * SEGGER Microcontroller GmbH & Co. KG * |
icis4 | 0:a53ccea9154d | 3 | * Solutions for real time microcontroller applications * |
icis4 | 0:a53ccea9154d | 4 | ********************************************************************** |
icis4 | 0:a53ccea9154d | 5 | * * |
icis4 | 0:a53ccea9154d | 6 | * (c) 1996 - 2015 SEGGER Microcontroller GmbH & Co. KG * |
icis4 | 0:a53ccea9154d | 7 | * * |
icis4 | 0:a53ccea9154d | 8 | * Internet: www.segger.com Support: support@segger.com * |
icis4 | 0:a53ccea9154d | 9 | * * |
icis4 | 0:a53ccea9154d | 10 | ********************************************************************** |
icis4 | 0:a53ccea9154d | 11 | |
icis4 | 0:a53ccea9154d | 12 | ** emWin V5.28 - Graphical user interface for embedded applications ** |
icis4 | 0:a53ccea9154d | 13 | All Intellectual Property rights in the Software belongs to SEGGER. |
icis4 | 0:a53ccea9154d | 14 | emWin is protected by international copyright laws. Knowledge of the |
icis4 | 0:a53ccea9154d | 15 | source code may not be used to write a similar product. This file may |
icis4 | 0:a53ccea9154d | 16 | only be used in accordance with the following terms: |
icis4 | 0:a53ccea9154d | 17 | |
icis4 | 0:a53ccea9154d | 18 | The software has been licensed to STMicroelectronics International |
icis4 | 0:a53ccea9154d | 19 | N.V. a Dutch company with a Swiss branch and its headquarters in Plan- |
icis4 | 0:a53ccea9154d | 20 | les-Ouates, Geneva, 39 Chemin du Champ des Filles, Switzerland for the |
icis4 | 0:a53ccea9154d | 21 | purposes of creating libraries for ARM Cortex-M-based 32-bit microcon_ |
icis4 | 0:a53ccea9154d | 22 | troller products commercialized by Licensee only, sublicensed and dis_ |
icis4 | 0:a53ccea9154d | 23 | tributed under the terms and conditions of the End User License Agree_ |
icis4 | 0:a53ccea9154d | 24 | ment supplied by STMicroelectronics International N.V. |
icis4 | 0:a53ccea9154d | 25 | Full source code is available at: www.segger.com |
icis4 | 0:a53ccea9154d | 26 | |
icis4 | 0:a53ccea9154d | 27 | We appreciate your understanding and fairness. |
icis4 | 0:a53ccea9154d | 28 | ---------------------------------------------------------------------- |
icis4 | 0:a53ccea9154d | 29 | File : MESSAGEBOX.h |
icis4 | 0:a53ccea9154d | 30 | Purpose : Message box interface |
icis4 | 0:a53ccea9154d | 31 | --------------------END-OF-HEADER------------------------------------- |
icis4 | 0:a53ccea9154d | 32 | */ |
icis4 | 0:a53ccea9154d | 33 | |
icis4 | 0:a53ccea9154d | 34 | #ifndef MESSAGEBOX_H |
icis4 | 0:a53ccea9154d | 35 | #define MESSAGEBOX_H |
icis4 | 0:a53ccea9154d | 36 | |
icis4 | 0:a53ccea9154d | 37 | #include "WM.h" |
icis4 | 0:a53ccea9154d | 38 | |
icis4 | 0:a53ccea9154d | 39 | #if GUI_WINSUPPORT |
icis4 | 0:a53ccea9154d | 40 | |
icis4 | 0:a53ccea9154d | 41 | #if defined(__cplusplus) |
icis4 | 0:a53ccea9154d | 42 | extern "C" { /* Make sure we have C-declarations in C++ programs */ |
icis4 | 0:a53ccea9154d | 43 | #endif |
icis4 | 0:a53ccea9154d | 44 | |
icis4 | 0:a53ccea9154d | 45 | WM_HWIN MESSAGEBOX_Create(const char * sMessage, const char * sCaption, int Flags); |
icis4 | 0:a53ccea9154d | 46 | |
icis4 | 0:a53ccea9154d | 47 | /********************************************************************* |
icis4 | 0:a53ccea9154d | 48 | * |
icis4 | 0:a53ccea9154d | 49 | * The callback ... |
icis4 | 0:a53ccea9154d | 50 | * |
icis4 | 0:a53ccea9154d | 51 | * Do not call it directly ! It is only to be used from within an |
icis4 | 0:a53ccea9154d | 52 | * overwritten callback. |
icis4 | 0:a53ccea9154d | 53 | */ |
icis4 | 0:a53ccea9154d | 54 | void MESSAGEBOX_Callback(WM_MESSAGE * pMsg); |
icis4 | 0:a53ccea9154d | 55 | |
icis4 | 0:a53ccea9154d | 56 | #if defined(__cplusplus) |
icis4 | 0:a53ccea9154d | 57 | } |
icis4 | 0:a53ccea9154d | 58 | #endif |
icis4 | 0:a53ccea9154d | 59 | |
icis4 | 0:a53ccea9154d | 60 | #endif /* GUI_WINSUPPORT */ |
icis4 | 0:a53ccea9154d | 61 | |
icis4 | 0:a53ccea9154d | 62 | #endif /* MESSAGEBOX */ |
icis4 | 0:a53ccea9154d | 63 |