#include <NCTableItem.h>
Public Member Functions | |
NCTableStyle (const NCWidget &p) | |
~NCTableStyle () | |
bool | SetStyleFrom (const vector< NCstring > &head) |
void | SetSepChar (const chtype sepchar) |
void | SetSepWidht (const unsigned sepwidth) |
void | SetHotCol (const int hcol) |
void | ResetToMinCols () |
void | AssertMinCols (unsigned num) |
void | MinColWidht (unsigned num, unsigned val) |
NC::ADJUST | ColAdjust (unsigned num) const |
unsigned | Cols () const |
unsigned | ColWidht (unsigned num) const |
unsigned | ColSepwidht () const |
chtype | ColSepchar () const |
unsigned | HotCol () const |
const NCstyle::StList & | listStyle () const |
chtype | getBG () const |
chtype | getBG (const NCTableLine::STATE lstate, const NCTableCol::STYLE cstyle=NCTableCol::PLAIN) const |
chtype | highlightBG (const NCTableLine::STATE lstate, const NCTableCol::STYLE cstyle, const NCTableCol::STYLE dstyle=NCTableCol::PLAIN) const |
chtype | hotBG (const NCTableLine::STATE lstate, unsigned colidx) const |
const NCTableLine & | Headline () const |
unsigned | TableWidth () const |
Static Public Attributes | |
static const chtype | currentBG = (chtype)-1 |
Private Attributes | |
NCTableHead | headline |
vector< unsigned > | colWidht |
vector< NC::ADJUST > | colAdjust |
const NCWidget & | parw |
unsigned | colSepwidht |
chtype | colSepchar |
unsigned | hotCol |
Friends | |
std::ostream & | operator<< (std::ostream &STREAM, const NCTableStyle &OBJ) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|