RT1050 GUI demo using emWin library

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers DIALOG.h Source File

DIALOG.h

00001 /*********************************************************************
00002 *                SEGGER Microcontroller GmbH & Co. KG                *
00003 *        Solutions for real time microcontroller applications        *
00004 **********************************************************************
00005 *                                                                    *
00006 *        (c) 1996 - 2016  SEGGER Microcontroller GmbH & Co. KG       *
00007 *                                                                    *
00008 *        Internet: www.segger.com    Support:  support@segger.com    *
00009 *                                                                    *
00010 **********************************************************************
00011 
00012 ** emWin V5.38 - Graphical user interface for embedded applications **
00013 All  Intellectual Property rights  in the Software belongs to  SEGGER.
00014 emWin is protected by  international copyright laws.  Knowledge of the
00015 source code may not be used to write a similar product.  This file may
00016 only be used in accordance with the following terms:
00017 
00018 The software has been licensed to  NXP Semiconductors USA, Inc.  whose
00019 registered  office  is  situated  at 411 E. Plumeria Drive, San  Jose,
00020 CA 95134, USA  solely for  the  purposes  of  creating  libraries  for
00021 NXPs M0, M3/M4 and  ARM7/9 processor-based  devices,  sublicensed  and
00022 distributed under the terms and conditions of the NXP End User License
00023 Agreement.
00024 Full source code is available at: www.segger.com
00025 
00026 We appreciate your understanding and fairness.
00027 ----------------------------------------------------------------------
00028 Licensing information
00029 
00030 Licensor:                 SEGGER Microcontroller Systems LLC
00031 Licensed to:              NXP Semiconductors, 1109 McKay Dr, M/S 76, San Jose, CA 95131, USA
00032 Licensed SEGGER software: emWin
00033 License number:           GUI-00186
00034 License model:            emWin License Agreement, dated August 20th 2011
00035 Licensed product:         -
00036 Licensed platform:        NXP's ARM 7/9, Cortex-M0,M3,M4
00037 Licensed number of seats: -
00038 ----------------------------------------------------------------------
00039 File        : Dialog.h
00040 Purpose     : Dialog box include
00041 --------------------END-OF-HEADER-------------------------------------
00042 */
00043 
00044 #ifndef DIALOG_H
00045 #define DIALOG_H
00046 
00047 #include "WM.h"
00048 #include "BUTTON.h"
00049 #include "CALENDAR.h"
00050 #include "CHECKBOX.h"
00051 #include "CHOOSECOLOR.h"
00052 #include "CHOOSEFILE.h"
00053 #include "DROPDOWN.h"
00054 #include "EDIT.h"
00055 #include "FRAMEWIN.h"
00056 #include "GRAPH.h"
00057 #include "HEADER.h"
00058 #include "ICONVIEW.h"
00059 #include "IMAGE.h"
00060 #include "LISTBOX.h"
00061 #include "LISTVIEW.h"
00062 #include "LISTWHEEL.h"
00063 #include "MENU.h"
00064 #include "MULTIEDIT.h"
00065 #include "MULTIPAGE.h"
00066 #include "PROGBAR.h"
00067 #include "RADIO.h"
00068 #include "SCROLLBAR.h"
00069 #include "SLIDER.h"
00070 #include "SPINBOX.h"
00071 #include "SWIPELIST.h"
00072 #include "TEXT.h"
00073 #include "TREEVIEW.h"
00074 #include "KNOB.h"
00075 
00076 #if GUI_WINSUPPORT
00077 
00078 #if defined(__cplusplus)
00079   extern "C" {     /* Make sure we have C-declarations in C++ programs */
00080 #endif
00081 
00082 /*********************************************************************
00083 *
00084 *       WINDOW API
00085 */
00086 WM_HWIN   WINDOW_CreateEx         (int x0, int y0, int xSize, int ySize, WM_HWIN hParent, int WinFlags, int ExFlags, int Id, WM_CALLBACK * cb);
00087 WM_HWIN   WINDOW_CreateUser       (int x0, int y0, int xSize, int ySize, WM_HWIN hParent, int WinFlags, int ExFlags, int Id, WM_CALLBACK * cb, int NumExtraBytes);
00088 WM_HWIN   WINDOW_CreateIndirect   (const GUI_WIDGET_CREATE_INFO * pCreateInfo, WM_HWIN hWinParent, int x0, int y0, WM_CALLBACK * cb);
00089 GUI_COLOR WINDOW_GetDefaultBkColor(void);
00090 int       WINDOW_GetUserData      (WM_HWIN hObj, void * pDest, int NumBytes);
00091 void      WINDOW_SetBkColor       (WM_HWIN hObj, GUI_COLOR Color);
00092 void      WINDOW_SetDefaultBkColor(GUI_COLOR Color);
00093 int       WINDOW_SetUserData      (WM_HWIN hObj, const void * pSrc, int NumBytes);
00094 
00095 void WINDOW_Callback(WM_MESSAGE * pMsg);
00096 
00097 #if defined(__cplusplus)
00098   }
00099 #endif
00100 
00101 #endif  // GUI_WINSUPPORT
00102 #endif  // DIALOG_H
00103 
00104 /*************************** End of file ****************************/