示例#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;
 }
示例#2
0
文件: Style.cs 项目: vlapchenko/nfx
  /// <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;
 }
示例#3
0
文件: Style.cs 项目: vlapchenko/nfx
 public void ClearHAlignment(){ m_HAlignment = null; notify(); }
示例#4
0
 public void ClearHAlignment()
 {
     m_HAlignment = null; notify();
 }