Planeshift

peeditablewidget.h

Go to the documentation of this file.
00001 /*
00002 * peEditableWidget.h
00003 *
00004 * Copyright (C) 2005 Atomic Blue ([email protected], http://www.atomicblue.org)
00005 *
00006 * Credits : 
00007 *            Michael Cummings <[email protected]>
00008 *
00009 * This program is free software; you can redistribute it and/or
00010 * modify it under the terms of the GNU General Public License
00011 * as published by the Free Software Foundation (version 2
00012 * of the License).
00013 * This program is distributed in the hope that it will be useful,
00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00016 * GNU General Public License for more details.
00017 * You should have received a copy of the GNU General Public License
00018 * along with this program; if not, write to the Free Software
00019 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00020 *
00021 * Creation Date: 1/20/2005
00022 * Description : widget used to load windows, replaces libgui specific 
00023 *                functionality with generic widget editing.
00024 *
00025 */
00026 
00027 #ifndef PAWSEDITOR_GENERIC_TOOLBOX_HEADER
00028 #define PAWSEDITOR_GENERIC_TOOLBOX_HEADER
00029 
00030 #include "paws/pawswidget.h"
00031 
00032 class pawsButton;
00033 
00036 class peEditableWidget :  public pawsWidget, public scfImplementation0<peEditableWidget>
00037 {
00038 public:
00039     peEditableWidget();
00040     virtual ~peEditableWidget();
00041     
00042     // inheritted from pawsWidget
00043     virtual bool PostSetup(); 
00044     virtual bool OnButtonPressed(int mouseButton, int keyModifier, pawsWidget* widget);
00045     
00046 };
00047 
00048 CREATE_PAWS_FACTORY(peEditableWidget);
00049 
00050 #endif