* Made the BToolTip interface a bit more convenient to use when subclassing it.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32249 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2009-08-11 12:32:12 +00:00
parent 60286ab2f8
commit 5ffbab2aff
3 changed files with 57 additions and 17 deletions
+8
View File
@@ -34,6 +34,13 @@ public:
virtual void SetAlignment(BAlignment alignment);
BAlignment Alignment() const;
virtual void AttachedToWindow();
virtual void DetachedFromWindow();
protected:
bool Lock();
void Unlock();
private:
BToolTip(const BToolTip& other);
BToolTip& operator=(const BToolTip &other);
@@ -41,6 +48,7 @@ private:
void _InitData();
private:
bool fLockedLooper;
bool fIsSticky;
BPoint fRelativeLocation;
BAlignment fAlignment;