Face_button Class Reference

#include <Face_button.h>

Inheritance diagram for Face_button:

Inheritance graph
[legend]
Collaboration diagram for Face_button:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Face_button (Gump *par, int px, int py, Actor *a)
virtual Actorget_actor ()
virtual void double_clicked (int x, int y)
virtual void activate ()
virtual void push ()
virtual void unpush ()
virtual void update_widget ()

Protected Attributes

Actoractor

Detailed Description

Definition at line 30 of file Face_button.h.


Constructor & Destructor Documentation

Face_button::Face_button ( Gump par,
int  px,
int  py,
Actor a 
)

Definition at line 28 of file Face_button.cc.

References Paperdoll_gump::Paperdoll_npc::file, Actor::get_sexed_coloured_shape(), Actor::get_shape_real(), ShapeID::get_shapenum(), Paperdoll_gump::GetCharacterInfo(), Paperdoll_gump::GetCharacterInfoSafe(), Paperdoll_gump::Paperdoll_npc::head_frame, Paperdoll_gump::Paperdoll_npc::head_shape, ShapeID::set_file(), ShapeID::set_frame(), and ShapeID::set_shape().

Here is the call graph for this function:


Member Function Documentation

virtual Actor* Face_button::get_actor (  )  [inline, virtual]

Definition at line 36 of file Face_button.h.

References actor.

void Face_button::double_clicked ( int  x,
int  y 
) [virtual]

Reimplemented from Gump_button.

Reimplemented in Portrait_button.

Definition at line 43 of file Face_button.cc.

References actor, and Actor::show_inventory().

Here is the call graph for this function:

virtual void Face_button::activate (  )  [inline, virtual]

Implements Gump_button.

Definition at line 38 of file Face_button.h.

virtual void Face_button::push (  )  [inline, virtual]

Reimplemented from Gump_button.

Definition at line 40 of file Face_button.h.

virtual void Face_button::unpush (  )  [inline, virtual]

Reimplemented from Gump_button.

Definition at line 41 of file Face_button.h.

void Face_button::update_widget (  )  [virtual]

Reimplemented from Gump_widget.

Reimplemented in Portrait_button.

Definition at line 48 of file Face_button.cc.

References actor, Game_window::add_dirty(), Paperdoll_gump::Paperdoll_npc::file, ShapeID::get_framenum(), Gump_widget::get_rect(), Actor::get_sexed_coloured_shape(), Actor::get_shape_real(), ShapeID::get_shapefile(), ShapeID::get_shapenum(), Paperdoll_gump::GetCharacterInfo(), Paperdoll_gump::GetCharacterInfoSafe(), Game_singletons::gwin, Paperdoll_gump::Paperdoll_npc::head_frame, Paperdoll_gump::Paperdoll_npc::head_shape, ShapeID::set_file(), ShapeID::set_frame(), and ShapeID::set_shape().

Referenced by Portrait_button::update_widget().

Here is the call graph for this function:


Member Data Documentation

Actor* Face_button::actor [protected]

Definition at line 33 of file Face_button.h.

Referenced by Portrait_button::double_clicked(), double_clicked(), get_actor(), Portrait_button::Portrait_button(), Portrait_button::update_widget(), and update_widget().


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