Planeshift
pawspath.h
Go to the documentation of this file.
1
/*
2
* pawspath.h - Author: Andrew Craig
3
*
4
* Copyright (C) 2003 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
#ifndef PAWS_PATH_WINDOW_HEADER
20
#define PAWS_PATH_WINDOW_HEADER
21
22
#include "
paws/pawswidget.h
"
23
#include "
psclientchar.h
"
24
#include "
pawscharcreatemain.h
"
25
29
class
pawsPathWindow
:
public
pawsWidget
30
{
31
public
:
32
pawsPathWindow
();
33
~pawsPathWindow
();
34
bool
OnButtonReleased
(
int
mouseButton,
int
keyModifier,
pawsWidget
* widget );
35
bool
PostSetup
();
36
37
private
:
38
int
chosenPath;
39
40
psCreationManager
* createManager;
41
pawsCreationMain
* charCreateMain;
42
void
SetPath(
int
i);
43
void
ClearPath(
void
);
47
void
LabelHeaderVisibility(
bool
visible
);
48
};
49
50
CREATE_PAWS_FACTORY
(
pawsPathWindow
);
51
52
#endif
53
pawsWidget::visible
bool visible
Flag to determine visiblity.
Definition:
pawswidget.h:169
pawscharcreatemain.h
pawsWidget
The main base widget that all other widgets should inherit from.
Definition:
pawswidget.h:116
psclientchar.h
pawsCreationMain
The main creation window for creating a new character.
Definition:
pawscharcreatemain.h:52
pawswidget.h
pawsPathWindow::PostSetup
bool PostSetup()
This is called after the widget and all of it's children have been created.
pawsPathWindow::OnButtonReleased
bool OnButtonReleased(int mouseButton, int keyModifier, pawsWidget *widget)
Called whenever a button is released.
pawsPathWindow::~pawsPathWindow
~pawsPathWindow()
pawsPathWindow
Char creation screen used for "Quick" creation.
Definition:
pawspath.h:29
psCreationManager
Handles all the details of the character creation on the client side.
Definition:
psclientchar.h:261
pawsPathWindow::pawsPathWindow
pawsPathWindow()
CREATE_PAWS_FACTORY
CREATE_PAWS_FACTORY(pawsPathWindow)
client
gui
pawspath.h
Generated on Sat Jun 19 2021 05:00:22 for Planeshift by
1.8.11