Planeshift
pawsconfigpopup.h
Go to the documentation of this file.
1 /*
2  * pawsconfigpopup.h
3  *
4  * Copyright (C) 2010 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_POPUP
21 #define PAWS_CONFIG_POPUP
22 
23 //==============================================================================
24 // CS INCLUDES
25 //==============================================================================
26 #include <csutil/array.h>
27 #include <iutil/document.h>
28 
29 //==============================================================================
30 // PAWS INCLUDES
31 //==============================================================================
32 #include "paws/pawswidget.h"
33 #include "pawsconfigwindow.h"
34 #include "util/psxmlparser.h"
35 
36 class pawsCheckBox;
37 class pawsScrollBar;
40 
42 {
43 public:
44  pawsConfigPopup(void);
45 
46  virtual bool PostSetup();
47 
48  virtual bool Initialize();
49  virtual bool LoadConfig();
50  virtual bool SaveConfig();
51  virtual void SetDefault();
52 
53 protected:
65 
66 protected:
70 };
71 
73 
74 #endif
This window shows the popup menu of available responses when talking to an NPC.
Definition: pawsnpcdialog.h:38
pawsNpcDialogWindow * npcDialog
This is used to point to a instance of npcdialog.
A combination widget that has a check box and a text label.
Definition: pawscheckbox.h:48
virtual bool Initialize()
pawsConfigPopup(void)
Constructor.
pawsScrollBar * npcMsgTimeoutScale
Scale slider for setting up the npc delay factor.
virtual bool LoadConfig()
virtual bool PostSetup()
A simple scroll bar widget.
Definition: pawscrollbar.h:64
virtual bool SaveConfig()
CREATE_PAWS_FACTORY(pawsConfigPopup)
pawsActiveMagicWindow * magicWindow
This is used to point to a instance of magic window.
Window with current buffs and spells active on the character, and timer for buff to go away...
pawsCheckBox * useNpcDialogBubbles
Check-box which gives the user a opportunity to use or not the bubble based npcdialog interface...
psMainWidget * mainWidget
This is used to point to the main widget.
virtual void SetDefault()
pawsCheckBox * showActiveMagicConfig
Check-box which gives the user a opportunity to show or not to show the Active Magic Window...
The main or desktop widget.
Definition: psmainwidget.h:79