Planeshift
Public Member Functions

pawsIgnoreWindow Class Reference

A player's ignore list window. More...

#include <pawsignore.h>

List of all members.

Public Member Functions

void AddIgnore (csString &playerName)
bool IsIgnored (csString &playerName)
bool OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget)
 Called whenever a button is pressed.
void OnListAction (pawsListBox *widget, int status)
 Called whenever an item in a child list box is selected.
void OnStringEntered (const char *name, int param, const char *value)
 Handle popup question window callback.
bool PostSetup ()
 This is called after the widget and all of it's children have been created.
void RemoveIgnore (csString &playerName)
 ~pawsIgnoreWindow ()

Detailed Description

A player's ignore list window.

From here the player can add or remove messages from a particular player.

Definition at line 34 of file pawsignore.h.


Constructor & Destructor Documentation

pawsIgnoreWindow::~pawsIgnoreWindow ( )

Member Function Documentation

void pawsIgnoreWindow::AddIgnore ( csString &  playerName)
bool pawsIgnoreWindow::IsIgnored ( csString &  playerName)
bool pawsIgnoreWindow::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.

void pawsIgnoreWindow::OnListAction ( pawsListBox selected,
int  status 
) [virtual]

Called whenever an item in a child list box is selected.

Parameters:
selectedThe listbox that has the item selected.
statusFrom listbox when a row is selected.

Reimplemented from pawsWidget.

void pawsIgnoreWindow::OnStringEntered ( const char *  name,
int  param,
const char *  value 
) [virtual]

Handle popup question window callback.

Implements iOnStringEnteredAction.

bool pawsIgnoreWindow::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 pawsIgnoreWindow::RemoveIgnore ( csString &  playerName)

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