The Battle for Wesnoth  1.19.0-dev
Public Member Functions | Public Attributes | List of all members
gui2::event::message_show_tooltip Struct Reference

The message for MESSAGE_SHOW_TOOLTIP. More...

#include <message.hpp>

Inheritance diagram for gui2::event::message_show_tooltip:

Public Member Functions

 message_show_tooltip (const std::string &message_, const point &location_, const SDL_Rect &source_rect_)
 
- Public Member Functions inherited from gui2::event::message
 message ()=default
 
 message (const message &)=delete
 
virtual ~message ()
 

Public Attributes

const std::string message
 The message to show on the tooltip. More...
 
const point location
 The location where to show the tooltip. More...
 
const SDL_Rect source_rect
 The size of the entity requesting to show a tooltip. More...
 

Detailed Description

The message for MESSAGE_SHOW_TOOLTIP.

Definition at line 58 of file message.hpp.

Constructor & Destructor Documentation

◆ message_show_tooltip()

gui2::event::message_show_tooltip::message_show_tooltip ( const std::string &  message_,
const point location_,
const SDL_Rect &  source_rect_ 
)
inline

Definition at line 60 of file message.hpp.

Member Data Documentation

◆ location

const point gui2::event::message_show_tooltip::location

The location where to show the tooltip.

Definition at line 69 of file message.hpp.

Referenced by gui2::window::signal_handler_message_show_tooltip().

◆ message

const std::string gui2::event::message_show_tooltip::message

The message to show on the tooltip.

Definition at line 66 of file message.hpp.

Referenced by gui2::window::signal_handler_message_show_tooltip().

◆ source_rect

const SDL_Rect gui2::event::message_show_tooltip::source_rect

The size of the entity requesting to show a tooltip.

Definition at line 72 of file message.hpp.

Referenced by gui2::window::signal_handler_message_show_tooltip().


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