Hedgehog  3.1.0
A library to generate hybrid pipeline workflow systems
Loading...
Searching...
No Matches
hh::tool::PrintOptions Struct Reference

Node print options. More...

#include "print_options.h"

Collaboration diagram for hh::tool::PrintOptions:
Collaboration graph

Classes

struct  Color
 Simple color representation. More...
 

Public Member Functions

Color background () const
 Background color accessor.
 
Color font () const
 Font color accessor.
 
void background (Color background)
 Background color setter.
 
void font (Color font)
 Font color setter.
 

Public Attributes

Color background_ = {0xff, 0xff, 0xff, 0xff}
 Background color.
 
Color font_ = {0, 0, 0, 0xff}
 Font color.
 

Detailed Description

Node print options.

Definition at line 30 of file print_options.h.

Member Function Documentation

◆ background() [1/2]

Color hh::tool::PrintOptions::background ( ) const
inline

Background color accessor.

Returns
Background color

Definition at line 44 of file print_options.h.

Here is the caller graph for this function:

◆ background() [2/2]

void hh::tool::PrintOptions::background ( Color  background)
inline

Background color setter.

Parameters
backgroundColor to set

Definition at line 51 of file print_options.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ font() [1/2]

Color hh::tool::PrintOptions::font ( ) const
inline

Font color accessor.

Returns
Font color

Definition at line 47 of file print_options.h.

◆ font() [2/2]

void hh::tool::PrintOptions::font ( Color  font)
inline

Font color setter.

Parameters
fontColor to set

Definition at line 55 of file print_options.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ background_

Color hh::tool::PrintOptions::background_ = {0xff, 0xff, 0xff, 0xff}

Background color.

Definition at line 39 of file print_options.h.

◆ font_

Color hh::tool::PrintOptions::font_ = {0, 0, 0, 0xff}

Font color.

Definition at line 40 of file print_options.h.