Tracker: SlowContextPopup style fixes
This commit is contained in:
@@ -66,15 +66,20 @@ All rights reserved.
|
|||||||
#undef B_TRANSLATION_CONTEXT
|
#undef B_TRANSLATION_CONTEXT
|
||||||
#define B_TRANSLATION_CONTEXT "SlowContextPopup"
|
#define B_TRANSLATION_CONTEXT "SlowContextPopup"
|
||||||
|
|
||||||
|
|
||||||
|
// #pragma mark - BSlowContextMenu
|
||||||
|
|
||||||
|
|
||||||
BSlowContextMenu::BSlowContextMenu(const char* title)
|
BSlowContextMenu::BSlowContextMenu(const char* title)
|
||||||
: BPopUpMenu(title, false, false),
|
:
|
||||||
fMenuBuilt(false),
|
BPopUpMenu(title, false, false),
|
||||||
fMessage(B_REFS_RECEIVED),
|
fMenuBuilt(false),
|
||||||
fParentWindow(NULL),
|
fMessage(B_REFS_RECEIVED),
|
||||||
fItemList(NULL),
|
fParentWindow(NULL),
|
||||||
fContainer(NULL),
|
fItemList(NULL),
|
||||||
fTypesList(NULL),
|
fContainer(NULL),
|
||||||
fIsShowing(false)
|
fTypesList(NULL),
|
||||||
|
fIsShowing(false)
|
||||||
{
|
{
|
||||||
InitIconPreloader();
|
InitIconPreloader();
|
||||||
|
|
||||||
@@ -214,7 +219,8 @@ BSlowContextMenu::AddDynamicItem(add_state state)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true; // call me again, got more to show
|
return true;
|
||||||
|
// call me again, got more to show
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -31,8 +31,8 @@ of Be Incorporated in the United States and other countries. Other brand product
|
|||||||
names are registered trademarks or trademarks of their respective holders.
|
names are registered trademarks or trademarks of their respective holders.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
*/
|
*/
|
||||||
#ifndef SLOW_CONTEXT_POPUP_H
|
#ifndef _SLOW_CONTEXT_POPUP_H
|
||||||
#define SLOW_CONTEXT_POPUP_H
|
#define _SLOW_CONTEXT_POPUP_H
|
||||||
|
|
||||||
|
|
||||||
#include <PopUpMenu.h>
|
#include <PopUpMenu.h>
|
||||||
@@ -135,4 +135,5 @@ BSlowContextMenu::IsShowing() const
|
|||||||
return fIsShowing;
|
return fIsShowing;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // SLOW_CONTEXT_POPUP_H
|
|
||||||
|
#endif // _SLOW_CONTEXT_POPUP_H
|
||||||
|
|||||||
Reference in New Issue
Block a user