Style fixes to BMenu and related classes.

This commit is contained in:
John Scipione
2013-05-06 17:15:17 -04:00
parent 3f5d1e7825
commit d97b434060
7 changed files with 75 additions and 77 deletions
+2 -1
View File
@@ -10,6 +10,7 @@
#include <List.h>
#include <View.h>
class BMenu;
class BMenuBar;
class BMenuItem;
@@ -216,7 +217,7 @@ private:
void _ComputeColumnLayout(int32 index, bool bestFit,
bool moveItems, BRect* override, BRect& outRect);
void _ComputeRowLayout(int32 index, bool bestFit,
bool moveItems, BRect& outRect);
bool moveItems, BRect& outRect);
void _ComputeMatrixLayout(BRect& outRect);
BRect _CalcFrame(BPoint where, bool* scrollOn);
+2 -2
View File
@@ -35,7 +35,7 @@ public:
virtual status_t Archive(BMessage* archive,
bool deep = true) const;
virtual void Draw(BRect update);
virtual void Draw(BRect updateRect);
virtual void AttachedToWindow();
virtual void AllAttached();
virtual void MouseDown(BPoint where);
@@ -121,7 +121,7 @@ private:
void InitObject(const char* label);
void InitObject2();
void DrawLabel(BRect bounds, BRect update);
void DrawLabel(BRect bounds, BRect updateRect);
static void InitMenu(BMenu* menu);
int32 _MenuTask();