Sudoku: minor cleanup.

This commit is contained in:
Axel Dörfler
2015-11-07 17:07:01 +01:00
parent 4b53c7b1cf
commit 2e14f933e5
+9 -5
View File
@@ -1,12 +1,16 @@
/* /*
* Copyright 2007, Michael Pfeiffer, [email protected]. All rights reserved. * Copyright 2007, Michael Pfeiffer, [email protected].
* Distributed under the terms of the MIT License. * All rights reserved. Distributed under the terms of the MIT License.
*/ */
#include "CenteredViewContainer.h" #include "CenteredViewContainer.h"
CenteredViewContainer::CenteredViewContainer(BView *target, BRect frame, const char* name, uint32 resizingMode)
: BView(frame, name, resizingMode, B_WILL_DRAW | B_FRAME_EVENTS) CenteredViewContainer::CenteredViewContainer(BView* target, const char* name)
, fTarget(target) :
BView(name, B_WILL_DRAW | B_FRAME_EVENTS),
fTarget(target)
{ {
SetViewColor(B_TRANSPARENT_COLOR); SetViewColor(B_TRANSPARENT_COLOR);
// to avoid flickering // to avoid flickering