BCheckBox: Style fixes, variable renaming for consistency, docs.
Also some other style fixes, no functional changes intended.
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
/*
|
||||
* Copyright 2001-2009, Haiku, Inc. All rights reserved.
|
||||
* Copyright 2001-2014 Haiku, Inc. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _CHECK_BOX_H
|
||||
#define _CHECK_BOX_H
|
||||
|
||||
|
||||
#include <Control.h>
|
||||
|
||||
|
||||
@@ -20,13 +21,12 @@ public:
|
||||
= B_WILL_DRAW | B_NAVIGABLE);
|
||||
BCheckBox(const char* label,
|
||||
BMessage* message = NULL);
|
||||
BCheckBox(BMessage* archive);
|
||||
BCheckBox(BMessage* data);
|
||||
|
||||
virtual ~BCheckBox();
|
||||
|
||||
static BArchivable* Instantiate(BMessage* archive);
|
||||
virtual status_t Archive(BMessage* archive,
|
||||
bool deep = true) const;
|
||||
static BArchivable* Instantiate(BMessage* data);
|
||||
virtual status_t Archive(BMessage* data, bool deep = true) const;
|
||||
|
||||
virtual void Draw(BRect updateRect);
|
||||
|
||||
@@ -35,7 +35,7 @@ public:
|
||||
virtual void AllAttached();
|
||||
virtual void AllDetached();
|
||||
|
||||
virtual void FrameMoved(BPoint newLocation);
|
||||
virtual void FrameMoved(BPoint newPosition);
|
||||
virtual void FrameResized(float width, float height);
|
||||
virtual void WindowActivated(bool active);
|
||||
|
||||
@@ -43,9 +43,9 @@ public:
|
||||
|
||||
virtual void KeyDown(const char* bytes, int32 numBytes);
|
||||
|
||||
virtual void MouseDown(BPoint point);
|
||||
virtual void MouseUp(BPoint point);
|
||||
virtual void MouseMoved(BPoint point, uint32 transit,
|
||||
virtual void MouseDown(BPoint where);
|
||||
virtual void MouseUp(BPoint where);
|
||||
virtual void MouseMoved(BPoint where, uint32 code,
|
||||
const BMessage* dragMessage);
|
||||
|
||||
virtual void GetPreferredSize(float* _width,
|
||||
@@ -100,5 +100,5 @@ private:
|
||||
bool fPartialToOff;
|
||||
};
|
||||
|
||||
#endif // _CHECK_BOX_H
|
||||
|
||||
#endif // _CHECK_BOX_H
|
||||
|
||||
Reference in New Issue
Block a user