99* *
1010**********************************************************************
1111
12- ** emWin V6.36 - Graphical user interface for embedded applications **
12+ ** emWin V6.38 - Graphical user interface for embedded applications **
1313All Intellectual Property rights in the Software belongs to SEGGER.
1414emWin is protected by international copyright laws. Knowledge of the
1515source code may not be used to write a similar product. This file may
@@ -37,7 +37,7 @@ Licensed platform: STMs ARM Cortex-M based 32 BIT CPUs
3737Licensed number of seats: -
3838----------------------------------------------------------------------
3939Support and Update Agreement (SUA)
40- SUA period: 2012-12-07 - 2023 -12-31
40+ SUA period: 2012-12-07 - 2024 -12-31
4141Contact to extend SUA: sales@segger.com
4242----------------------------------------------------------------------
4343File : AppWizard.h
@@ -78,12 +78,6 @@ Purpose : Interface of AppWizard
7878 extern "C" { // Make sure we have C-declarations in C++ programs
7979#endif
8080
81- //
82- // Switching on use of APPW_ATOM in conditions.
83- // To be removed after change-over has been finished in comparison terms...
84- //
85- #define USE_ATOM 1
86-
8781/*####################################################################
8882#
8983# Defines & enums
@@ -457,6 +451,7 @@ enum {
457451 /* 6 */ APPW_JOB_SETCOORD , // (pPara + 0)->v - Value
458452 // (pPara + 1)->v - Index of coordinate
459453 /* 7 */ APPW_JOB_SETCOLOR , // (pPara + 0)->v - Color to be used
454+ // (pPara + 1)->v - Index of color
460455 /* 8 */ APPW_JOB_SETBKCOLOR , // (pPara + 0)->v - BkColor to be used
461456 /* 9 */ APPW_JOB_ADDVALUE , // (pPara + 0)->v - Value to be added
462457 /* 10 */ APPW_JOB_SETVALUE , // (pPara + 0)->v - Value to be set
@@ -962,12 +957,8 @@ typedef struct {
962957* Comparison with 2 items to be compared by the given function pointer
963958*/
964959typedef struct {
965- #if USE_ATOM
966- APPW_ATOM aAtom [2 ];
967- #else
968- APPW_COMP_ITEM aElem [2 ];
969- #endif
970- int (* pFunc )(I32 v0 , I32 v1 );
960+ APPW_ATOM aAtom [2 ];
961+ int (* pFunc )(I32 v0 , I32 v1 );
971962} APPW_COND_COMP ;
972963
973964/*********************************************************************
@@ -1753,13 +1744,15 @@ WM_HWIN WM_OBJECT_TIMER_Create (APPW_DISPOSE * pDispose, WM_HWIN hParent, int Id
17531744//
17541745// AppWizard.c (private functions, not to be documented)
17551746//
1747+ int APPW__DisposeObject (WM_HWIN hWin , int Index );
17561748void APPW__EnableMove (unsigned OnOff );
17571749void APPW__EnableUntouchable (int OnOff );
1758- void APPW__SetUnTouchable (WM_HWIN hWin );
1759- void APPW__RegisterPID_Hook (void );
17601750APPW_DISPOSE * APPW__GetDispose (WM_HWIN hWin );
1761- int APPW__DisposeObject (WM_HWIN hWin , int Index );
17621751GUI_HMEM APPW__GetTextItem (int Mode , U32 Para , U16 Row , U16 Col );
1752+ void APPW__RegisterPID_Hook (void );
1753+ void APPW__SetStreamedBitmap (APPW_DRAW_OBJECT * pDraw , APPW_PARA_ITEM * pPara , GUI_BITMAPSTREAM_INFO * pInfo );
1754+ void APPW__SetStreamedBitmap_HR (APPW_DRAW_OBJECT * pDraw , APPW_PARA_ITEM * pPara , GUI_BITMAPSTREAM_INFO * pInfo );
1755+ void APPW__SetUnTouchable (WM_HWIN hWin );
17631756void APPW_CreateScroller (WM_HWIN hWin , U8 Index , int ExFlags );
17641757void APPW_CreatePersistentScreens (void );
17651758WM_HWIN APPW_CreateRoot (APPW_ROOT_INFO * pRoot , WM_HWIN hParent );
@@ -1770,7 +1763,6 @@ void APPW_DrawObject (APPW_DRAW_OBJECT * pDraw
17701763void APPW_DrawObjectAt (APPW_DRAW_OBJECT * pDraw , int xPos , int yPos );
17711764void APPW_DrawStreamedBitmapINT (const APPW_DRAW_OBJECT * pDraw , int x , int y );
17721765void APPW_DrawStreamedBitmapINT_HR (const APPW_DRAW_OBJECT * pDraw , int x , int y );
1773- void APPW_Exec (void );
17741766void APPW_GetAtomInfo (const APPW_ATOM * pAtom , APPW_ATOM_INFO * pInfo );
17751767I32 APPW_GetAtomValue (const APPW_ATOM * pAtom );
17761768APPW_ROOT_INFO * APPW_GetCurrentRootInfo (WM_HWIN hWin );
@@ -1802,9 +1794,6 @@ void APPW_SetDefaultPositionRoot (WM_HWIN hRoot);
18021794void APPW_SetFocusInfo (APPW_DRAW_FOCUS_INFO * pInfo );
18031795void APPW_SetpfInitFS (void (* pFunc )(void ));
18041796void APPW_SetpfInitText (void (* pFunc )(void ));
1805- void APPW_SetPos (WM_HWIN hItem , int xPos , int yPos );
1806- void APPW_SetStreamedBitmap (APPW_DRAW_OBJECT * pDraw , APPW_PARA_ITEM * pPara , GUI_BITMAPSTREAM_INFO * pInfo );
1807- void APPW_SetStreamedBitmap_HR (APPW_DRAW_OBJECT * pDraw , APPW_PARA_ITEM * pPara , GUI_BITMAPSTREAM_INFO * pInfo );
18081797void APPW_SetSupportFocus (U8 SupportFocus );
18091798void APPW_SetSupportScroller (U8 SupportScroller );
18101799void APPW_SetWidgetFocusable (WM_HWIN hWin , APPW_PARA_ITEM * pPara );
@@ -1816,14 +1805,18 @@ extern void (* APPW__pfInvalidateWindow)(WM_HWIN hWin);
18161805//
18171806// AppWizard.c (public functions, to be documented)
18181807//
1808+ void APPW_CalcVar (U16 IdVar );
1809+ int APPW_DoJob (U16 IdScreen , U16 IdWidget , int IdJob , APPW_PARA_ITEM * pPara );
1810+ void APPW_Exec (void );
18191811int APPW_GetFont (U16 IdScreen , U16 IdWidget , GUI_FONT * pFont , GUI_XBF_DATA * pData );
18201812int APPW_GetText (U16 IdScreen , U16 IdWidget , char * pBuffer , U32 SizeOfBuffer );
18211813int APPW_GetValue (U16 IdScreen , U16 IdWidget , int * pError );
18221814void APPW_SetCustCallback (void (* pFunc )(void ));
1815+ void APPW_SetPos (WM_HWIN hItem , int xPos , int yPos );
1816+ void APPW_SetStreamedBitmap (U16 IdScreen , U16 IdWidget , int Index , const void * pData );
1817+ void APPW_SetStreamedBitmapEx (U16 IdScreen , U16 IdWidget , int Index , const char * pFileName );
18231818int APPW_SetText (U16 IdScreen , U16 IdWidget , char * pText );
18241819int APPW_SetValue (U16 IdScreen , U16 IdWidget , int Value );
1825- int APPW_DoJob (U16 IdScreen , U16 IdWidget , int IdJob , APPW_PARA_ITEM * pPara );
1826-
18271820//
18281821// AppWizard_Action.c
18291822//
0 commit comments