Example #1
0
 /// <summary>
 /// Copies attributes from another style
 /// </summary>
 public void Assign(Style from)
 {
     m_HAlignment   = from.m_HAlignment;
     m_BGKind       = from.m_BGKind;
     m_BGColor      = from.m_BGColor;
     m_BGColor2     = from.m_BGColor2;
     m_BGHatchColor = from.m_BGHatchColor;
     m_BGHatchStyle = from.m_BGHatchStyle;
     m_Padding      = from.m_Padding;
     m_BorderLeft   = from.m_BorderLeft;
     m_BorderRight  = from.m_BorderRight;
     m_BorderTop    = from.m_BorderTop;
     m_BorderBottom = from.m_BorderBottom;
     m_Font         = from.m_Font;
 }
Example #2
0
  /// <summary>
  /// Copies attributes from another style
  /// </summary>
  public void Assign(Style from)
  {
     m_HAlignment = from.m_HAlignment;
     m_BGKind = from.m_BGKind;
     m_BGColor = from.m_BGColor;
     m_BGColor2 = from.m_BGColor2; 
     m_BGHatchColor = from.m_BGHatchColor;        
     m_BGHatchStyle = from.m_BGHatchStyle;
     m_Padding = from.m_Padding; 
     m_BorderLeft = from.m_BorderLeft;
     m_BorderRight = from.m_BorderRight;
     m_BorderTop = from.m_BorderTop;
     m_BorderBottom = from.m_BorderBottom;
     m_Font = from.m_Font;
 }
Example #3
0
 public void ClearHAlignment(){ m_HAlignment = null; notify(); }
Example #4
0
 public void ClearHAlignment()
 {
     m_HAlignment = null; notify();
 }