Make UEFI boot-platform build again
[haiku.git] / src / libs / alm / Row.cpp
blob6578088dfd75e436d7621deba124afbf45b8a7f2
1 /*
2 * Copyright 2007-2011, Haiku, Inc. All rights reserved.
3 * Copyright 2007-2008, Christof Lutteroth, lutteroth@cs.auckland.ac.nz
4 * Copyright 2007-2008, James Kim, jkim202@ec.auckland.ac.nz
5 * Copyright 2010, Clemens Zeidler <haiku@clemens-zeidler.de>
6 * Distributed under the terms of the MIT License.
7 */
10 #include "Row.h"
12 #include "ALMLayout.h"
13 #include "Area.h"
14 #include "Tab.h"
17 using namespace LinearProgramming;
20 /**
21 * The top boundary of the row.
23 YTab*
24 Row::Top() const
26 return fTop;
30 /**
31 * The bottom boundary of the row.
33 YTab*
34 Row::Bottom() const
36 return fBottom;
40 /**
41 * Destructor.
42 * Removes the row from the specification.
44 Row::~Row()
46 delete fPrefSizeConstraint;
50 /**
51 * Constructor.
53 Row::Row(LinearSpec* ls, YTab* top, YTab* bottom)
55 fTop(top),
56 fBottom(bottom),
57 fLS(ls),
58 fPrefSizeConstraint(NULL)