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

#include <UISpellbook.h>

Inheritance diagram for GUIWindow_Spellbook:
GUIWindow

Public Member Functions

 GUIWindow_Spellbook ()
 
virtual ~GUIWindow_Spellbook ()
 
virtual void Update () override
 
virtual void Release () override
 
void openSpellbookPage (MagicSchool page)
 
- 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 loadSpellbook ()
 
void openSpellbook ()
 
void initializeTextures ()
 
void drawCurrentSchoolBackground ()
 
void onCloseSpellBook ()
 
void onCloseSpellBookPage ()
 

Protected Attributes

GraphicsImageui_spellbook_btn_quckspell = nullptr
 
GraphicsImageui_spellbook_btn_quckspell_click = nullptr
 
GraphicsImageui_spellbook_btn_close = nullptr
 
GraphicsImageui_spellbook_btn_close_click = nullptr
 
IndexedArray< GraphicsImage *, MAGIC_SCHOOL_FIRST, MAGIC_SCHOOL_LASTui_spellbook_school_backgrounds = {}
 
IndexedArray< std::array< GraphicsImage *, 2 >, MAGIC_SCHOOL_FIRST, MAGIC_SCHOOL_LASTui_spellbook_school_tabs = {}
 
std::array< GraphicsImage *, 12 > SBPageCSpellsTextureList {}
 
std::array< GraphicsImage *, 12 > SBPageSSpellsTextureList {}
 

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_Spellbook()

GUIWindow_Spellbook::GUIWindow_Spellbook ( )

◆ ~GUIWindow_Spellbook()

virtual GUIWindow_Spellbook::~GUIWindow_Spellbook ( )
inlinevirtual

Member Function Documentation

◆ drawCurrentSchoolBackground()

void GUIWindow_Spellbook::drawCurrentSchoolBackground ( )
protected

◆ initializeTextures()

void GUIWindow_Spellbook::initializeTextures ( )
protected

◆ loadSpellbook()

void GUIWindow_Spellbook::loadSpellbook ( )
protected

◆ onCloseSpellBook()

void GUIWindow_Spellbook::onCloseSpellBook ( )
protected

◆ onCloseSpellBookPage()

void GUIWindow_Spellbook::onCloseSpellBookPage ( )
protected

◆ openSpellbook()

void GUIWindow_Spellbook::openSpellbook ( )
protected

◆ openSpellbookPage()

void GUIWindow_Spellbook::openSpellbookPage ( MagicSchool  page)

◆ Release()

void GUIWindow_Spellbook::Release ( )
overridevirtual

Reimplemented from GUIWindow.

◆ Update()

void GUIWindow_Spellbook::Update ( )
overridevirtual

Reimplemented from GUIWindow.

Member Data Documentation

◆ SBPageCSpellsTextureList

std::array<GraphicsImage *, 12> GUIWindow_Spellbook::SBPageCSpellsTextureList {}
protected

◆ SBPageSSpellsTextureList

std::array<GraphicsImage *, 12> GUIWindow_Spellbook::SBPageSSpellsTextureList {}
protected

◆ ui_spellbook_btn_close

GraphicsImage* GUIWindow_Spellbook::ui_spellbook_btn_close = nullptr
protected

◆ ui_spellbook_btn_close_click

GraphicsImage* GUIWindow_Spellbook::ui_spellbook_btn_close_click = nullptr
protected

◆ ui_spellbook_btn_quckspell

GraphicsImage* GUIWindow_Spellbook::ui_spellbook_btn_quckspell = nullptr
protected

◆ ui_spellbook_btn_quckspell_click

GraphicsImage* GUIWindow_Spellbook::ui_spellbook_btn_quckspell_click = nullptr
protected

◆ ui_spellbook_school_backgrounds

IndexedArray<GraphicsImage *, MAGIC_SCHOOL_FIRST, MAGIC_SCHOOL_LAST> GUIWindow_Spellbook::ui_spellbook_school_backgrounds = {}
protected

◆ ui_spellbook_school_tabs

IndexedArray<std::array<GraphicsImage *, 2>, MAGIC_SCHOOL_FIRST, MAGIC_SCHOOL_LAST> GUIWindow_Spellbook::ui_spellbook_school_tabs = {}
protected

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