Planeshift
pawsdetailwindow.h
Go to the documentation of this file.
1
/*
2
* pawsdetailwindow.h - Author: Christian Svensson
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
// pawsdetailwindow.h: interface for the pawsDetailWindow class.
20
//
22
23
#ifndef PAWS_DETAIL_WINDOW_HEADER
24
#define PAWS_DETAIL_WINDOW_HEADER
25
26
#include "
paws/pawswidget.h
"
27
28
class
pawsTextBox
;
29
class
pawsMultiLineTextBox
;
30
class
GEMClientObject
;
31
36
class
pawsDetailWindow
:
public
pawsWidget
,
public
psClientNetSubscriber
37
{
38
public
:
39
40
pawsDetailWindow
();
41
virtual
~pawsDetailWindow
();
42
43
bool
OnButtonPressed
(
int
mouseButton,
int
keyModifier,
pawsWidget
* widget );
44
void
UpdateTabsVisibility
(
bool
Skills,
bool
CharCreation,
bool
OOCDescription);
45
bool
SelectTab
(
pawsWidget
* widget );
46
47
bool
PostSetup
();
48
bool
FillInfo
();
49
50
void
HandleMessage
(
MsgEntry
* me );
51
void
RequestDetails
();
52
private
:
53
pawsMultiLineTextBox
*intro;
54
pawsMultiLineTextBox
*description;
55
56
pawsButton
*editButton;
57
58
csArray<csString> skills;
59
csString storedescription;
60
csString storedoocdescription;
61
csString storedcreationinfo;
62
bool
details_editable;
63
GEMClientObject
* target;
64
pawsButton
* lastTab;
65
66
};
67
68
CREATE_PAWS_FACTORY
(
pawsDetailWindow
);
69
70
71
#endif
72
73
CREATE_PAWS_FACTORY
CREATE_PAWS_FACTORY(pawsDetailWindow)
pawsDetailWindow
Window to view character details like IC, OOC, Char descriptions.
Definition:
pawsdetailwindow.h:36
pawsDetailWindow::HandleMessage
void HandleMessage(MsgEntry *me)
pawsWidget
The main base widget that all other widgets should inherit from.
Definition:
pawswidget.h:116
pawsDetailWindow::PostSetup
bool PostSetup()
This is called after the widget and all of it's children have been created.
pawsDetailWindow::SelectTab
bool SelectTab(pawsWidget *widget)
pawsDetailWindow::RequestDetails
void RequestDetails()
MsgEntry
The structure of 1 queue entry (pointer to a message)
Definition:
message.h:143
pawsDetailWindow::UpdateTabsVisibility
void UpdateTabsVisibility(bool Skills, bool CharCreation, bool OOCDescription)
pawsMultiLineTextBox
Definition:
pawstextbox.h:613
pawsDetailWindow::OnButtonPressed
bool OnButtonPressed(int mouseButton, int keyModifier, pawsWidget *widget)
Called whenever a button is pressed.
pawsDetailWindow::pawsDetailWindow
pawsDetailWindow()
pawsDetailWindow::FillInfo
bool FillInfo()
pawswidget.h
GEMClientObject
An object that the client knows about.
Definition:
pscelclient.h:373
pawsButton
A simple button widget.
Definition:
pawsbutton.h:43
pawsDetailWindow::~pawsDetailWindow
virtual ~pawsDetailWindow()
psClientNetSubscriber
Definition:
cmdbase.h:67
pawsTextBox
A basic text box widget.
Definition:
pawstextbox.h:42
client
gui
pawsdetailwindow.h
Generated on Sat Jun 19 2021 05:00:22 for Planeshift by
1.8.11