STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
TEXT_Private.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 : TEXT.h
30 Purpose : TEXT include
31 --------------------END-OF-HEADER-------------------------------------
32 */
33 
34 #ifndef TEXT_PRIVATE_H
35 #define TEXT_PRIVATE_H
36 
37 #include "TEXT.h"
38 #include "GUI_Private.h"
39 
40 #if GUI_WINSUPPORT
41 
42 /*********************************************************************
43 *
44 * Object definition
45 *
46 **********************************************************************
47 */
48 typedef struct {
49  const GUI_FONT * pFont;
50  GUI_COLOR TextColor;
51  GUI_COLOR BkColor;
52  GUI_WRAPMODE WrapMode;
53 } TEXT_PROPS;
54 
55 typedef struct {
56  WIDGET Widget;
57  TEXT_PROPS Props;
58  WM_HMEM hpText;
59  I16 Align;
60 } TEXT_OBJ;
61 
62 /*********************************************************************
63 *
64 * Macros for internal use
65 *
66 **********************************************************************
67 */
68 #if GUI_DEBUG_LEVEL >= GUI_DEBUG_LEVEL_CHECK_ALL
69  #define TEXT_INIT_ID(p) p->Widget.DebugId = TEXT_ID
70 #else
71  #define TEXT_INIT_ID(p)
72 #endif
73 
74 #if GUI_DEBUG_LEVEL >= GUI_DEBUG_LEVEL_CHECK_ALL
75  TEXT_OBJ * TEXT_LockH(TEXT_Handle h);
76  #define TEXT_LOCK_H(h) TEXT_LockH(h)
77 #else
78  #define TEXT_LOCK_H(h) (TEXT_OBJ *)GUI_LOCK_H(h)
79 #endif
80 
81 /*********************************************************************
82 *
83 * Module internal data
84 *
85 **********************************************************************
86 */
87 extern TEXT_PROPS TEXT__DefaultProps;
88 
89 #endif /* if GUI_WINSUPPORT */
90 #endif /* TEXT_PRIVATE_H */
LCD_COLOR GUI_COLOR
Definition: GUI_Type.h:50
#define I16
Definition: Global.h:56
GUI_WRAPMODE
Definition: GUI.h:696