OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
GUIWindow_CharacterRecord Class Reference

#include <UICharacter.h>

Inheritance diagram for GUIWindow_CharacterRecord:
GUIWindow

Public Member Functions

 GUIWindow_CharacterRecord (int uActiveCharacter, ScreenType screen)
 
virtual ~GUIWindow_CharacterRecord ()
 
virtual void Update () override
 
void ShowStatsTab ()
 
void ShowSkillsTab ()
 
void ShowInventoryTab ()
 
void ShowAwardsTab ()
 
void ToggleRingsOverlay ()
 
void clickAwardsUp ()
 
void clickAwardsDown ()
 
void clickAwardsScroll (int yPos)
 
void createAwardsScrollBar ()
 
void releaseAwardsScrollBar ()
 
- Public Member Functions inherited from GUIWindow
 GUIWindow ()
 
 GUIWindow (WindowType windowType, Pointi position, Sizei dimensions, std::string_view hint={})
 
virtual ~GUIWindow ()=default
 
GUIButtonCreateButton (Pointi position, Sizei dimensions, int uButtonType, int uData, UIMessageType msg, unsigned int msg_param, Io::InputAction action=Io::InputAction::Invalid, std::string_view label={}, const std::vector< GraphicsImage * > &textures={})
 
GUIButtonCreateButton (std::string id, Pointi position, Sizei dimensions, int uButtonType, int uData, UIMessageType msg, unsigned int msg_param, Io::InputAction action=Io::InputAction::Invalid, std::string_view label={}, const std::vector< GraphicsImage * > &textures={})
 
bool Contains (unsigned int x, unsigned int y)
 
void DrawFlashingInputCursor (int uX, int uY, GUIFont *a2)
 
int DrawTextInRect (GUIFont *font, Pointi position, Color color, std::string_view text, int rect_width, int reverse_text)
 
void DrawText (GUIFont *font, Pointi position, Color color, std::string_view text, int maxHeight=0, Color shadowColor=colorTable.Black)
 
void DrawTitleText (GUIFont *font, int horizontalMargin, int verticalMargin, Color color, std::string_view text, int lineSpacing)
 
void DrawShops_next_generation_time_string (Duration time)
 
void DrawMessageBox (bool inside_game_viewport)
 
GUIButtonGetControl (unsigned int uID)
 
void setKeyboardControlGroup (int buttonsCount, bool msgOnSelect, int selectStep, int initialPosition)
 
virtual void Update ()
 
virtual void Release ()
 
void DeleteButtons ()
 

Protected Member Functions

void CharacterUI_StatsTab_Draw (Character *)
 
void CharacterUI_SkillsTab_Draw (Character *)
 
void CharacterUI_AwardsTab_Draw (Character *)
 
void CharacterUI_SkillsTab_CreateButtons ()
 
void fillAwardsData ()
 
std::string getAchievedAwardsString (int idx)
 
GUIWindow prepareAwardsWindow ()
 

Private Attributes

bool _awardsScrollBarCreated = false
 
int _awardsCharacterId = -1
 
int _startAwardElem = 0
 
int _scrollableAwardSteps = 0
 
bool _awardLimitReached = false
 
std::vector< int > _achievedAwardsList
 

Additional Inherited Members

- Static Public Member Functions inherited from GUIWindow
static void InitializeGUI ()
 
- Public Attributes inherited from GUIWindow
int uFrameX = 0
 
int uFrameY = 0
 
int uFrameWidth = 0
 
int uFrameHeight = 0
 
int uFrameZ = 0
 
int uFrameW = 0
 
WindowType eWindowType = WINDOW_null
 
int field_24 = 0
 
int pNumPresenceButton = 0
 
int pCurrentPosActiveItem = 0
 
bool _msgOnKeyboardSelect = true
 
int _selectStep = 0
 
int pStartingPosActiveItem = 0
 
WindowInputStatus keyboard_input_status = WINDOW_INPUT_NONE
 
bool receives_keyboard_input = false
 
std::string sHint
 
std::vector< GUIButton * > vButtons
 
std::shared_ptr< Io::Mousemouse = nullptr
 

Constructor & Destructor Documentation

◆ GUIWindow_CharacterRecord()

GUIWindow_CharacterRecord::GUIWindow_CharacterRecord ( int  uActiveCharacter,
ScreenType  screen 
)

◆ ~GUIWindow_CharacterRecord()

virtual GUIWindow_CharacterRecord::~GUIWindow_CharacterRecord ( )
inlinevirtual

Member Function Documentation

◆ CharacterUI_AwardsTab_Draw()

void GUIWindow_CharacterRecord::CharacterUI_AwardsTab_Draw ( Character player)
protected
Original binary offset:
0x41A000

◆ CharacterUI_SkillsTab_CreateButtons()

void GUIWindow_CharacterRecord::CharacterUI_SkillsTab_CreateButtons ( )
protected

◆ CharacterUI_SkillsTab_Draw()

void GUIWindow_CharacterRecord::CharacterUI_SkillsTab_Draw ( Character player)
protected

◆ CharacterUI_StatsTab_Draw()

void GUIWindow_CharacterRecord::CharacterUI_StatsTab_Draw ( Character player)
protected

◆ clickAwardsDown()

void GUIWindow_CharacterRecord::clickAwardsDown ( )

◆ clickAwardsScroll()

void GUIWindow_CharacterRecord::clickAwardsScroll ( int  yPos)

◆ clickAwardsUp()

void GUIWindow_CharacterRecord::clickAwardsUp ( )

◆ createAwardsScrollBar()

void GUIWindow_CharacterRecord::createAwardsScrollBar ( )

◆ fillAwardsData()

void GUIWindow_CharacterRecord::fillAwardsData ( )
protected
Original binary offset:
0x419100

◆ getAchievedAwardsString()

std::string GUIWindow_CharacterRecord::getAchievedAwardsString ( int  idx)
protected

◆ prepareAwardsWindow()

GUIWindow GUIWindow_CharacterRecord::prepareAwardsWindow ( )
protected

◆ releaseAwardsScrollBar()

void GUIWindow_CharacterRecord::releaseAwardsScrollBar ( )

◆ ShowAwardsTab()

void GUIWindow_CharacterRecord::ShowAwardsTab ( )

◆ ShowInventoryTab()

void GUIWindow_CharacterRecord::ShowInventoryTab ( )

◆ ShowSkillsTab()

void GUIWindow_CharacterRecord::ShowSkillsTab ( )

◆ ShowStatsTab()

void GUIWindow_CharacterRecord::ShowStatsTab ( )

◆ ToggleRingsOverlay()

void GUIWindow_CharacterRecord::ToggleRingsOverlay ( )

◆ Update()

void GUIWindow_CharacterRecord::Update ( )
overridevirtual

Reimplemented from GUIWindow.

Member Data Documentation

◆ _achievedAwardsList

std::vector<int> GUIWindow_CharacterRecord::_achievedAwardsList
private

◆ _awardLimitReached

bool GUIWindow_CharacterRecord::_awardLimitReached = false
private

◆ _awardsCharacterId

int GUIWindow_CharacterRecord::_awardsCharacterId = -1
private

◆ _awardsScrollBarCreated

bool GUIWindow_CharacterRecord::_awardsScrollBarCreated = false
private

◆ _scrollableAwardSteps

int GUIWindow_CharacterRecord::_scrollableAwardSteps = 0
private

◆ _startAwardElem

int GUIWindow_CharacterRecord::_startAwardElem = 0
private

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