From b518478165347c53b31b3242490f9e8dfd4bd35b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Tue, 21 Apr 2009 21:06:10 +0000 Subject: [PATCH] More style cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30305 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/launchbox/PadView.h | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/src/apps/launchbox/PadView.h b/src/apps/launchbox/PadView.h index a38f72533a..d62f3a172f 100644 --- a/src/apps/launchbox/PadView.h +++ b/src/apps/launchbox/PadView.h @@ -1,11 +1,7 @@ /* - * Copyright 2006, Haiku. - * Distributed under the terms of the MIT License. - * - * Authors: - * Stephan Aßmus + * Copyright 2006 - 2009, Stephan Aßmus + * 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;