summaryrefslogtreecommitdiff
path: root/src/gui/box.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-01-08 20:38:41 +0100
committerIra Rice <irarice@gmail.com>2009-01-08 15:13:57 -0700
commit3f8387402ee7b528026450232cb457c8ae1cf4e2 (patch)
tree116b90cd11dd3c7c4b61259ae12418e0e4bb424f /src/gui/box.cpp
parent6c20e3e7dc031955d30d0edd313254976c36f0d4 (diff)
downloadmana-3f8387402ee7b528026450232cb457c8ae1cf4e2.tar.gz
mana-3f8387402ee7b528026450232cb457c8ae1cf4e2.tar.bz2
mana-3f8387402ee7b528026450232cb457c8ae1cf4e2.tar.xz
mana-3f8387402ee7b528026450232cb457c8ae1cf4e2.zip
Removed the unused Box, VBox and HBox classes
They were once meant for doing layout, but never used and the way they're implemented they would be relayouting with every draw, which isn't really nice.
Diffstat (limited to 'src/gui/box.cpp')
-rw-r--r--src/gui/box.cpp42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/gui/box.cpp b/src/gui/box.cpp
deleted file mode 100644
index 59d8c135..00000000
--- a/src/gui/box.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * The Mana World
- * Copyright 2004 The Mana World Development Team
- *
- * This file is part of The Mana World.
- *
- * The Mana World is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * any later version.
- *
- * The Mana World is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with The Mana World; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-#include "box.h"
-
-Box::Box():
- padding(0)
-{
- setOpaque(false);
-}
-
-Box::~Box()
-{
-}
-
-unsigned int Box::getPadding()
-{
- return padding;
-}
-
-void Box::setPadding(unsigned int p)
-{
- padding = p;
-}