BuySellDialog Class Reference
[User interface related classes (windows, dialogs)]

#include <buysell.h>

Inheritance diagram for BuySellDialog:

Window

List of all members.


Detailed Description

A dialog to choose between buying or selling at a shop.

Definition at line 34 of file buysell.h.


Public Member Functions

 BuySellDialog ()
 Constructor.
void logic ()
 Check for current NPC.
void setVisible (bool visible)
 Overloads window setVisible by Guichan to allow sticky window handling.
void action (const gcn::ActionEvent &event)
 Called when receiving actions from the widgets.

Constructor & Destructor Documentation

BuySellDialog::BuySellDialog (  ) 

Constructor.

The action listener passed will receive "sell", "buy" or "cancel" events when the respective buttons are pressed.

See also:
Window::Window

Definition at line 33 of file buysell.cpp.


Member Function Documentation

void BuySellDialog::logic (  ) 

Check for current NPC.

Definition at line 61 of file buysell.cpp.

void BuySellDialog::setVisible ( bool  visible  ) 

Overloads window setVisible by Guichan to allow sticky window handling.

Reimplemented from Window.

Definition at line 69 of file buysell.cpp.

void BuySellDialog::action ( const gcn::ActionEvent &  event  ) 

Called when receiving actions from the widgets.

Definition at line 77 of file buysell.cpp.


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

Generated on Sun Apr 26 17:30:43 2009 for The Mana World by  doxygen 1.5.5