ufe 5.5
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
Ufe::CellInfo Struct Reference

Structure for information to draw a text cell. More...

#include <uiInfoHandler.h>

Collaboration diagram for Ufe::CellInfo:

Public Member Functions

 CellInfo ()=default
 
 CellInfo (const std::string &argFontName, double argFontPointSize, bool argFontBold, bool argFontItalics, bool argFontStrikeout, const Color3f &argTextFgColor, const Color3f &argTextBgColor)
 
 CellInfo (const CellInfo &)=default
 

Public Attributes

std::string fontName
 Font family name. More...
 
double fontPointSize {-1.0}
 Font point size. More...
 
bool fontBold {false}
 Use bold font? More...
 
bool fontItalics {false}
 Use italics font? More...
 
bool fontStrikeout {false}
 Use strikeout font? More...
 
Color3f textFgColor
 Text foreground color. More...
 
Color3f textBgColor
 Text background color. More...
 

Detailed Description

Structure for information to draw a text cell.

Provides a method where editors that are displaying UFE data can query for cell information (such as font or text color) used when displaying an item.

Definition at line 28 of file uiInfoHandler.h.

Constructor & Destructor Documentation

◆ CellInfo() [1/3]

Ufe::CellInfo::CellInfo ( )
default

◆ CellInfo() [2/3]

Ufe::CellInfo::CellInfo ( const std::string &  argFontName,
double  argFontPointSize,
bool  argFontBold,
bool  argFontItalics,
bool  argFontStrikeout,
const Color3f argTextFgColor,
const Color3f argTextBgColor 
)

◆ CellInfo() [3/3]

Ufe::CellInfo::CellInfo ( const CellInfo )
default

Member Data Documentation

◆ fontBold

bool Ufe::CellInfo::fontBold {false}

Use bold font?

Definition at line 49 of file uiInfoHandler.h.

◆ fontItalics

bool Ufe::CellInfo::fontItalics {false}

Use italics font?

Definition at line 52 of file uiInfoHandler.h.

◆ fontName

std::string Ufe::CellInfo::fontName

Font family name.

Definition at line 43 of file uiInfoHandler.h.

◆ fontPointSize

double Ufe::CellInfo::fontPointSize {-1.0}

Font point size.

Definition at line 46 of file uiInfoHandler.h.

◆ fontStrikeout

bool Ufe::CellInfo::fontStrikeout {false}

Use strikeout font?

Definition at line 55 of file uiInfoHandler.h.

◆ textBgColor

Color3f Ufe::CellInfo::textBgColor

Text background color.

Definition at line 61 of file uiInfoHandler.h.

◆ textFgColor

Color3f Ufe::CellInfo::textFgColor

Text foreground color.

Definition at line 58 of file uiInfoHandler.h.


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