Fl_Packscroller: Let children have a go at events...

This commit is contained in:
Jonathan Moore Liles 2010-01-27 22:38:02 -06:00
parent 4e634beff5
commit 2eadaa016e
1 changed files with 6 additions and 3 deletions

View File

@ -143,6 +143,9 @@ public:
virtual int
handle ( int m )
{
if ( Fl_Group::handle( m ) )
return 1;
switch ( m )
{
case FL_PUSH:
@ -160,7 +163,7 @@ public:
return 1;
}
return Fl_Group::handle( m );
return 0;
}
}
case FL_ENTER:
@ -180,7 +183,7 @@ public:
yposition( yposition() - (h() / 4 ) );
return 1;
}
return Fl_Group::handle( m );
return 0;
}
case FL_MOUSEWHEEL:
{
@ -190,6 +193,6 @@ public:
}
}
return Fl_Group::handle( m );
return 0;
}
};