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/ICONVIEW.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 : ICONVIEW.h |
NirT | 0:c00e6c923941 | 30 | Purpose : ICONVIEW include |
NirT | 0:c00e6c923941 | 31 | --------------------END-OF-HEADER------------------------------------- |
NirT | 0:c00e6c923941 | 32 | */ |
NirT | 0:c00e6c923941 | 33 | |
NirT | 0:c00e6c923941 | 34 | #ifndef ICONVIEW_H |
NirT | 0:c00e6c923941 | 35 | #define ICONVIEW_H |
NirT | 0:c00e6c923941 | 36 | |
NirT | 0:c00e6c923941 | 37 | #include "WM.h" |
NirT | 0:c00e6c923941 | 38 | #include "DIALOG_Intern.h" /* Req. for Create indirect data structure */ |
NirT | 0:c00e6c923941 | 39 | #include "WIDGET.h" |
NirT | 0:c00e6c923941 | 40 | |
NirT | 0:c00e6c923941 | 41 | #if GUI_WINSUPPORT |
NirT | 0:c00e6c923941 | 42 | |
NirT | 0:c00e6c923941 | 43 | #if defined(__cplusplus) |
NirT | 0:c00e6c923941 | 44 | extern "C" { /* Make sure we have C-declarations in C++ programs */ |
NirT | 0:c00e6c923941 | 45 | #endif |
NirT | 0:c00e6c923941 | 46 | |
NirT | 0:c00e6c923941 | 47 | /********************************************************************* |
NirT | 0:c00e6c923941 | 48 | * |
NirT | 0:c00e6c923941 | 49 | * Defines |
NirT | 0:c00e6c923941 | 50 | * |
NirT | 0:c00e6c923941 | 51 | ********************************************************************** |
NirT | 0:c00e6c923941 | 52 | */ |
NirT | 0:c00e6c923941 | 53 | // |
NirT | 0:c00e6c923941 | 54 | // Status- and create flags |
NirT | 0:c00e6c923941 | 55 | // |
NirT | 0:c00e6c923941 | 56 | #define ICONVIEW_CF_AUTOSCROLLBAR_V (1 << 1) |
NirT | 0:c00e6c923941 | 57 | #define ICONVIEW_SF_AUTOSCROLLBAR_V ICONVIEW_CF_AUTOSCROLLBAR_V |
NirT | 0:c00e6c923941 | 58 | |
NirT | 0:c00e6c923941 | 59 | // |
NirT | 0:c00e6c923941 | 60 | // Color indices |
NirT | 0:c00e6c923941 | 61 | // |
NirT | 0:c00e6c923941 | 62 | #define ICONVIEW_CI_BK 0 |
NirT | 0:c00e6c923941 | 63 | #define ICONVIEW_CI_UNSEL 0 |
NirT | 0:c00e6c923941 | 64 | #define ICONVIEW_CI_SEL 1 |
NirT | 0:c00e6c923941 | 65 | #define ICONVIEW_CI_DISABLED 2 |
NirT | 0:c00e6c923941 | 66 | |
NirT | 0:c00e6c923941 | 67 | // |
NirT | 0:c00e6c923941 | 68 | // Icon alignment flags, horizontal |
NirT | 0:c00e6c923941 | 69 | // |
NirT | 0:c00e6c923941 | 70 | #define ICONVIEW_IA_HCENTER (0 << 0) |
NirT | 0:c00e6c923941 | 71 | #define ICONVIEW_IA_LEFT (1 << 0) |
NirT | 0:c00e6c923941 | 72 | #define ICONVIEW_IA_RIGHT (2 << 0) |
NirT | 0:c00e6c923941 | 73 | |
NirT | 0:c00e6c923941 | 74 | // |
NirT | 0:c00e6c923941 | 75 | // Icon alignment flags, vertical |
NirT | 0:c00e6c923941 | 76 | // |
NirT | 0:c00e6c923941 | 77 | #define ICONVIEW_IA_VCENTER (0 << 2) |
NirT | 0:c00e6c923941 | 78 | #define ICONVIEW_IA_BOTTOM (1 << 2) |
NirT | 0:c00e6c923941 | 79 | #define ICONVIEW_IA_TOP (2 << 2) |
NirT | 0:c00e6c923941 | 80 | |
NirT | 0:c00e6c923941 | 81 | /********************************************************************* |
NirT | 0:c00e6c923941 | 82 | * |
NirT | 0:c00e6c923941 | 83 | * Types |
NirT | 0:c00e6c923941 | 84 | * |
NirT | 0:c00e6c923941 | 85 | ********************************************************************** |
NirT | 0:c00e6c923941 | 86 | */ |
NirT | 0:c00e6c923941 | 87 | typedef WM_HMEM ICONVIEW_Handle; |
NirT | 0:c00e6c923941 | 88 | |
NirT | 0:c00e6c923941 | 89 | /********************************************************************* |
NirT | 0:c00e6c923941 | 90 | * |
NirT | 0:c00e6c923941 | 91 | * Public functions |
NirT | 0:c00e6c923941 | 92 | * |
NirT | 0:c00e6c923941 | 93 | ********************************************************************** |
NirT | 0:c00e6c923941 | 94 | */ |
NirT | 0:c00e6c923941 | 95 | ICONVIEW_Handle ICONVIEW_CreateEx (int x0, int y0, int xSize, int ySize, WM_HWIN hParent, int WinFlags, int ExFlags, int Id, int xSizeItems, int ySizeItems); |
NirT | 0:c00e6c923941 | 96 | ICONVIEW_Handle ICONVIEW_CreateUser (int x0, int y0, int xSize, int ySize, WM_HWIN hParent, int WinFlags, int ExFlags, int Id, int xSizeItems, int ySizeItems, int NumExtraBytes); |
NirT | 0:c00e6c923941 | 97 | ICONVIEW_Handle ICONVIEW_CreateIndirect(const GUI_WIDGET_CREATE_INFO * pCreateInfo, WM_HWIN hWinParent, int x0, int y0, WM_CALLBACK * cb); |
NirT | 0:c00e6c923941 | 98 | |
NirT | 0:c00e6c923941 | 99 | int ICONVIEW_AddBitmapItem (ICONVIEW_Handle hObj, const GUI_BITMAP * pBitmap, const char * pText); |
NirT | 0:c00e6c923941 | 100 | int ICONVIEW_AddStreamedBitmapItem (ICONVIEW_Handle hObj, const void * pStreamedBitmap, const char * pText); |
NirT | 0:c00e6c923941 | 101 | void ICONVIEW_DeleteItem (ICONVIEW_Handle hObj, unsigned Index); |
NirT | 0:c00e6c923941 | 102 | void ICONVIEW_EnableStreamAuto (void); |
NirT | 0:c00e6c923941 | 103 | U32 ICONVIEW_GetItemUserData (ICONVIEW_Handle hObj, int Index); |
NirT | 0:c00e6c923941 | 104 | int ICONVIEW_GetNumItems (ICONVIEW_Handle hObj); |
NirT | 0:c00e6c923941 | 105 | int ICONVIEW_GetItemText (ICONVIEW_Handle hObj, int Index, char * pBuffer, int MaxSize); |
NirT | 0:c00e6c923941 | 106 | int ICONVIEW_GetSel (ICONVIEW_Handle hObj); |
NirT | 0:c00e6c923941 | 107 | int ICONVIEW_GetUserData (ICONVIEW_Handle hObj, void * pDest, int NumBytes); |
NirT | 0:c00e6c923941 | 108 | int ICONVIEW_InsertBitmapItem (ICONVIEW_Handle hObj, const GUI_BITMAP * pBitmap, const char * pText, int Index); |
NirT | 0:c00e6c923941 | 109 | int ICONVIEW_InsertStreamedBitmapItem(ICONVIEW_Handle hObj, const void * pStreamedBitmap, const char * pText, int Index); |
NirT | 0:c00e6c923941 | 110 | int ICONVIEW_SetBitmapItem (ICONVIEW_Handle hObj, int Index, const GUI_BITMAP * pBitmap); |
NirT | 0:c00e6c923941 | 111 | void ICONVIEW_SetBkColor (ICONVIEW_Handle hObj, int Index, GUI_COLOR Color); |
NirT | 0:c00e6c923941 | 112 | void ICONVIEW_SetFont (ICONVIEW_Handle hObj, const GUI_FONT * pFont); |
NirT | 0:c00e6c923941 | 113 | void ICONVIEW_SetFrame (ICONVIEW_Handle hObj, int Coord, int Value); |
NirT | 0:c00e6c923941 | 114 | void ICONVIEW_SetItemText (ICONVIEW_Handle hObj, int Index, const char * pText); |
NirT | 0:c00e6c923941 | 115 | void ICONVIEW_SetItemUserData (ICONVIEW_Handle hObj, int Index, U32 UserData); |
NirT | 0:c00e6c923941 | 116 | void ICONVIEW_SetSel (ICONVIEW_Handle hObj, int Sel); |
NirT | 0:c00e6c923941 | 117 | void ICONVIEW_SetSpace (ICONVIEW_Handle hObj, int Coord, int Value); |
NirT | 0:c00e6c923941 | 118 | int ICONVIEW_SetStreamedBitmapItem (ICONVIEW_Handle hObj, int Index, const void * pStreamedBitmap); |
NirT | 0:c00e6c923941 | 119 | void ICONVIEW_SetIconAlign (ICONVIEW_Handle hObj, int IconAlign); |
NirT | 0:c00e6c923941 | 120 | void ICONVIEW_SetTextAlign (ICONVIEW_Handle hObj, int TextAlign); |
NirT | 0:c00e6c923941 | 121 | void ICONVIEW_SetTextColor (ICONVIEW_Handle hObj, int Index, GUI_COLOR Color); |
NirT | 0:c00e6c923941 | 122 | int ICONVIEW_SetUserData (ICONVIEW_Handle hObj, const void * pSrc, int NumBytes); |
NirT | 0:c00e6c923941 | 123 | void ICONVIEW_SetWrapMode (ICONVIEW_Handle hObj, GUI_WRAPMODE WrapMode); |
NirT | 0:c00e6c923941 | 124 | |
NirT | 0:c00e6c923941 | 125 | void ICONVIEW_Callback(WM_MESSAGE * pMsg); |
NirT | 0:c00e6c923941 | 126 | |
NirT | 0:c00e6c923941 | 127 | #if defined(__cplusplus) |
NirT | 0:c00e6c923941 | 128 | } |
NirT | 0:c00e6c923941 | 129 | #endif |
NirT | 0:c00e6c923941 | 130 | |
NirT | 0:c00e6c923941 | 131 | #endif // GUI_WINSUPPORT |
NirT | 0:c00e6c923941 | 132 | #endif // ICONVIEW_H |
NirT | 0:c00e6c923941 | 133 | |
NirT | 0:c00e6c923941 | 134 | /*************************** End of file ****************************/ |