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

#include <AutonotesBook.h>

Inheritance diagram for GUIWindow_AutonotesBook:
GUIWindow_Book GUIWindow

Public Member Functions

 GUIWindow_AutonotesBook ()
 
virtual ~GUIWindow_AutonotesBook ()
 
virtual void Update () override
 
- Public Member Functions inherited from GUIWindow_Book
 GUIWindow_Book ()
 
virtual ~GUIWindow_Book ()
 
virtual void Release () override
 
void bookButtonClicked (BookButtonAction action)
 
- 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 recalculateCurrentNotesTypePages ()
 

Private Attributes

int _startingNotesIdx
 
int _currentPage
 
int _currentPageNotes
 
std::vector< int > _activeNotesIdx
 
std::unordered_map< int, int > _notesPerPage
 

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
 
- Protected Attributes inherited from GUIWindow_Book
GUIWindowpChildBooksOverlay { nullptr }
 
GraphicsImageui_book_button8_off { nullptr }
 
GraphicsImageui_book_button8_on { nullptr }
 
GraphicsImageui_book_button7_off { nullptr }
 
GraphicsImageui_book_button7_on { nullptr }
 
GraphicsImageui_book_button6_off { nullptr }
 
GraphicsImageui_book_button6_on { nullptr }
 
GraphicsImageui_book_button5_off { nullptr }
 
GraphicsImageui_book_button5_on { nullptr }
 
GraphicsImageui_book_button4_off { nullptr }
 
GraphicsImageui_book_button4_on { nullptr }
 
GraphicsImageui_book_button3_off { nullptr }
 
GraphicsImageui_book_button3_on { nullptr }
 
GraphicsImageui_book_button2_off { nullptr }
 
GraphicsImageui_book_button2_on { nullptr }
 
GraphicsImageui_book_button1_off { nullptr }
 
GraphicsImageui_book_button1_on { nullptr }
 
GraphicsImageui_book_map_frame { nullptr }
 
GraphicsImageui_book_quest_div_bar { nullptr }
 
bool _bookButtonClicked { false }
 
BookButtonAction _bookButtonAction
 

Constructor & Destructor Documentation

◆ GUIWindow_AutonotesBook()

GUIWindow_AutonotesBook::GUIWindow_AutonotesBook ( )

◆ ~GUIWindow_AutonotesBook()

virtual GUIWindow_AutonotesBook::~GUIWindow_AutonotesBook ( )
inlinevirtual

Member Function Documentation

◆ recalculateCurrentNotesTypePages()

void GUIWindow_AutonotesBook::recalculateCurrentNotesTypePages ( )
protected

◆ Update()

void GUIWindow_AutonotesBook::Update ( )
overridevirtual

Reimplemented from GUIWindow.

Member Data Documentation

◆ _activeNotesIdx

std::vector<int> GUIWindow_AutonotesBook::_activeNotesIdx
private

◆ _currentPage

int GUIWindow_AutonotesBook::_currentPage
private

◆ _currentPageNotes

int GUIWindow_AutonotesBook::_currentPageNotes
private

◆ _notesPerPage

std::unordered_map<int, int> GUIWindow_AutonotesBook::_notesPerPage
private

◆ _startingNotesIdx

int GUIWindow_AutonotesBook::_startingNotesIdx
private

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