#include <menu_views.h>
Inheritance diagram for hoa_menu::private_menu::CharacterWindow:


Public Member Functions | |
| CharacterWindow () | |
| void | Draw () |
| render this window to the screen | |
| void | SetCharacter (hoa_global::GlobalCharacter *character) |
| Set the character for this window. | |
| ~CharacterWindow () | |
Private Attributes | |
| uint32 | _char_id |
| The name of the character that this window corresponds) to. | |
| hoa_video::StillImage | _portrait |
| The image of the character. | |
****************************************************************************
There should be one of these windows for each character in the game. It will contain all the information of the character and handle its draw placement.
Definition at line 103 of file menu_views.h.
| hoa_menu::private_menu::CharacterWindow::CharacterWindow | ( | ) |
Definition at line 49 of file menu_views.cpp.
References _char_id, and hoa_global::GLOBAL_CHARACTER_INVALID.
| hoa_menu::private_menu::CharacterWindow::~CharacterWindow | ( | ) |
Definition at line 56 of file menu_views.cpp.
References _portrait, hoa_video::GameVideo::DeleteImage(), and hoa_video::VideoManager.
Here is the call graph for this function:

| void hoa_menu::private_menu::CharacterWindow::Draw | ( | ) | [virtual] |
render this window to the screen
Reimplemented from hoa_video::MenuWindow.
Definition at line 77 of file menu_views.cpp.
References _char_id, _portrait, hoa_video::GameVideo::DrawImage(), hoa_video::GameVideo::DrawText(), hoa_global::GameGlobal::GetCharacter(), hoa_video::MenuWindow::GetDimensions(), hoa_global::GlobalCharacter::GetExperienceForNextLevel(), hoa_global::GlobalActor::GetExperienceLevel(), hoa_global::GlobalActor::GetHitPoints(), hoa_global::GlobalActor::GetMaxHitPoints(), hoa_global::GlobalActor::GetMaxSkillPoints(), hoa_global::GlobalActor::GetName(), hoa_video::private_video::GUIElement::GetPosition(), hoa_global::GlobalActor::GetSkillPoints(), hoa_global::GLOBAL_CHARACTER_INVALID, hoa_global::GlobalManager, hoa_utils::MakeUnicodeString(), hoa_video::GameVideo::Move(), hoa_video::GameVideo::MoveRelative(), hoa_video::GameVideo::SetDrawFlags(), hoa_video::VIDEO_X_LEFT, hoa_video::VIDEO_Y_TOP, and hoa_video::VideoManager.
Referenced by hoa_menu::MenuMode::Draw().
Here is the call graph for this function:

| void hoa_menu::private_menu::CharacterWindow::SetCharacter | ( | hoa_global::GlobalCharacter * | character | ) |
Set the character for this window.
| character | the character to associate with this window |
Definition at line 64 of file menu_views.cpp.
References _char_id, _portrait, hoa_global::GlobalActor::GetFilename(), hoa_global::GlobalActor::GetID(), hoa_video::GameVideo::LoadImage(), hoa_video::StillImage::SetDimensions(), hoa_video::StillImage::SetFilename(), hoa_video::StillImage::SetStatic(), and hoa_video::VideoManager.
Here is the call graph for this function:

The name of the character that this window corresponds) to.
Definition at line 106 of file menu_views.h.
Referenced by CharacterWindow(), Draw(), and SetCharacter().
The image of the character.
Definition at line 109 of file menu_views.h.
Referenced by Draw(), SetCharacter(), and ~CharacterWindow().
1.5.1