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


Public Member Functions | |
| void | Activate (bool new_value) |
| Active this window. | |
| void | Draw () |
| render this window to the screen | |
| bool | IsActive () |
| Check if status window is active. | |
| StatusWindow () | |
| void | Update () |
| update function handles input to the window | |
| ~StatusWindow () | |
Private Member Functions | |
| void | _InitCharSelect () |
| initialize character selection option box | |
Private Attributes | |
| hoa_video::OptionBox | _char_select |
| character selection option box | |
| bool | _char_select_active |
| if the window is active or not | |
| hoa_global::GlobalCharacter * | _current_char |
| the current character for this screen. | |
| std::vector< hoa_video::StillImage > | _full_portraits |
| char portraits | |
| hoa_video::StillImage | _location_graphic |
| A graphic for the location (map) that the player is currently on. | |
****************************************************************************
This window display all the attributes of the character. You can scroll through them all as well, to view all the different characters.
Definition at line 270 of file menu_views.h.
| hoa_menu::private_menu::StatusWindow::StatusWindow | ( | ) |
Definition at line 561 of file menu_views.cpp.
References _char_select, _current_char, _full_portraits, _InitCharSelect(), hoa_global::GameGlobal::GetActiveParty(), hoa_global::GlobalParty::GetActorAtIndex(), hoa_global::GlobalActor::GetFilename(), hoa_global::GlobalParty::GetPartySize(), hoa_video::OptionBox::GetSelection(), hoa_global::GlobalManager, 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:

| hoa_menu::private_menu::StatusWindow::~StatusWindow | ( | ) |
Definition at line 586 of file menu_views.cpp.
References _full_portraits, hoa_video::GameVideo::DeleteImage(), hoa_global::GameGlobal::GetActiveParty(), hoa_global::GlobalParty::GetPartySize(), hoa_global::GlobalManager, and hoa_video::VideoManager.
Here is the call graph for this function:

| void hoa_menu::private_menu::StatusWindow::_InitCharSelect | ( | ) | [private] |
initialize character selection option box
Definition at line 604 of file menu_views.cpp.
References _char_select, hoa_global::GameGlobal::GetActiveParty(), hoa_global::GlobalParty::GetPartySize(), hoa_global::GlobalManager, hoa_utils::MakeUnicodeString(), hoa_video::OptionBox::SetCellSize(), hoa_video::OptionBox::SetCursorOffset(), hoa_video::OptionBox::SetCursorState(), hoa_video::OptionBox::SetFont(), hoa_video::OptionBox::SetHorizontalWrapMode(), hoa_video::OptionBox::SetOptionAlignment(), hoa_video::OptionBox::SetOptions(), hoa_video::private_video::GUIElement::SetPosition(), hoa_video::OptionBox::SetSelection(), hoa_video::OptionBox::SetSize(), hoa_video::OptionBox::SetVerticalWrapMode(), hoa_video::VIDEO_CURSOR_STATE_HIDDEN, hoa_video::VIDEO_WRAP_MODE_SHIFTED, hoa_video::VIDEO_WRAP_MODE_STRAIGHT, hoa_video::VIDEO_X_LEFT, and hoa_video::VIDEO_Y_CENTER.
Referenced by StatusWindow().
Here is the call graph for this function:

| void hoa_menu::private_menu::StatusWindow::Activate | ( | bool | new_value | ) |
Active this window.
| new_value | true to activate window, false to deactivate window |
Definition at line 595 of file menu_views.cpp.
References _char_select, _char_select_active, hoa_video::OptionBox::SetCursorState(), hoa_video::VIDEO_CURSOR_STATE_HIDDEN, and hoa_video::VIDEO_CURSOR_STATE_VISIBLE.
Referenced by hoa_menu::MenuMode::_HandleStatusMenu(), and Update().
Here is the call graph for this function:

| void hoa_menu::private_menu::StatusWindow::Draw | ( | ) | [virtual] |
render this window to the screen
Reimplemented from hoa_video::MenuWindow.
Definition at line 657 of file menu_views.cpp.
References _char_select, _current_char, _full_portraits, hoa_video::OptionBox::Draw(), hoa_video::GameVideo::DrawImage(), hoa_video::GameVideo::DrawText(), hoa_global::GlobalActor::GetAgility(), hoa_global::GlobalActor::GetEvade(), hoa_global::GlobalCharacter::GetExperienceForNextLevel(), hoa_global::GlobalActor::GetExperienceLevel(), hoa_global::GlobalActor::GetFortitude(), hoa_global::GlobalActor::GetHitPoints(), hoa_global::GlobalActor::GetMaxHitPoints(), hoa_global::GlobalActor::GetMaxSkillPoints(), hoa_global::GlobalActor::GetName(), hoa_global::GlobalActor::GetProtection(), hoa_video::OptionBox::GetSelection(), hoa_global::GlobalActor::GetSkillPoints(), hoa_global::GlobalActor::GetStrength(), hoa_global::GlobalActor::GetVigor(), hoa_utils::MakeUnicodeString(), hoa_video::GameVideo::Move(), hoa_video::GameVideo::MoveRelative(), hoa_video::GameVideo::SetDrawFlags(), hoa_video::VIDEO_BLEND, hoa_video::VIDEO_X_CENTER, 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:

| bool hoa_menu::private_menu::StatusWindow::IsActive | ( | ) | [inline] |
Check if status window is active.
Definition at line 312 of file menu_views.h.
References _char_select_active.
Referenced by hoa_menu::MenuMode::Update().
| void hoa_menu::private_menu::StatusWindow::Update | ( | ) |
update function handles input to the window
Definition at line 629 of file menu_views.cpp.
References _char_select, _current_char, hoa_menu::MenuMode::_instance, hoa_menu::MenuMode::_menu_sounds, Activate(), hoa_input::GameInput::CancelPress(), hoa_input::GameInput::DownPress(), hoa_global::GameGlobal::GetActiveParty(), hoa_global::GlobalParty::GetActorAtIndex(), hoa_video::OptionBox::GetEvent(), hoa_video::OptionBox::GetSelection(), hoa_global::GlobalManager, hoa_video::OptionBox::HandleCancelKey(), hoa_video::OptionBox::HandleDownKey(), hoa_video::OptionBox::HandleUpKey(), hoa_input::InputManager, hoa_video::OptionBox::Update(), hoa_input::GameInput::UpPress(), and hoa_video::VIDEO_OPTION_CANCEL.
Referenced by hoa_menu::MenuMode::Update().
Here is the call graph for this function:

character selection option box
Definition at line 285 of file menu_views.h.
Referenced by _InitCharSelect(), Activate(), Draw(), StatusWindow(), and Update().
bool hoa_menu::private_menu::StatusWindow::_char_select_active [private] |
if the window is active or not
Definition at line 282 of file menu_views.h.
Referenced by Activate(), and IsActive().
the current character for this screen.
Definition at line 279 of file menu_views.h.
Referenced by Draw(), StatusWindow(), and Update().
std::vector<hoa_video::StillImage> hoa_menu::private_menu::StatusWindow::_full_portraits [private] |
char portraits
Definition at line 273 of file menu_views.h.
Referenced by Draw(), StatusWindow(), and ~StatusWindow().
A graphic for the location (map) that the player is currently on.
Definition at line 276 of file menu_views.h.
1.5.1