From 7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Tue, 7 Apr 2009 20:19:10 +0200 Subject: 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. --- src/net/ea/gui/partytab.cpp | 5 ++--- src/net/ea/gui/partytab.h | 10 +--------- 2 files changed, 3 insertions(+), 12 deletions(-) (limited to 'src/net/ea/gui') 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 - #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); }; -- cgit v1.2.3-70-g09d2