INOS
CTFTIncoBitmap Class Reference
Inheritance diagram for CTFTIncoBitmap:

Public Member Functions

 CTFTIncoBitmap (CINOSSioTftExpTab *apParent, XMLNode axVarNode, void *apData, uint16 auSize)
 Constructor.
 
virtual ~CTFTIncoBitmap ()
 Destructor.
 
virtual const charFindName (const char *apLangName=NULL)
 Get string form of current value.
 
void SetCoordY (uint16 auCoordY)
 
uint8 * GetData ()
 
uint16 GetSize ()
 
- Public Member Functions inherited from CTFTIncoMember
 CTFTIncoMember (CINOSSioTftExpTab *apParent, XMLNode axVarNode)
 Constructor.
 
virtual ~CTFTIncoMember ()
 Destructor.
 
virtual void GetValueLimited (char *apBuf, uint32 auSize)
 Get string form of current value.
 
virtual void GetValue (char *apBuf, uint32 auSize)
 Get string form of current value.
 
virtual void SetValue (char *apBuf)
 Set new value.
 
virtual void GetUnit (char *apBuf, uint32 auSize)
 Get unit of member.
 
virtual uint32 GetCharacteristics ()
 Get characteristics of member.
 
bool SetCharacteristics (uint32 auChar, ETFTCharCmd aeCmd)
 Change characteristics.
 
virtual bool IsWritable (uint32 auUserLevel)
 Check if member is writable for editing with given level.
 
virtual void SelLanguage (const char *apLangName, const char *apLangFile, const char *apLangFileEnd)
 Set name according to selected language (or default).
 
virtual bool UpdateInco ()
 Update inco item pointer if member has one.
 
virtual bool RepaintNeeded ()
 Update member and check if anything requires a repaint.
 
virtual const charGetName ()
 Get current name of member (depends on selected language).
 
virtual void GetDefaultName (char *apBuf, uint32 auSize)
 Get default name independent of language.
 
virtual bool CanToggle ()
 Returns true if the member can be toggled.
 
virtual void Toggle ()
 Toggles the value of this member.
 
virtual uint16 GetCoordX ()
 
virtual uint16 GetCoordY ()
 
virtual uint16 GetSizeX ()
 
virtual uint16 GetSizeY ()
 
virtual bool HitTest (uint16 auCoordX, uint16 auCoordY)
 
virtual EBlockTextAlignment GetAlignment ()
 
uint8 GetForeColor ()
 
uint8 GetBackColor ()
 
void SetBackColor (uint8 auColor)
 
uint8 GetFrame ()
 
STFTFontInfoGetFont ()
 
void SetReadOnly ()
 
void SetWritable ()
 
uint8 GetKeyBoard () const
 

Protected Attributes

uint8 * m_pData
 Pointer to bitmap data.
 
uint16 m_uSize
 
- Protected Attributes inherited from CTFTIncoMember
CINOSSioTftExpTabm_pParent
 
XMLNode m_xVarNode
 Config node for this member.
 
const charm_pName
 Pointer to current name (depending on language).
 
uint32 m_uType
 Type of member.
 
uint16 m_uColumns
 Column setting (value, unit) for this member.
 
uint16 m_uCoordX
 X coordinate of member (to check for touches).
 
uint16 m_uCoordY
 Y coordinate of member (to check for touches).
 
uint8 m_uHeight
 Height of this member.
 
uint16 m_uSizeX
 X size of member.
 
uint16 m_uSizeY
 Y size of member.
 
EBlockTextAlignment m_eAlign
 
uint8 m_uColFore
 
uint8 m_uColBack
 
uint8 m_uFrame
 
uint8 m_uKeyboard
 required keyboard
 
bool m_bReadOnly
 Flag indicating if the user is not allowed to change the member.
 
bool m_bUserReadOnly
 Flag indicating if the user is not allowed to change the member in this state.
 
STFTFontInfo m_Font
 Font for this member.
 

Friends

class CINOSSioTftExpTab
 

Member Function Documentation

◆ FindName()

virtual const char * CTFTIncoBitmap::FindName ( const char apLangName = NULL)
virtual

Get string form of current value.

Parameters
apBufBuffer to receive value string.
auSizeSize of string buffer.

Find member name according to given language.

Parameters
apLangNameName of language to look for, NULL for default name.
Returns
Matching member name (or default).

Reimplemented from CTFTIncoMember.

◆ SetCoordY()

void CTFTIncoBitmap::SetCoordY ( uint16  auCoordY)
inlinevirtual

Reimplemented from CTFTIncoMember.


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