Spellscroll_gump Class Reference

#include <Spellbook_gump.h>

Inheritance diagram for Spellscroll_gump:

Inheritance graph
[legend]
Collaboration diagram for Spellscroll_gump:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Spellscroll_gump (Game_object *s)
 ~Spellscroll_gump ()
virtual void do_spell (int spell)
virtual void select_spell (int)
virtual Game_objectget_owner ()
virtual Gump_buttonon_button (int mx, int my)
virtual void paint_button (Gump_button *btn)
virtual void paint ()

Private Attributes

Game_objectscroll
Gump_buttonspell
int spwidth
int spheight

Detailed Description

Definition at line 79 of file Spellbook_gump.h.


Constructor & Destructor Documentation

Spellscroll_gump::Spellscroll_gump ( Game_object s  ) 

Definition at line 523 of file Spellbook_gump.cc.

References Shape_frame::get_height(), Shape_frame::get_width(), Shape_frame::get_xleft(), Shape_frame::get_yabove(), SCROLLSPELLS, and SF_GUMPS_VGA.

Here is the call graph for this function:

Spellscroll_gump::~Spellscroll_gump (  ) 

Definition at line 547 of file Spellbook_gump.cc.


Member Function Documentation

void Spellscroll_gump::do_spell ( int  spell  )  [virtual]

Implements Spelltype_gump.

Definition at line 558 of file Spellbook_gump.cc.

References Spellbook_object::execute_spell(), Game_window::get_main_actor(), gwin, Game_window::paint(), and Game_window::show().

Here is the call graph for this function:

virtual void Spellscroll_gump::select_spell ( int   )  [inline, virtual]

Implements Spelltype_gump.

Definition at line 88 of file Spellbook_gump.h.

Game_object * Spellscroll_gump::get_owner (  )  [virtual]

Reimplemented from Gump.

Definition at line 575 of file Spellbook_gump.cc.

Gump_button * Spellscroll_gump::on_button ( int  mx,
int  my 
) [virtual]

Reimplemented from Gump.

Definition at line 588 of file Spellbook_gump.cc.

References Gump::on_button().

Here is the call graph for this function:

void Spellscroll_gump::paint_button ( Gump_button btn  )  [virtual]

Definition at line 605 of file Spellbook_gump.cc.

References Gump_button::paint().

Here is the call graph for this function:

void Spellscroll_gump::paint (  )  [virtual]

Reimplemented from Gump.

Definition at line 617 of file Spellbook_gump.cc.

References gwin, Gump::paint(), and Game_window::set_painted().

Here is the call graph for this function:


Member Data Documentation

Game_object* Spellscroll_gump::scroll [private]

Definition at line 81 of file Spellbook_gump.h.

Gump_button* Spellscroll_gump::spell [private]

Definition at line 82 of file Spellbook_gump.h.

int Spellscroll_gump::spwidth [private]

Definition at line 83 of file Spellbook_gump.h.

int Spellscroll_gump::spheight [private]

Definition at line 83 of file Spellbook_gump.h.


The documentation for this class was generated from the following files:
Generated on Mon Jul 9 15:03:41 2007 for ExultEngine by  doxygen 1.5.1