The Battle for Wesnoth  1.19.5+dev
Public Member Functions | Public Attributes | List of all members
gui2::event::message_show_helptip Struct Reference

The message for MESSAGE_SHOW_HELPTIP. More...

#include <message.hpp>

Inheritance diagram for gui2::event::message_show_helptip:

Public Member Functions

 message_show_helptip (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 helptip. More...
 
const point location
 The location where to show the helptip. More...
 
const SDL_Rect source_rect
 The size of the entity requesting to show a helptip. More...
 

Detailed Description

The message for MESSAGE_SHOW_HELPTIP.

Definition at line 76 of file message.hpp.

Constructor & Destructor Documentation

◆ message_show_helptip()

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

Definition at line 78 of file message.hpp.

Member Data Documentation

◆ location

const point gui2::event::message_show_helptip::location

The location where to show the helptip.

Definition at line 87 of file message.hpp.

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

◆ message

const std::string gui2::event::message_show_helptip::message

The message to show on the helptip.

Definition at line 84 of file message.hpp.

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

◆ source_rect

const SDL_Rect gui2::event::message_show_helptip::source_rect

The size of the entity requesting to show a helptip.

Definition at line 90 of file message.hpp.

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


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