Made _SetFocus hook function an optional function
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3921 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c73b41b97f
commit
b951412ea7
@ -551,3 +551,13 @@ click_type Decorator::Clicked(BPoint pt, int32 buttons, int32 modifiers)
|
||||
return CLICK_NONE;
|
||||
}
|
||||
|
||||
//! Hook function called when the decorator changes focus
|
||||
void Decorator::_SetFocus(void)
|
||||
{
|
||||
}
|
||||
|
||||
//! Function for calculating layout for the decorator
|
||||
void Decorator::_DoLayout(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -108,8 +108,8 @@ protected:
|
||||
virtual void _DrawTab(BRect r);
|
||||
virtual void _DrawTitle(BRect r);
|
||||
virtual void _DrawZoom(BRect r);
|
||||
virtual void _SetFocus(void)=0;
|
||||
virtual void _DoLayout(void)=0;
|
||||
virtual void _SetFocus(void);
|
||||
virtual void _DoLayout(void);
|
||||
virtual void _SetColors(void);
|
||||
|
||||
ColorSet *_colors;
|
||||
|
Loading…
Reference in New Issue
Block a user