Fix coding style.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37886 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0e505c0c7b
commit
a92ef26cd7
@ -6,7 +6,6 @@
|
||||
* DarkWyrm <bpmagic@columbus.rr.com>
|
||||
* Clemens Zeidler <haiku@clemens-zeidler.de>
|
||||
*/
|
||||
|
||||
#ifndef DECOR_MANAGER_H
|
||||
#define DECOR_MANAGER_H
|
||||
|
||||
@ -29,8 +28,7 @@ class WindowBehaviour;
|
||||
typedef BObjectList<DesktopListener> DesktopListenerList;
|
||||
|
||||
|
||||
class DecorAddOn
|
||||
{
|
||||
class DecorAddOn {
|
||||
public:
|
||||
DecorAddOn(image_id id, const char* name);
|
||||
virtual ~DecorAddOn();
|
||||
|
@ -7,7 +7,6 @@
|
||||
* Stephan Aßmus <superstippi@gmx.de>
|
||||
* Clemens Zeidler <haiku@clemens-zeidler.de>
|
||||
*/
|
||||
|
||||
#ifndef DECORATOR_H
|
||||
#define DECORATOR_H
|
||||
|
||||
@ -46,6 +45,7 @@ enum click_type {
|
||||
CLICK_RESIZE_RB
|
||||
};
|
||||
|
||||
|
||||
class Decorator {
|
||||
public:
|
||||
Decorator(DesktopSettings& settings, BRect rect,
|
||||
|
@ -7,7 +7,6 @@
|
||||
* Stephan Aßmus <superstippi@gmx.de>
|
||||
* Clemens Zeidler <haiku@clemens-zeidler.de>
|
||||
*/
|
||||
|
||||
#ifndef DEFAULT_DECORATOR_H
|
||||
#define DEFAULT_DECORATOR_H
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
* Brecht Machiels <brecht@mos6581.org>
|
||||
* Clemens Zeidler <haiku@clemens-zeidler.de>
|
||||
*/
|
||||
|
||||
#ifndef DEFAULT_WINDOW_BEHAVIOUR_H
|
||||
#define DEFAULT_WINDOW_BEHAVIOUR_H
|
||||
|
||||
@ -24,9 +23,8 @@ class Desktop;
|
||||
class Window;
|
||||
|
||||
|
||||
class DefaultWindowBehaviour : public WindowBehaviour
|
||||
{
|
||||
public:
|
||||
class DefaultWindowBehaviour : public WindowBehaviour {
|
||||
public:
|
||||
DefaultWindowBehaviour(Window* window);
|
||||
virtual ~DefaultWindowBehaviour();
|
||||
|
||||
@ -35,7 +33,7 @@ class DefaultWindowBehaviour : public WindowBehaviour
|
||||
virtual void MouseMoved(BMessage *message, BPoint where,
|
||||
bool isFake);
|
||||
|
||||
protected:
|
||||
protected:
|
||||
Window* fWindow;
|
||||
Desktop* fDesktop;
|
||||
|
||||
@ -50,7 +48,7 @@ class DefaultWindowBehaviour : public WindowBehaviour
|
||||
bigtime_t fLastMoveTime;
|
||||
bigtime_t fLastSnapTime;
|
||||
|
||||
private:
|
||||
private:
|
||||
int32 _ExtractButtons(const BMessage* message) const;
|
||||
int32 _ExtractModifiers(const BMessage* message) const;
|
||||
click_type _ActionFor(const BMessage* message) const;
|
||||
|
@ -6,6 +6,7 @@
|
||||
* Clemens Zeidler <haiku@clemens-zeidler.de>
|
||||
*/
|
||||
|
||||
|
||||
#include "DesktopListener.h"
|
||||
|
||||
|
||||
|
@ -5,10 +5,10 @@
|
||||
* Authors:
|
||||
* Clemens Zeidler <haiku@clemens-zeidler.de>
|
||||
*/
|
||||
|
||||
#ifndef DESKTOP_LISTENER_H
|
||||
#define DESKTOP_LISTENER_H
|
||||
|
||||
|
||||
#include <util/DoublyLinkedList.h>
|
||||
|
||||
#include <Point.h>
|
||||
@ -18,9 +18,8 @@ class BMessage;
|
||||
class Window;
|
||||
|
||||
|
||||
class DesktopListener : public DoublyLinkedListLinkImpl<DesktopListener>
|
||||
{
|
||||
public:
|
||||
class DesktopListener : public DoublyLinkedListLinkImpl<DesktopListener> {
|
||||
public:
|
||||
virtual ~DesktopListener();
|
||||
|
||||
virtual void AddWindow(Window* window) = 0;
|
||||
@ -58,9 +57,8 @@ class DesktopListener : public DoublyLinkedListLinkImpl<DesktopListener>
|
||||
typedef DoublyLinkedList<DesktopListener> DesktopListenerDLList;
|
||||
|
||||
|
||||
class DesktopObservable
|
||||
{
|
||||
public:
|
||||
class DesktopObservable {
|
||||
public:
|
||||
DesktopObservable();
|
||||
|
||||
void RegisterListener(DesktopListener* listener);
|
||||
@ -96,8 +94,8 @@ class DesktopObservable
|
||||
void InvokeGetDecoratorSettings(Window* window,
|
||||
BMessage& settings);
|
||||
|
||||
private:
|
||||
class InvokeGuard{
|
||||
private:
|
||||
class InvokeGuard {
|
||||
public:
|
||||
InvokeGuard(bool& invoking);
|
||||
~InvokeGuard();
|
||||
|
@ -7,6 +7,7 @@
|
||||
* Stefano Ceccherini (stefano.ceccherini@gmail.com)
|
||||
* Marcus Overhagen <marcus@overhagen.de>
|
||||
*/
|
||||
|
||||
#include "ServerPicture.h"
|
||||
|
||||
#include <new>
|
||||
|
@ -5,7 +5,6 @@
|
||||
* Authors:
|
||||
* Clemens Zeidler <haiku@clemens-zeidler.de>
|
||||
*/
|
||||
|
||||
#ifndef WINDOW_BEHAVIOUR_H
|
||||
#define WINDOW_BEHAVIOUR_H
|
||||
|
||||
@ -16,9 +15,8 @@
|
||||
class BMessage;
|
||||
|
||||
|
||||
class WindowBehaviour
|
||||
{
|
||||
public:
|
||||
class WindowBehaviour {
|
||||
public:
|
||||
WindowBehaviour();
|
||||
virtual ~WindowBehaviour();
|
||||
|
||||
@ -31,7 +29,7 @@ class WindowBehaviour
|
||||
bool IsDragging() const { return fIsDragging; }
|
||||
bool IsResizing() const { return fIsResizing; }
|
||||
|
||||
protected:
|
||||
protected:
|
||||
bool fIsResizing : 1;
|
||||
bool fIsDragging : 1;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user