Planeshift
|
00001 /* 00002 * pawsconfigpvp.h - Author: Christian Svensson 00003 * 00004 * Copyright (C) 2003 Atomic Blue ([email protected], http://www.atomicblue.org) 00005 * 00006 * 00007 * This program is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU General Public License 00009 * as published by the Free Software Foundation (version 2 of the License) 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program; if not, write to the Free Software 00016 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00017 * 00018 */ 00019 00020 #ifndef PAWS_CONFIG_CHAT_HEADER 00021 #define PAWS_CONFIG_CHAT_HEADER 00022 00023 // CS INCLUDES 00024 #include <csutil/array.h> 00025 #include <iutil/document.h> 00026 00027 // PAWS INCLUDES 00028 #include "paws/pawswidget.h" 00029 #include "pawsconfigwindow.h" 00030 #include "util/psxmlparser.h" 00031 00032 class pawsChatWindow; 00033 class pawsCheckBox; 00034 class pawsEditTextBox; 00035 class pawsRadioButtonGroup; 00036 00037 class pawsConfigChat : public pawsConfigSectionWindow 00038 { 00039 public: 00040 pawsConfigChat(); 00041 00042 //from pawsWidget: 00043 virtual bool PostSetup(); 00044 virtual bool OnChange(pawsWidget * widget); 00045 00046 // from pawsConfigSectionWindow: 00047 virtual bool Initialize(); 00048 virtual bool LoadConfig(); 00049 virtual bool SaveConfig(); 00050 virtual void SetDefault(); 00051 virtual void Show(); 00052 00053 protected: 00054 pawsChatWindow* chatWindow; 00055 00056 pawsEditTextBox* systemR; 00057 pawsEditTextBox* systemG; 00058 pawsEditTextBox* systemB; 00059 pawsEditTextBox* adminR; 00060 pawsEditTextBox* adminG; 00061 pawsEditTextBox* adminB; 00062 pawsEditTextBox* playerR; 00063 pawsEditTextBox* playerG; 00064 pawsEditTextBox* playerB; 00065 pawsEditTextBox* chatR; 00066 pawsEditTextBox* chatG; 00067 pawsEditTextBox* chatB; 00068 pawsEditTextBox* npcR; 00069 pawsEditTextBox* npcG; 00070 pawsEditTextBox* npcB; 00071 pawsEditTextBox* tellR; 00072 pawsEditTextBox* tellG; 00073 pawsEditTextBox* tellB; 00074 pawsEditTextBox* shoutR; 00075 pawsEditTextBox* shoutG; 00076 pawsEditTextBox* shoutB; 00077 pawsEditTextBox* guildR; 00078 pawsEditTextBox* guildG; 00079 pawsEditTextBox* guildB; 00080 pawsEditTextBox* allianceR; 00081 pawsEditTextBox* allianceG; 00082 pawsEditTextBox* allianceB; 00083 pawsEditTextBox* yourR; 00084 pawsEditTextBox* yourG; 00085 pawsEditTextBox* yourB; 00086 pawsEditTextBox* groupR; 00087 pawsEditTextBox* groupG; 00088 pawsEditTextBox* groupB; 00089 pawsEditTextBox* auctionR; 00090 pawsEditTextBox* auctionG; 00091 pawsEditTextBox* auctionB; 00092 pawsEditTextBox* helpR; 00093 pawsEditTextBox* helpG; 00094 pawsEditTextBox* helpB; 00095 00096 pawsCheckBox* loose; 00097 pawsCheckBox* mouseFocus; 00098 pawsCheckBox* badwordsIncoming, *badwordsOutgoing; 00099 pawsRadioButtonGroup* selectTabStyleGroup; 00100 pawsCheckBox* echoScreenInSystem; 00101 pawsCheckBox* mainBrackets; 00102 pawsCheckBox* yourColorMix; 00103 pawsCheckBox* joinDefaultChannel; 00104 pawsCheckBox* defaultlastchat; 00105 }; 00106 00107 00108 CREATE_PAWS_FACTORY(pawsConfigChat); 00109 00110 00111 #endif 00112