1
0

sepwnd.h 477 B

123456789101112131415161718192021222324252627
  1. #ifndef __SEPWND_H
  2. #define __SEPWND_H
  3. #include <tataki/bitmap/bitmap.h>
  4. #include <api/wnd/virtualwnd.h>
  5. #define SEP_UNKNOWN -1
  6. #define SEP_VERTICAL 0
  7. #define SEP_HORIZONTAL 1
  8. #define SEPWND_PARENT VirtualWnd
  9. class SepWnd : public VirtualWnd {
  10. public:
  11. SepWnd();
  12. ~SepWnd();
  13. virtual int onPaint(Canvas *c);
  14. virtual int setOrientation(int which);
  15. virtual int onInit();
  16. virtual void freeResources();
  17. private:
  18. SkinBitmap *bitmap;
  19. int orientation;
  20. };
  21. #endif