Planeshift
Public Member Functions | Public Attributes | Protected Attributes

pawsCraftWindow Class Reference

Window Widget that displays information about the mind item to be used in crafting. More...

#include <pawscraft.h>

List of all members.

Public Member Functions

virtual void Draw ()
 Draw.
void Format ()
 Format method for the output text.
void HandleMessage (MsgEntry *me)
bool OnSelected (pawsWidget *widget)
 Called whenever a widget is selected.
bool PostSetup ()
 This is called after the widget and all of it's children have been created.
virtual void Show ()
 Makes widget visible and brings it to the front.

Public Attributes

csString craftText
csString filter

Protected Attributes

pawsEditTextBoxfilterEditTextBox
pawsMultiLineTextBoxtextBox

Detailed Description

Window Widget that displays information about the mind item to be used in crafting.

This handles the incoming network traffic and displays the information for the client in a tree about all the items available in the current mind item.

Definition at line 37 of file pawscraft.h.


Member Function Documentation

virtual void pawsCraftWindow::Draw ( ) [virtual]

Draw.

overwriting this to be able to do some reformating of the text is necessary

Reimplemented from pawsWidget.

void pawsCraftWindow::Format ( )

Format method for the output text.

This method sets the actual on-screen text by filtering all unwanted lines

void pawsCraftWindow::HandleMessage ( MsgEntry me) [virtual]

Implements psClientNetSubscriber.

bool pawsCraftWindow::OnSelected ( pawsWidget widget) [virtual]

Called whenever a widget is selected.

Parameters:
widgetThe selected widget.
Returns:
bool

Reimplemented from pawsWidget.

bool pawsCraftWindow::PostSetup ( ) [virtual]

This is called after the widget and all of it's children have been created.

Remarks:
This can be useful for widgets that want to get pointers to some of it's children for quick access.

Reimplemented from pawsWidget.

virtual void pawsCraftWindow::Show ( ) [virtual]

Makes widget visible and brings it to the front.

Sets visible TRUE shows border if present then calls BringToTop() on itself.

Reimplemented from pawsWidget.


Member Data Documentation

Definition at line 44 of file pawscraft.h.

Definition at line 45 of file pawscraft.h.

Definition at line 59 of file pawscraft.h.

Definition at line 58 of file pawscraft.h.


The documentation for this class was generated from the following file: