Planeshift
|
00001 /* 00002 * pawsactionlocationwindow.h 00003 * 00004 * Copyright (C) 2006 Atomic Blue ([email protected], http://www.atomicblue.org) 00005 * 00006 * This program is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public License 00008 * as published by the Free Software Foundation (version 2 of the License) 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * You should have received a copy of the GNU General Public License 00014 * along with this program; if not, write to the Free Software 00015 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00016 */ 00017 00018 #ifndef PAWS_ACTION_LOCATION_WINDOW_HEADER 00019 #define PAWS_ACTION_LOCATION_WINDOW_HEADER 00020 00021 #include "paws/pawswidget.h" 00022 00023 class pawsTextBox; 00024 class pawsMultiLineTextBox; 00025 00026 // A simple window with a textbox to display action location info. 00027 class pawsActionLocationWindow : public pawsWidget, public psClientNetSubscriber 00028 { 00029 public: 00030 pawsActionLocationWindow(); 00031 virtual ~pawsActionLocationWindow(); 00032 00033 bool PostSetup(); 00034 void HandleMessage(MsgEntry* me); 00035 private: 00036 pawsTextBox *name; 00037 pawsMultiLineTextBox *description; 00038 }; 00039 00040 CREATE_PAWS_FACTORY( pawsActionLocationWindow ); 00041 00042 #endif 00043