More style cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30305 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2009-04-21 21:06:10 +00:00
parent 59b3d28a25
commit b518478165
1 changed files with 7 additions and 11 deletions

View File

@ -1,11 +1,7 @@
/*
* Copyright 2006, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Stephan Aßmus <superstippi@gmx.de>
* Copyright 2006 - 2009, Stephan Aßmus <superstippi@gmx.de>
* All rights reserved. Distributed under the terms of the MIT License.
*/
#ifndef PAD_VIEW_H
#define PAD_VIEW_H
@ -17,7 +13,7 @@ class LaunchButton;
#define DEFAULT_ICON_SIZE 32
class PadView : public BView {
public:
public:
PadView(const char* name);
virtual ~PadView();
@ -27,16 +23,16 @@ class PadView : public BView {
virtual void MouseDown(BPoint where);
virtual void MouseUp(BPoint where);
virtual void MouseMoved(BPoint where, uint32 transit,
const BMessage* dragMessage);
const BMessage* dragMessage);
// PadView
void AddButton(LaunchButton* button,
LaunchButton* beforeButton = NULL);
LaunchButton* beforeButton = NULL);
bool RemoveButton(LaunchButton* button);
LaunchButton* ButtonAt(int32 index) const;
void DisplayMenu(BPoint where,
LaunchButton* button = NULL) const;
LaunchButton* button = NULL) const;
void SetOrientation(enum orientation orientation);
enum orientation Orientation() const;
@ -44,7 +40,7 @@ class PadView : public BView {
void SetIconSize(uint32 size);
uint32 IconSize() const;
private:
private:
BPoint fDragOffset;
bool fDragging;
bigtime_t fClickTime;