Tracker: SlowMenu style fixes

This commit is contained in:
John Scipione
2014-06-20 21:29:39 -04:00
parent 4afa2a751d
commit ad12c9b56f
2 changed files with 32 additions and 27 deletions
+9 -5
View File
@@ -36,17 +36,21 @@ All rights reserved.
#include "SlowMenu.h"
const int32 kItemsToAddChunk = 20;
const bigtime_t kMaxTimeBuildingMenu = 200000;
// #pragma mark - BSlowMenu
BSlowMenu::BSlowMenu(const char* title, menu_layout layout)
: BMenu(title, layout),
:
BMenu(title, layout),
fMenuBuilt(false)
{
}
const int32 kItemsToAddChunk = 20;
const bigtime_t kMaxTimeBuildingMenu = 200000;
bool
BSlowMenu::AddDynamicItem(add_state state)
{
+4 -3
View File
@@ -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.
All rights reserved.
*/
#ifndef __SLOW_MENU__
#define __SLOW_MENU__
#ifndef _SLOW_MENU_H
#define _SLOW_MENU_H
// SlowMenu is a convenience class that makes it easier to
@@ -76,4 +76,5 @@ class BSlowMenu : public BMenu {
using namespace BPrivate;
#endif // __SLOW_MENU__
#endif // _SLOW_MENU_H