STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
GUI_ARRAY.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 : GUI_ARRAY.h
30 Purpose : Array handling routines
31 ---------------------------END-OF-HEADER------------------------------
32 */
33 
34 #ifndef GUI_ARRAY_H
35 #define GUI_ARRAY_H
36 
37 #include "WM_Intern.h"
38 
39 #if GUI_WINSUPPORT
40 
41 /*********************************************************************
42 *
43 * Public types
44 *
45 **********************************************************************
46 */
47 typedef WM_HMEM GUI_ARRAY;
48 
49 /*********************************************************************
50 *
51 * Public functions
52 *
53 **********************************************************************
54 */
55 GUI_ARRAY GUI_ARRAY_Create (void);
56 int GUI_ARRAY_AddItem (GUI_ARRAY hArray, const void * pNew, int Len);
57 void GUI_ARRAY_Delete (GUI_ARRAY hArray);
58 WM_HMEM GUI_ARRAY_GethItem (GUI_ARRAY hArray, unsigned int Index);
59 unsigned GUI_ARRAY_GetNumItems (GUI_ARRAY hArray);
60 void * GUI_ARRAY_GetpItemLocked (GUI_ARRAY hArray, unsigned int Index);
61 int GUI_ARRAY_SethItem (GUI_ARRAY hArray, unsigned int Index, WM_HMEM hItem);
62 WM_HMEM GUI_ARRAY_SetItem (GUI_ARRAY hArray, unsigned int Index, const void * pData, int Len);
63 void GUI_ARRAY_DeleteItem (GUI_ARRAY hArray, unsigned int Index);
64 char GUI_ARRAY_InsertBlankItem (GUI_ARRAY hArray, unsigned int Index);
65 WM_HMEM GUI_ARRAY_InsertItem (GUI_ARRAY hArray, unsigned int Index, int Len);
66 void * GUI_ARRAY_ResizeItemLocked(GUI_ARRAY hArray, unsigned int Index, int Len);
67 
68 #endif /* GUI_WINSUPPORT */
69 
70 #endif /* GUI_ARRAY_H */