swift
Loading...
Searching...
No Matches
XSwiftBus::CMessage Struct Reference

Class representing a single line of text to be drawn in a message box. More...

#include <messages.h>

Public Types

using string = decltype(Private::empty_u8string())
 String type.

Public Member Functions

 CMessage (const string &text, float r=1, float g=1, float b=1)
 Constructor.

Public Attributes

string m_text
 Text.
std::array< float, 3 > m_rgb
 Color.

Detailed Description

Class representing a single line of text to be drawn in a message box.

Definition at line 35 of file messages.h.

Member Typedef Documentation

◆ string

using XSwiftBus::CMessage::string = decltype(Private::empty_u8string())

String type.

Definition at line 38 of file messages.h.

Constructor & Destructor Documentation

◆ CMessage()

XSwiftBus::CMessage::CMessage ( const string & text,
float r = 1,
float g = 1,
float b = 1 )
inline

Constructor.

Definition at line 41 of file messages.h.

Member Data Documentation

◆ m_rgb

std::array<float, 3> XSwiftBus::CMessage::m_rgb

Color.

Definition at line 47 of file messages.h.

◆ m_text

string XSwiftBus::CMessage::m_text

Text.

Definition at line 44 of file messages.h.


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