summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-07 20:19:10 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-07 20:19:10 +0200
commit7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a (patch)
tree2499b2198dc1efae9d7f15e021c0574a95a0c95a /src/net
parentef1975a3eb4e1986601ad154bf184e0de332870c (diff)
downloadmana-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.gz
mana-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.bz2
mana-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.xz
mana-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.zip
Used custom widgets where appropriate and some cleanup
Replaced many gcn::Label with Label, gcn::Slider with Slider in character creation dialog. Also cleaned up includes.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/gui/partytab.cpp5
-rw-r--r--src/net/ea/gui/partytab.h10
2 files changed, 3 insertions, 12 deletions
diff --git a/src/net/ea/gui/partytab.cpp b/src/net/ea/gui/partytab.cpp
index 34b16663..0e0e339e 100644
--- a/src/net/ea/gui/partytab.cpp
+++ b/src/net/ea/gui/partytab.cpp
@@ -19,8 +19,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <guichan/widgets/label.hpp>
-
#include "partytab.h"
#include "net/net.h"
@@ -35,7 +33,8 @@
#include "utils/strprintf.h"
#include "utils/stringutils.h"
-PartyTab::PartyTab() : ChatTab(_("Party"))
+PartyTab::PartyTab() :
+ ChatTab(_("Party"))
{
}
diff --git a/src/net/ea/gui/partytab.h b/src/net/ea/gui/partytab.h
index fce4b515..bf9413d0 100644
--- a/src/net/ea/gui/partytab.h
+++ b/src/net/ea/gui/partytab.h
@@ -25,24 +25,16 @@
#include "gui/widgets/chattab.h"
/**
- * A tab for a chat channel.
+ * A tab for a party chat channel.
*/
class PartyTab : public ChatTab
{
public:
- /**
- * Constructor.
- */
PartyTab();
-
- /**
- * Destructor.
- */
~PartyTab();
protected:
void handleInput(const std::string &msg);
-
void handleCommand(std::string msg);
};