Planeshift
pawsconfigchattabs.h
Go to the documentation of this file.
1 /*
2 * pawsconfigchattabs.h - Author: Enar Vaikene
3 *
4 * Copyright (C) 2006 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 __PAWSCONFIGCHATTABS_H
21 #define __PAWSCONFIGCHATTABS_H
22 
23 #include "paws/pawswidget.h"
24 #include "paws/pawscheckbox.h"
25 #include "pawsconfigwindow.h"
26 #include "chatwindow.h"
27 
32 {
33 
34 public:
36 
37  bool Initialize();
38  bool LoadConfig();
39  bool SaveConfig();
40  void SetDefault();
41 
42  bool PostSetup();
43 
44 private:
45 
46  pawsCheckBox *isysbase, *ichat, *inpc, *itells, *iguild, *ialliance, *igroup, *iauction, *isys, *ihelp;
47  pawsCheckBox *issysbase, *ischat, *isnpc, *istells, *isguild, *isalliance, *isgroup, *isauction, *issys, *ishelp;
49  pawsCheckBox *FindCheckbox(const char *name);
50 
51  pawsChatWindow* chatWindow;
52 
53 };
54 
56 
57 #endif
58 
CREATE_PAWS_FACTORY(pawsConfigChatTabs)
A combination widget that has a check box and a text label.
Definition: pawscheckbox.h:48
csString name
The name of this widget.
Definition: pawswidget.h:217
Main Chat window for PlaneShift.
Definition: chatwindow.h:133
bool LoadConfig()
sets content of dialog according to current configuration
configuration screen to decide which tabs will be displayed in chat window.
void SetDefault()
sets content of dialog according to default configuration
bool SaveConfig()
remembers settings in-game and saves them permanently to a file also
bool PostSetup()
This is called after the widget and all of it's children have been created.