summaryrefslogtreecommitdiff
path: root/src/gui/widgets/layout.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2009-10-04 00:36:46 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2009-10-04 00:36:46 +0200
commiteb22b66b0821e49ed550d30d20d9db5af535e6a3 (patch)
treea54ee9996bf235741f95945fd81be99a6e686eca /src/gui/widgets/layout.h
parent076bcc1f8361c705d7dbe9088b18cca7d7fe21de (diff)
downloadmana-eb22b66b0821e49ed550d30d20d9db5af535e6a3.tar.gz
mana-eb22b66b0821e49ed550d30d20d9db5af535e6a3.tar.bz2
mana-eb22b66b0821e49ed550d30d20d9db5af535e6a3.tar.xz
mana-eb22b66b0821e49ed550d30d20d9db5af535e6a3.zip
Replaced setNetworkOptions with LoginHandler::supportedOptionalActions
Better to ask when needed that rely on static booleans to be set from somewhere. Also tried to fix the layouting a bit, but it's still not perfect.
Diffstat (limited to 'src/gui/widgets/layout.h')
-rw-r--r--src/gui/widgets/layout.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/widgets/layout.h b/src/gui/widgets/layout.h
index b9359e91..994c25fe 100644
--- a/src/gui/widgets/layout.h
+++ b/src/gui/widgets/layout.h
@@ -34,7 +34,6 @@ class LayoutCell;
class ContainerPlacer
{
public:
-
ContainerPlacer(gcn::Container *c = NULL, LayoutCell *l = NULL):
mContainer(c), mCell(l)
{}
@@ -58,7 +57,6 @@ class ContainerPlacer
(int x, int y, gcn::Widget *, int w = 1, int h = 1);
private:
-
gcn::Container *mContainer;
LayoutCell *mCell;
};
@@ -164,7 +162,6 @@ class LayoutCell
friend class LayoutArray;
public:
-
enum Alignment
{
LEFT, RIGHT, CENTER, FILL
@@ -235,7 +232,6 @@ class LayoutCell
void computeSizes();
private:
-
// Copy not allowed, as the cell may own an array.
LayoutCell(LayoutCell const &);
LayoutCell &operator=(LayoutCell const &);
@@ -283,10 +279,9 @@ class LayoutCell
* pixels between rows and between columns, and a margin of 6 pixels around the
* whole layout.
*/
-class Layout: public LayoutCell
+class Layout : public LayoutCell
{
public:
-
Layout();
/**
@@ -313,7 +308,6 @@ class Layout: public LayoutCell
};
private:
-
bool mComputed;
};