Planeshift
Public Member Functions

pawsLoginWindow Class Reference

#include <pawsloginwindow.h>

List of all members.

Public Member Functions

void ConnectionFailed ()
 This method notifies the LoginWindow that connection attempt failed.
void Draw ()
 Draws the widget and all of it's children.
void Hide ()
 Makes widget invisible and removes focus if widget has current focus.
bool OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget)
 Called whenever a button is pressed.
bool OnChange (pawsWidget *widget)
 Called whenever a widget is selected.
void OnListAction (pawsListBox *selected, int status)
 Called whenever an item in a child list box is selected.
 pawsLoginWindow (const pawsLoginWindow &origin)
 TODO: Copy constructor, useless currently. Would be implemented later.
 pawsLoginWindow ()
bool PostSetup ()
 This is called after the widget and all of it's children have been created.
void Show ()
 Makes widget visible and brings it to the front.
void UpdateUserPasswdFromConfig ()

Detailed Description

Definition at line 35 of file pawsloginwindow.h.


Constructor & Destructor Documentation

pawsLoginWindow::pawsLoginWindow ( )
pawsLoginWindow::pawsLoginWindow ( const pawsLoginWindow origin) [inline]

TODO: Copy constructor, useless currently. Would be implemented later.

Definition at line 40 of file pawsloginwindow.h.


Member Function Documentation

void pawsLoginWindow::ConnectionFailed ( )

This method notifies the LoginWindow that connection attempt failed.

void pawsLoginWindow::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.

void pawsLoginWindow::Hide ( ) [virtual]

Makes widget invisible and removes focus if widget has current focus.

Sets visible FALSE, hides border if present and then if focused when called it calls SetCurrentFocusedWidget(NULL).

Reimplemented from pawsWidget.

bool pawsLoginWindow::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 pawsLoginWindow::OnChange ( pawsWidget widget) [virtual]

Called whenever a widget is selected.

Parameters:
widgetThe widget acted upon.
Returns:
Notify parent and return result FALSE if no parent.

Reimplemented from pawsWidget.

void pawsLoginWindow::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.

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

void pawsLoginWindow::UpdateUserPasswdFromConfig ( )

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