ROSE 0.11.145.229
Public Member Functions | Public Attributes | List of all members
Rose::BinaryAnalysis::Unparser::Style Struct Reference

Description

Style of text.

Definition at line 17 of file Unparser/Settings.h.

#include <Rose/BinaryAnalysis/Unparser/Settings.h>

Collaboration diagram for Rose::BinaryAnalysis::Unparser::Style:
Collaboration graph
[legend]

Public Member Functions

 Style ()
 Construct an empty style using default colors.
 
 Style (const Sawyer::Optional< Color::HSV > &fg, const Sawyer::Optional< Color::HSV > &bg=Sawyer::Nothing())
 Construct a new style with the specified foreground and background colors.
 
std::string ansiStyle () const
 Generate the ANSI escape for the style.
 

Public Attributes

Sawyer::Optional< Color::HSVforeground
 Optional foreground color.
 
Sawyer::Optional< Color::HSVbackground
 Optional background color.
 

Constructor & Destructor Documentation

◆ Style() [1/2]

Rose::BinaryAnalysis::Unparser::Style::Style ( )
inline

Construct an empty style using default colors.

Definition at line 22 of file Unparser/Settings.h.

◆ Style() [2/2]

Rose::BinaryAnalysis::Unparser::Style::Style ( const Sawyer::Optional< Color::HSV > &  fg,
const Sawyer::Optional< Color::HSV > &  bg = Sawyer::Nothing() 
)
inline

Construct a new style with the specified foreground and background colors.

Definition at line 25 of file Unparser/Settings.h.

Member Data Documentation

◆ foreground

Sawyer::Optional<Color::HSV> Rose::BinaryAnalysis::Unparser::Style::foreground

Optional foreground color.

Definition at line 18 of file Unparser/Settings.h.

◆ background

Sawyer::Optional<Color::HSV> Rose::BinaryAnalysis::Unparser::Style::background

Optional background color.

Definition at line 19 of file Unparser/Settings.h.


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