public void GetDefaultTextColour(MHColour colour) { MHApplication pApp = CurrentApp(); if (pApp != null && pApp.TextColour.IsSet()) { colour.Copy(pApp.TextColour); } else { colour.SetFromString("\u00FF\u00FF\u00FF\u0000"); // '=FF=FF=FF=00' UK MHEG Default - white } }
public void GetDefaultBGColour(MHColour colour) { MHApplication pApp = CurrentApp(); if (pApp != null && pApp.BGColour.IsSet()) { colour.Copy(pApp.BGColour); } else { colour.SetFromString("\u0000\u0000\u0000\u00FF"); // '=00=00=00=FF' Default - transparent } }
public void GetDefaultButtonRefColour(MHColour colour) { MHApplication pApp = CurrentApp(); if (pApp != null && pApp.ButtonRefColour.IsSet()) { colour.Copy(pApp.ButtonRefColour); } else { colour.SetFromString("\u00FF\u00FF\u00FF\u0000"); // '=FF=FF=FF=00' ??? Not specified in UK MHEG } }
public virtual void SetLineColour(MHColour colour, MHEngine engine) { InvalidAction("SetLineColour"); }
public virtual void SetBackgroundColour(MHColour colour, MHEngine engine) { InvalidAction("SetBackgroundColour"); }
public void Copy(MHColour col) { m_nColIndex = col.m_nColIndex; m_ColStr.Copy(col.m_ColStr); }