From eb22b66b0821e49ed550d30d20d9db5af535e6a3 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sun, 4 Oct 2009 00:36:46 +0200 Subject: 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. --- src/gui/widgets/layout.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/gui/widgets/layout.h') 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; }; -- cgit v1.2.3-70-g09d2