OpenEnroth 3d41500
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GUIWindow_MessageScroll Class Reference

#include <UIMessageScroll.h>

Inheritance diagram for GUIWindow_MessageScroll:
GUIWindow

Public Member Functions

 GUIWindow_MessageScroll (Pointi position, Sizei dimensions, ItemId scroll_type, std::string_view hint={})
 
virtual ~GUIWindow_MessageScroll ()
 
virtual void Update () override
 
- Public Member Functions inherited from GUIWindow
 GUIWindow (WindowType windowType, Pointi position, Sizei dimensions, std::string_view hint={})
 
virtual ~GUIWindow ()
 
 GUIWindow (const GUIWindow &other)=delete
 
GUIWindowoperator= (const GUIWindow &other)=delete
 
GUIButtonCreateButton (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={})
 
GUIButtonCreateButton (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)
 
int DrawTextInRect (GUIFont *font, Pointi position, Color color, std::string_view text, int rect_width, int reverse_text)
 
void DrawDialoguePanel (std::string_view text)
 
GUIButtonGetControl (unsigned int uID)
 
void setKeyboardControlGroup (int buttonsCount, bool msgOnSelect, int selectStep, int initialPosition)
 
virtual void Update ()
 
virtual void Release ()
 
void DeleteButtons ()
 

Public Attributes

ItemId scroll_type = ITEM_NULL
 
- Public Attributes inherited from GUIWindow
Recti frameRect
 
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
 

Additional Inherited Members

- Static Public Member Functions inherited from GUIWindow
static void InitializeGUI ()
 
static void DrawText (GUIFont *font, Pointi position, Color color, std::string_view text, Recti frameRect, int maxY=0, Color shadowColor=colorTable.Black)
 
static void DrawTitleText (GUIFont *font, int horizontalMargin, int verticalMargin, Color color, std::string_view text, int lineSpacing, Recti frameRect)
 
static void DrawFlashingInputCursor (int uX, int uY, GUIFont *a2, Recti frameRect)
 
static void DrawShops_next_generation_time_string (Duration time, Recti frameRect)
 
static void DrawMessageBox (bool inside_game_viewport, Recti &frameRect, std::string hint)
 

Constructor & Destructor Documentation

◆ GUIWindow_MessageScroll()

GUIWindow_MessageScroll::GUIWindow_MessageScroll ( Pointi  position,
Sizei  dimensions,
ItemId  scroll_type,
std::string_view  hint = {} 
)
inline

◆ ~GUIWindow_MessageScroll()

virtual GUIWindow_MessageScroll::~GUIWindow_MessageScroll ( )
inlinevirtual

Member Function Documentation

◆ Update()

void GUIWindow_MessageScroll::Update ( )
overridevirtual

Reimplemented from GUIWindow.

Member Data Documentation

◆ scroll_type

ItemId GUIWindow_MessageScroll::scroll_type = ITEM_NULL

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