follow naming scheme

This commit is contained in:
Jörg Breitbart
2019-01-13 23:50:58 +01:00
parent c444eebd89
commit 70ded42bee
3 changed files with 22 additions and 22 deletions
+2 -2
View File
@@ -220,8 +220,8 @@ export class AttributeData implements IAttributeData {
public isDim(): number { return this.bg & BgFlags.DIM; }
// color modes
public getColormodeFg(): number { return this.fg & Attributes.CM_MASK; }
public getColormodeBg(): number { return this.bg & Attributes.CM_MASK; }
public getFgColormode(): number { return this.fg & Attributes.CM_MASK; }
public getBgColormode(): number { return this.bg & Attributes.CM_MASK; }
public isFgRGB(): boolean { return (this.fg & Attributes.CM_MASK) === Attributes.CM_RGB; }
public isBgRGB(): boolean { return (this.bg & Attributes.CM_MASK) === Attributes.CM_RGB; }
public isFgPalette(): boolean { return (this.fg & Attributes.CM_MASK) === Attributes.CM_P16 || (this.fg & Attributes.CM_MASK) === Attributes.CM_P256; }