From af20d1a13e74bc31ea6e9efdb8f60f0022cff7d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Thu, 26 Mar 2009 14:07:33 +0000 Subject: [PATCH] Small cleanups. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29729 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/tracker/BackgroundImage.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/kits/tracker/BackgroundImage.h b/src/kits/tracker/BackgroundImage.h index de4e2e6139..56f9f9cacc 100644 --- a/src/kits/tracker/BackgroundImage.h +++ b/src/kits/tracker/BackgroundImage.h @@ -65,14 +65,14 @@ class BackgroundImage { // Unlike other windows, the Desktop window can have different backgrounds // for each workspace public: - + enum Mode { kAtOffset, kCentered, // only works on Desktop kScaledToFit, // only works on Desktop kTiled }; - + class BackgroundImageInfo { // element of the per-workspace list public: @@ -87,7 +87,8 @@ public: bool fTextWidgetOutline; }; - static BackgroundImage *GetBackgroundImage(const BNode *, bool isDesktop); + static BackgroundImage *GetBackgroundImage(const BNode *node, + bool isDesktop); // create a BackgroundImage object by reading it from a node virtual ~BackgroundImage(); @@ -98,7 +99,7 @@ public: void WorkspaceActivated(BView *view, int32 workspace, bool state); // respond to a workspace change - void ScreenChanged(BRect , color_space); + void ScreenChanged(BRect rect, color_space space); // respond to a screen size change static BackgroundImage *Refresh(BackgroundImage *oldBackgroundImage, const BNode *fromNode, bool desktop, BPoseView *poseView); @@ -118,7 +119,7 @@ private: BNode fDefinedByNode; BView *fView; BackgroundImageInfo *fShowingBitmap; - + BObjectList fBitmapForWorkspaceList; };