renamed a few members so that I don't have problems later. removed more methods/members
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13190 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -545,7 +545,11 @@ WinBorder::HighlightDecorator(bool active)
|
||||
bool
|
||||
WinBorder::HasPoint(const BPoint& pt) const
|
||||
{
|
||||
#ifndef NEW_CLIPPING
|
||||
return fFullVisible.Contains(pt);
|
||||
#else
|
||||
return NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
// Unimplemented. Hook function for handling when system GUI colors change
|
||||
@@ -643,9 +647,12 @@ WinBorder::QuietlySetFeel(int32 feel)
|
||||
click_type
|
||||
WinBorder::_ActionFor(const PointerEvent& event) const
|
||||
{
|
||||
#ifndef NEW_CLIPPING
|
||||
if (fTopLayer->fFullVisible.Contains(event.where))
|
||||
return DEC_NONE;
|
||||
else if (fDecorator)
|
||||
else
|
||||
#endif
|
||||
if (fDecorator)
|
||||
return fDecorator->Clicked(event.where, event.buttons, event.modifiers);
|
||||
else
|
||||
return DEC_NONE;
|
||||
|
||||
Reference in New Issue
Block a user