Marquee.h
上传用户:zbk8730
上传日期:2017-08-10
资源大小:12168k
文件大小:4k
源码类别:

uCOS

开发平台:

C/C++

  1. /*
  2. *********************************************************************************************************
  3. *                                                uC/GUI
  4. *                        Universal graphic software for embedded applications
  5. *
  6. *                       (c) Copyright 2002, Micrium Inc., Weston, FL
  7. *                       (c) Copyright 2002, SEGGER Microcontroller Systeme GmbH
  8. *
  9. *              礐/GUI is protected by international copyright laws. Knowledge of the
  10. *              source code may not be used to write a similar product. This file may
  11. *              only be used in accordance with a license and should not be redistributed
  12. *              in any way. We appreciate your understanding and fairness.
  13. *
  14. ----------------------------------------------------------------------
  15. File        : MARQUEE.H
  16. Purpose     : MARQUEE include
  17. ----------------------------------------------------------------------
  18. Version-Date---Author-Explanation
  19. ----------------------------------------------------------------------
  20. 0.00    --ALPHA--
  21. ----------------------------------------------------------------------
  22. Open items:
  23. None
  24. --------------------END-OF-HEADER-------------------------------------
  25. */
  26. #ifndef MARQUEE_H
  27. #define MARQUEE_H
  28. #include "WM.H"
  29. #if GUI_WINSUPPORT
  30. /*
  31.       *************************************************************
  32.       *                                                           *
  33.       *                 Defaults for configuration switches       *
  34.       *                                                           *
  35.       *************************************************************
  36. */
  37. /* Default for ... */
  38. /*
  39.       *************************************************************
  40.       *                                                           *
  41.       *                         Types                             *
  42.       *                                                           *
  43.       *************************************************************
  44. */
  45. typedef WM_HMEM MARQUEE_Handle;
  46. /*
  47.       *************************************************************
  48.       *                                                           *
  49.       *                 Create function(s)                        *
  50.       *                                                           *
  51.       *                   (Constructors)                          *
  52.       *                                                           *
  53.       *************************************************************
  54. */
  55. /* Note: the parameters to a create function may vary.
  56.          Some widgets may have multiple create functions */
  57. MARQUEE_Handle MARQUEE_Create( int x0, int y0,
  58.                              int xsize, int ysize, 
  59.                              int Flags);
  60. /*
  61.       *************************************************************
  62.       *                                                           *
  63.       *                 Standard member functions                 *
  64.       *                                                           *
  65.       *************************************************************
  66. */
  67. #define MARQUEE_EnableMemdev(hObj)  WM_EnableMemdev(hObj)
  68. #define MARQUEE_DisableMemdev(hObj) WM_DisableMemdev(hObj)
  69. #define MARQUEE_Delete(hObj)        WM_DeleteWindow(hObj)
  70. #define MARQUEE_Paint(hObj)         WM_Paint(hObj)
  71. /*
  72.       *************************************************************
  73.       *                                                           *
  74.       *                 Member functions                          *
  75.       *                                                           *
  76.       *************************************************************
  77. */
  78. /* Methods changing properties */
  79. void         MARQUEE_SetText     (MARQUEE_Handle hObj, const char* s);
  80. #endif   /* MARQUEE_H */
  81. #endif   /* MARQUEE_H */