Try to split the tracking function into smaller ones. Please bear with

me for the absolutely UGLY names. Also, if someone can suggest better 
ones...
I seem not to have introduced any new bug. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19476 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2006-12-12 16:05:16 +00:00
parent cd1cef8aab
commit 8b91b40ae6
2 changed files with 69 additions and 44 deletions
+7
View File
@@ -191,6 +191,10 @@ virtual void _ReservedMenu6();
bool _show(bool selectFirstItem = false);
void _hide();
BMenuItem *_track(int *action, bigtime_t trackTime, long start = -1);
void _UpdateStateOpenSelect(BMenuItem *item, bigtime_t &openTime, bigtime_t &closeTime);
void _UpdateStateClose(BMenuItem *item, const BPoint &where, const uint32 &buttons);
bool _AddItem(BMenuItem *item, int32 index);
bool RemoveItems(int32 index,
int32 count,
@@ -236,8 +240,11 @@ virtual void _ReservedMenu6();
bool IsStickyPrefOn();
void RedrawAfterSticky(BRect bounds);
bool OkToProceed(BMenuItem *);
bool CustomTrackingWantsToQuit();
void QuitTracking();
status_t ParseMsg(BMessage *msg, int32 *sindex, BMessage *spec,
int32 *form, const char **prop,