Planeshift
pawsconfigchat.h
Go to the documentation of this file.
1 /*
2  * pawsconfigpvp.h - Author: Christian Svensson
3  *
4  * Copyright (C) 2003 Atomic Blue (info@planeshift.it, http://www.atomicblue.org)
5  *
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation (version 2 of the License)
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17  *
18  */
19 
20 #ifndef PAWS_CONFIG_CHAT_HEADER
21 #define PAWS_CONFIG_CHAT_HEADER
22 
23 // CS INCLUDES
24 #include <csutil/array.h>
25 #include <iutil/document.h>
26 
27 // PAWS INCLUDES
28 #include "paws/pawswidget.h"
29 #include "pawsconfigwindow.h"
30 #include "util/psxmlparser.h"
31 
32 class pawsChatWindow;
33 class pawsCheckBox;
34 class pawsEditTextBox;
36 
41 {
42 public:
44 
45  //from pawsWidget:
46  virtual bool PostSetup();
47  virtual bool OnChange(pawsWidget * widget);
48 
49  // from pawsConfigSectionWindow:
50  virtual bool Initialize();
51  virtual bool LoadConfig();
52  virtual bool SaveConfig();
53  virtual void SetDefault();
54  virtual void Show();
55 
56 protected:
58 
98 
108 };
109 
110 
112 
113 
114 #endif
115 
pawsEditTextBox * helpR
pawsChatWindow * chatWindow
pawsEditTextBox * yourB
The main base widget that all other widgets should inherit from.
Definition: pawswidget.h:116
pawsEditTextBox * yourR
pawsEditTextBox * helpB
pawsCheckBox * joinDefaultChannel
pawsCheckBox * echoScreenInSystem
pawsEditTextBox * playerG
A combination widget that has a check box and a text label.
Definition: pawscheckbox.h:48
pawsEditTextBox * adminR
pawsCheckBox * loose
virtual void Show()
Makes widget visible and brings it to the front.
pawsEditTextBox * systemG
virtual bool OnChange(pawsWidget *widget)
Called whenever a widget is selected.
pawsEditTextBox * guildG
pawsEditTextBox * allianceR
Main Chat window for PlaneShift.
Definition: chatwindow.h:133
pawsEditTextBox * npcR
pawsEditTextBox * adminB
pawsEditTextBox * guildB
pawsEditTextBox * groupB
pawsCheckBox * yourColorMix
pawsEditTextBox * playerB
An edit box widget/.
Definition: pawstextbox.h:409
pawsEditTextBox * playerR
pawsCheckBox * defaultlastchat
virtual bool PostSetup()
This is called after the widget and all of it&#39;s children have been created.
pawsEditTextBox * shoutR
CREATE_PAWS_FACTORY(pawsConfigChat)
pawsCheckBox * mainBrackets
pawsCheckBox * badwordsIncoming
virtual void SetDefault()
sets content of dialog according to default configuration
pawsEditTextBox * allianceB
pawsRadioButtonGroup * selectTabStyleGroup
pawsEditTextBox * auctionR
pawsEditTextBox * chatG
pawsEditTextBox * groupR
pawsEditTextBox * systemR
pawsEditTextBox * systemB
pawsEditTextBox * shoutG
pawsEditTextBox * adminG
pawsEditTextBox * tellB
pawsEditTextBox * allianceG
pawsEditTextBox * tellR
pawsEditTextBox * groupG
virtual bool LoadConfig()
sets content of dialog according to current configuration
pawsEditTextBox * helpG
pawsEditTextBox * npcG
pawsEditTextBox * shoutB
pawsEditTextBox * auctionB
virtual bool Initialize()
virtual bool SaveConfig()
remembers settings in-game and saves them permanently to a file also
pawsEditTextBox * npcB
pawsCheckBox * badwordsOutgoing
pawsEditTextBox * chatR
pawsEditTextBox * tellG
configuration screen for chat window
pawsEditTextBox * auctionG
pawsEditTextBox * yourG
pawsEditTextBox * chatB
pawsCheckBox * mouseFocus
pawsEditTextBox * guildR
This is a set of radio buttons and is used to control them.
Definition: pawsradio.h:131