Planeshift
Public Member Functions

pawsItemDescriptionWindow Class Reference

A window that shows the description of an item. More...

#include <pawsitemdescriptionwindow.h>

List of all members.

Public Member Functions

void HandleMessage (MsgEntry *message)
bool OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget)
 Called whenever a button is pressed.
 pawsItemDescriptionWindow ()
bool PostSetup ()
 This is called after the widget and all of it's children have been created.
void ShowItemDescription (csString &desc, csString &itemName, csString &icon)
void ShowItemDescription (csString &desc, csString &itemName, csString &icon, int count)
virtual ~pawsItemDescriptionWindow ()

Detailed Description

A window that shows the description of an item.

Definition at line 30 of file pawsitemdescriptionwindow.h.


Constructor & Destructor Documentation

pawsItemDescriptionWindow::pawsItemDescriptionWindow ( )
virtual pawsItemDescriptionWindow::~pawsItemDescriptionWindow ( ) [virtual]

Member Function Documentation

void pawsItemDescriptionWindow::HandleMessage ( MsgEntry message) [virtual]

Implements psClientNetSubscriber.

bool pawsItemDescriptionWindow::OnButtonPressed ( int  button,
int  keyModifier,
pawsWidget widget 
) [virtual]

Called whenever a button is pressed.

Parameters:
buttonThe button pressed.
keyModifierModifier key in effect.
widgetThe widget the button belongs to.
Returns:
bool Parent's result or FALSE if no parent.

Reimplemented from pawsWidget.

bool pawsItemDescriptionWindow::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.

void pawsItemDescriptionWindow::ShowItemDescription ( csString &  desc,
csString &  itemName,
csString &  icon,
int  count 
)
void pawsItemDescriptionWindow::ShowItemDescription ( csString &  desc,
csString &  itemName,
csString &  icon 
)

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