persimmon.h 546 B

12345678910111213141516171819202122
  1. /*
  2. * File : persimmon.h
  3. * COPYRIGHT (C) 2012-2017, Shanghai Real-Thread Technology Co., Ltd
  4. *
  5. * Change Logs:
  6. * Date Author Notes
  7. * 2017-11-05 realthread the first version
  8. */
  9. #pragma once
  10. namespace Persimmon
  11. {
  12. enum RenderFlag
  13. {
  14. DrawParentBackground = 0x1, /* if it's a transparent widget, render background. */
  15. DrawChildren = 0x2, /* draw children widgets. */
  16. DrawComposed = 0x4, /* do composed render */
  17. DrawNormal = (0x1 | 0x2 | 0x4), /* normally drawing */
  18. };
  19. };