Planeshift
Public Member Functions

pawsCraftCancelWindow Class Reference

This handles all the details about how the craft cancel works. More...

#include <pawscraftcancelwindow.h>

List of all members.

Public Member Functions

virtual void Draw ()
 Draws the widget and all of it's children.
virtual void HandleMessage (MsgEntry *me)
virtual bool OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget)
 Called whenever a button is pressed.
virtual bool PostSetup ()
 This is called after the widget and all of it's children have been created.
void Start (csTicks craftTime)
 This is called every time the client is crafting something.
virtual ~pawsCraftCancelWindow ()

Detailed Description

This handles all the details about how the craft cancel works.

Definition at line 31 of file pawscraftcancelwindow.h.


Constructor & Destructor Documentation

virtual pawsCraftCancelWindow::~pawsCraftCancelWindow ( ) [virtual]

Member Function Documentation

virtual void pawsCraftCancelWindow::Draw ( ) [virtual]

Draws the widget and all of it's children.

Remarks:
Uses clipping rect of it's parent to define drawing area. If the drawing area defined is empty it returns.

Reimplemented from pawsWidget.

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

Implements psClientNetSubscriber.

virtual bool pawsCraftCancelWindow::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.

virtual bool pawsCraftCancelWindow::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 pawsCraftCancelWindow::Start ( csTicks  craftTime)

This is called every time the client is crafting something.

Parameters:
craftTimea unsigned int which holds the time when the item is ready

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