Planeshift
Public Member Functions | Public Attributes

pawsActiveMagicWindow Class Reference

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

#include <pawsactivemagicwindow.h>

List of all members.

Public Member Functions

void AutoResize ()
virtual void Close ()
 Simply calls Hide() unless overidden.
bool GetAutoResize ()
float GetDangerLevel ()
int GetDangerMode ()
float GetFlashLevel ()
int GetFlashMode ()
char const * GetFontName ()
 return the name of the font
bool GetShowEffects ()
bool GetShowWindow ()
bool GetUseImages ()
float GetWarnLevel ()
int GetWarnMode ()
void HandleMessage (MsgEntry *me)
virtual void Hide ()
 When the window is closed let the controller window know about it.
bool LoadSetting ()
 Loads the configuration file.
void OnResize ()
 Sets the new position of the close button.
 pawsActiveMagicWindow ()
bool PostSetup ()
 This is called after the widget and all of it's children have been created.
void SaveSetting ()
void SetAutoResize (bool setting)
void SetDangerLevel (float val, bool low)
void SetDangerMode (int i)
void SetFlashLevel (float val, bool low)
void SetFlashMode (int i)
void SetShowEffects (bool setting)
void SetShowWindow (bool setting)
bool Setup (iDocumentNode *node)
 Setup this widget.
void SetUseImages (bool setting)
void SetWarnLevel (float val, bool low)
void SetWarnMode (int i)
virtual void Show ()
 When the window is opened let the controller window know about it.
virtual ~pawsActiveMagicWindow ()

Public Attributes

pawsCheckBoxshowWindow
 Check-box which gives the user a opportunity to show or not to show the Active Magic Window.

Detailed Description

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

Definition at line 41 of file pawsactivemagicwindow.h.


Constructor & Destructor Documentation

pawsActiveMagicWindow::pawsActiveMagicWindow ( )
virtual pawsActiveMagicWindow::~pawsActiveMagicWindow ( ) [inline, virtual]

Definition at line 46 of file pawsactivemagicwindow.h.


Member Function Documentation

void pawsActiveMagicWindow::AutoResize ( )
virtual void pawsActiveMagicWindow::Close ( ) [virtual]

Simply calls Hide() unless overidden.

Reimplemented from pawsWidget.

bool pawsActiveMagicWindow::GetAutoResize ( )
float pawsActiveMagicWindow::GetDangerLevel ( )
int pawsActiveMagicWindow::GetDangerMode ( )
float pawsActiveMagicWindow::GetFlashLevel ( )
int pawsActiveMagicWindow::GetFlashMode ( )
char const* pawsActiveMagicWindow::GetFontName ( ) [inline]

return the name of the font

Definition at line 88 of file pawsactivemagicwindow.h.

bool pawsActiveMagicWindow::GetShowEffects ( )
bool pawsActiveMagicWindow::GetShowWindow ( )
bool pawsActiveMagicWindow::GetUseImages ( )
float pawsActiveMagicWindow::GetWarnLevel ( )
int pawsActiveMagicWindow::GetWarnMode ( )
void pawsActiveMagicWindow::HandleMessage ( MsgEntry me) [virtual]

Implements psClientNetSubscriber.

virtual void pawsActiveMagicWindow::Hide ( ) [virtual]

When the window is closed let the controller window know about it.

Reimplemented from pawsControlledWindow.

bool pawsActiveMagicWindow::LoadSetting ( )

Loads the configuration file.

Returns:
true if no errors and false if errors
void pawsActiveMagicWindow::OnResize ( ) [virtual]

Sets the new position of the close button.

Reimplemented from pawsWidget.

bool pawsActiveMagicWindow::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 pawsActiveMagicWindow::SaveSetting ( )
void pawsActiveMagicWindow::SetAutoResize ( bool  setting)
void pawsActiveMagicWindow::SetDangerLevel ( float  val,
bool  low 
)
void pawsActiveMagicWindow::SetDangerMode ( int  i)
void pawsActiveMagicWindow::SetFlashLevel ( float  val,
bool  low 
)
void pawsActiveMagicWindow::SetFlashMode ( int  i)
void pawsActiveMagicWindow::SetShowEffects ( bool  setting)
void pawsActiveMagicWindow::SetShowWindow ( bool  setting)
bool pawsActiveMagicWindow::Setup ( iDocumentNode *  ) [virtual]

Setup this widget.

Reimplemented from pawsWidget.

void pawsActiveMagicWindow::SetUseImages ( bool  setting)
void pawsActiveMagicWindow::SetWarnLevel ( float  val,
bool  low 
)
void pawsActiveMagicWindow::SetWarnMode ( int  i)
virtual void pawsActiveMagicWindow::Show ( void  ) [virtual]

When the window is opened let the controller window know about it.

Reimplemented from pawsControlledWindow.


Member Data Documentation

Check-box which gives the user a opportunity to show or not to show the Active Magic Window.

Definition at line 71 of file pawsactivemagicwindow.h.


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