15#include "Models/Colours.h"
23 void setChar(
const uchar ebcdic);
26 uchar getEBCDIC()
const {
return ebcdic; }
27 bool isFieldStart()
const {
return fieldStart; }
28 bool isAutoSkip()
const {
return prot & num; }
29 bool isNumeric()
const {
return num; }
30 bool isGraphic()
const {
return graphic; }
31 bool isMdtOn()
const {
return mdt; }
32 bool isPenSelect()
const {
return pen; }
33 bool isIntensify()
const {
return intensify; }
34 bool isExtended()
const {
return extended; }
36 bool isUScore()
const {
return getHighlight() == Q3270::Underscore; }
37 bool isReverse()
const {
return getHighlight() == Q3270::Reverse; }
38 bool isBlink()
const {
return getHighlight() == Q3270::Blink; }
42 Q3270::Colour getColour()
const;
57 void setMDT(
const bool mdt);
96 Q3270::Highlight highlight;
99 bool charAttrExtended;
101 bool charAttrCharSet;
102 bool charAttrTransparency;
105 Q3270::Colour colNum;
void setMDT(const bool mdt)
Cell::setMDT - switch the MDT flag on or off.
Definition Cell.cpp:191
void setField(Cell *c)
Cell::setField - set this cell's field pointer.
Definition Cell.cpp:278
void setColour(const Q3270::Colour col)
Cell::setColour - set the cell to colour specified.
Definition Cell.cpp:101
void setPenSelect(const bool pensel)
Cell::setPenSelect - set the lightpen-selectable on or off for the cell.
Definition Cell.cpp:238
Q3270::Highlight getHighlight() const
Cell::getHighlight - return the highlight status of this cell.
Definition Cell.cpp:336
Cell()
Cell represents a single character cell on the display matrix and all the attributes that go with tha...
Definition Cell.cpp:33
void setNumeric(const bool num)
Cell::setNumeric - set the cell to be numeric input only.
Definition Cell.cpp:167
void setDisplay(const bool display)
Cell::setDisplay - switch display on or offf for this cell.
Definition Cell.cpp:223
void setFieldStart(const bool fs)
Cell::setFieldStart - set the 'Field' flag to show whether this cell is the start of a field.
Definition Cell.cpp:128
bool isDisplay() const
Cell::isProtected - is this cell protected?
Definition Cell.cpp:66
void setProtected(const bool prot)
Cell::setProtected - switch protection on or off for this cell.
Definition Cell.cpp:211
void setExtended(const bool extend)
Cell::setExtended - set the extended field status.
Definition Cell.cpp:262
void setGraphic(const bool ge)
Cell::setGraphic - set the 'graphic escape' flag.
Definition Cell.cpp:179
void copy(const Cell &)
Cell::copy - copy pertinent parts from another Cell.
Definition Cell.cpp:420
void setCharAttrs(Q3270::CharAttr, bool)
Cell::setCharAttrs - set the characater attribute.
Definition Cell.cpp:356
void setIntensify(const bool intens)
Cell::setIntensify - set the intensity of the cell.
Definition Cell.cpp:250
void resetCharAttrs()
Cell::resetCharAttrs - switch off all character attributes.
Definition Cell.cpp:405
void setHighlight(const Q3270::Highlight h)
Cell::setHighlight - set the highlight of the cell to the specified value.
Definition Cell.cpp:81
bool isProtected() const
Cell::isProtected - return whether this field is protected or not.
Definition Cell.cpp:312
bool hasCharAttrs(const Q3270::CharAttr) const
Cell::hasCharAttrs - return the status of the specified character attribute.
Definition Cell.cpp:381
void setChar(const uchar ebcdic)
Cell::setChar - set the cell to the character specified.
Definition Cell.cpp:90
void reset()
Cell::reset - reset the cell to default values.
Definition Cell.cpp:43
Cell * getField()
Cell::getField - get the address of the field cell that owns this one.
Definition Cell.cpp:291