vfs: check userland buffers before reading them.
[haiku.git] / src / tests / servers / app / newClipping / WinBorder.h
blobbe633ea727df3e5eda566b443881916f6f3129f4
1 #include <Region.h>
2 #include "Layer.h"
4 class WinBorder : public Layer
6 public:
7 WinBorder(BRect frame, const char* name,
8 uint32 rm, uint32 flags, rgb_color c);
9 ~WinBorder();
11 virtual void MovedByHook(float dx, float dy);
12 virtual void ResizedByHook(float dx, float dy, bool automatic);
14 private:
15 void set_decorator_region(BRect frame);
16 virtual bool alter_visible_for_children(BRegion &region);
17 virtual void get_user_regions(BRegion &reg);
19 BRegion fDecRegion;
20 bool fRebuildDecRegion;