Planeshift
peeditablewidget.h
Go to the documentation of this file.
1
/*
2
* peEditableWidget.h
3
*
4
* Copyright (C) 2005 Atomic Blue (info@planeshift.it, http://www.atomicblue.org)
5
*
6
* Credits :
7
* Michael Cummings <cummings.michael@gmail.com>
8
*
9
* This program is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU General Public License
11
* as published by the Free Software Foundation (version 2
12
* of the License).
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
*
21
* Creation Date: 1/20/2005
22
* Description : widget used to load windows, replaces libgui specific
23
* functionality with generic widget editing.
24
*
25
*/
26
27
#ifndef PAWSEDITOR_GENERIC_TOOLBOX_HEADER
28
#define PAWSEDITOR_GENERIC_TOOLBOX_HEADER
29
30
#include "
paws/pawswidget.h
"
31
32
class
pawsButton
;
33
36
class
peEditableWidget
:
public
pawsWidget
,
public
scfImplementation0
<peEditableWidget>
37
{
38
public
:
39
peEditableWidget
();
40
virtual
~peEditableWidget
();
41
42
// inheritted from pawsWidget
43
virtual
bool
PostSetup
();
44
virtual
bool
OnButtonPressed
(
int
mouseButton,
int
keyModifier,
pawsWidget
* widget);
45
46
};
47
48
CREATE_PAWS_FACTORY
(
peEditableWidget
);
49
50
#endif
pawsWidget
The main base widget that all other widgets should inherit from.
Definition:
pawswidget.h:116
scfImplementation0
peEditableWidget::OnButtonPressed
virtual bool OnButtonPressed(int mouseButton, int keyModifier, pawsWidget *widget)
Called whenever a button is pressed.
peEditableWidget::~peEditableWidget
virtual ~peEditableWidget()
pawswidget.h
peEditableWidget::peEditableWidget
peEditableWidget()
pawsButton
A simple button widget.
Definition:
pawsbutton.h:43
peEditableWidget::PostSetup
virtual bool PostSetup()
This is called after the widget and all of it's children have been created.
CREATE_PAWS_FACTORY
CREATE_PAWS_FACTORY(peEditableWidget)
peEditableWidget
This handles the effect render toolbox.
Definition:
peeditablewidget.h:36
tools
pawseditor
peeditablewidget.h
Generated on Sat Jun 19 2021 05:00:34 for Planeshift by
1.8.11