#include <txtattr.h>
Inheritance diagram for CharDescription:
Public Member Functions | |
CharDescription & | operator= (CharDescription &that) |
BOOL | operator== (CharDescription &that) const |
BOOL | operator!= (CharDescription &that) const |
Public Attributes | |
UINT32 | charHandle |
Private Member Functions | |
CharDescription () | |
CharDescription (CharDescription &that) | |
CharDescription constructor from another CharDescriptor. | |
CharDescription (WCHAR CharCode, WORD TypefaceHandle, BOOL Bold, BOOL Italic) | |
CharDescription constructor. | |
WCHAR | GetCharCode () |
WORD | GetTypefaceHandle () |
BOOL | GetBold () |
BOOL | GetItalic () |
- | [INPUTS] | |
- | [OUTPUTS] |
Errors: -
Definition at line 1776 of file txtattr.h.
|
Definition at line 1781 of file txtattr.h.
|
|
CharDescription constructor from another CharDescriptor.
Definition at line 8200 of file txtattr.cpp. 08201 { 08202 charHandle = that.charHandle; 08203 }
|
|
CharDescription constructor.
Definition at line 8178 of file txtattr.cpp. 08179 { 08180 charHandle = CharCode <<16; // CharCode occupies HI-WORD 08181 charHandle+=(Bold ? 1<<15 : 0); // Top bit of LOW-WORD 08182 charHandle+=(Italic ? 1<<14 : 0); // Next bit 08183 charHandle+= TypefaceHandle; // Lowest 14 bits of LOW-WORD 08184 08185 ERROR3IF (CharCode!=GetCharCode() || TypefaceHandle!=GetTypefaceHandle() || 08186 Bold!=GetBold() || Italic!=GetItalic(), "Invalid CharHandle generated"); 08187 }
|
|
Definition at line 1787 of file txtattr.h. 01787 { return ((charHandle & 0x00008000) != 0); }
|
|
Definition at line 1785 of file txtattr.h. 01785 { return (WCHAR)(charHandle >> 16); }
|
|
Definition at line 1788 of file txtattr.h. 01788 { return ((charHandle & 0x00004000) != 0); }
|
|
Definition at line 1786 of file txtattr.h. 01786 { return (WORD)(charHandle & 0x00003FFF); }
|
|
Definition at line 1795 of file txtattr.h. 01795 { return this->charHandle!=that.charHandle; }
|
|
Definition at line 1793 of file txtattr.h. 01793 { this->charHandle =that.charHandle; return *this; }
|
|
Definition at line 1794 of file txtattr.h. 01794 { return this->charHandle==that.charHandle; }
|
|
|