Greatly improved scrolling, and simplified the code too. Now scrolling

is done from inside the BMenu::_track() function, and not inside Pulse() 
anymore. Patch by Lucasz Zemczak


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19653 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2006-12-29 07:01:08 +00:00
parent 191732a41c
commit c733893846
3 changed files with 40 additions and 18 deletions
+2
View File
@@ -32,6 +32,8 @@ class BMenuWindow : public BWindow {
void AttachScrollers();
void DetachScrollers();
bool CheckForScrolling(BPoint cursor);
private:
BMenuScroller *fScroller;
BMenuFrame *fMenuFrame;