aboutsummaryrefslogtreecommitdiff
path: root/Src/Wasabi/api/wnd/wndclass/sepwnd.h
blob: 60f55b72c9356615313c0dc0a802b9afa55c1e56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef __SEPWND_H
#define __SEPWND_H

#include <tataki/bitmap/bitmap.h>
#include <api/wnd/virtualwnd.h>

#define SEP_UNKNOWN   -1
#define SEP_VERTICAL   0
#define SEP_HORIZONTAL 1

#define SEPWND_PARENT VirtualWnd

class SepWnd : public VirtualWnd {
public:
  SepWnd();
  ~SepWnd();
  virtual int onPaint(Canvas *c);
  virtual int setOrientation(int which);
  virtual int onInit();
  virtual void freeResources();
private:
  SkinBitmap *bitmap;
  int orientation;
};


#endif