|
OpenEnroth 7c70ca3
|
#include <UIBooks.h>
Public Member Functions | |
| 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 |
| GUIButton * | CreateButton (Pointi position, Sizei dimensions, int uButtonType, int uData, UIMessageType msg, unsigned int msg_param, InputAction action=INPUT_ACTION_INVALID, std::string_view label={}, const std::vector< GraphicsImage * > &textures={}) |
| GUIButton * | CreateButton (std::string id, Pointi position, Sizei dimensions, int uButtonType, int uData, UIMessageType msg, unsigned int msg_param, InputAction action=INPUT_ACTION_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 maxY=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) |
| GUIButton * | GetControl (unsigned int uID) |
| void | setKeyboardControlGroup (int buttonsCount, bool msgOnSelect, int selectStep, int initialPosition) |
| virtual void | Update () |
| virtual void | Release () |
| void | DeleteButtons () |
| Recti | frameRect () const |
Protected Attributes | |
| GUIWindow * | pChildBooksOverlay { nullptr } |
| GraphicsImage * | ui_book_button8_off { nullptr } |
| GraphicsImage * | ui_book_button8_on { nullptr } |
| GraphicsImage * | ui_book_button7_off { nullptr } |
| GraphicsImage * | ui_book_button7_on { nullptr } |
| GraphicsImage * | ui_book_button6_off { nullptr } |
| GraphicsImage * | ui_book_button6_on { nullptr } |
| GraphicsImage * | ui_book_button5_off { nullptr } |
| GraphicsImage * | ui_book_button5_on { nullptr } |
| GraphicsImage * | ui_book_button4_off { nullptr } |
| GraphicsImage * | ui_book_button4_on { nullptr } |
| GraphicsImage * | ui_book_button3_off { nullptr } |
| GraphicsImage * | ui_book_button3_on { nullptr } |
| GraphicsImage * | ui_book_button2_off { nullptr } |
| GraphicsImage * | ui_book_button2_on { nullptr } |
| GraphicsImage * | ui_book_button1_off { nullptr } |
| GraphicsImage * | ui_book_button1_on { nullptr } |
| GraphicsImage * | ui_book_map_frame { nullptr } |
| GraphicsImage * | ui_book_quest_div_bar { nullptr } |
| int | _bookButtonClicked { 0 } |
| BookButtonAction | _bookButtonAction |
Private Member Functions | |
| void | initializeFonts () |
Additional Inherited Members | |
Static Public Member Functions inherited from GUIWindow | |
| static void | InitializeGUI () |
Public Attributes inherited from GUIWindow | |
| int | uFrameWidth = 0 |
| int | uFrameHeight = 0 |
| int | uFrameX = 0 |
| int | uFrameY = 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::Mouse > | mouse = nullptr |
| GUIWindow_Book::GUIWindow_Book | ( | ) |
|
inlinevirtual |
| void GUIWindow_Book::bookButtonClicked | ( | BookButtonAction | action | ) |
|
private |
|
overridevirtual |
Reimplemented from GUIWindow.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |