Example #1
0
 public GSkills() : base(50, 50, 250, 0x7d)
 {
     base.m_Children.Add(new GVResizer(this));
     base.m_Children.Add(new GHResizer(this));
     base.m_Children.Add(new GLResizer(this));
     base.m_Children.Add(new GTResizer(this));
     base.m_Children.Add(new GHVResizer(this));
     base.m_Children.Add(new GLTResizer(this));
     base.m_Children.Add(new GHTResizer(this));
     base.m_Children.Add(new GLVResizer(this));
     this.m_ShowReal = false;
     this.m_Total    = new GLabel(string.Format("Total: {0:F1}", this.GetTotalSkillCount()), Engine.GetUniFont(1), Hues.Bright, 0, 0);
     base.m_Children.Add(this.m_Total);
     this.m_ValueType   = new GTextButton("Used Values", Engine.GetUniFont(1), Hues.Bright, Hues.Load(0x35), 0, 0, new OnClick(this.ValueType_OnClick));
     this.m_ValueType.X = 4 - this.m_ValueType.Image.xMin;
     base.m_Children.Add(this.m_ValueType);
     this.m_SkillList = new GSkillList(this);
     base.m_Children.Add(this.m_SkillList);
     this.Width  = 250;
     this.Height = 0x7d;
 }
Example #2
0
 public GSkills()
     : base(50, 50, 250, 0x7d)
 {
     base.m_Children.Add(new GVResizer(this));
     base.m_Children.Add(new GHResizer(this));
     base.m_Children.Add(new GLResizer(this));
     base.m_Children.Add(new GTResizer(this));
     base.m_Children.Add(new GHVResizer(this));
     base.m_Children.Add(new GLTResizer(this));
     base.m_Children.Add(new GHTResizer(this));
     base.m_Children.Add(new GLVResizer(this));
     this.m_ShowReal = false;
     this.m_Total = new GLabel(string.Format("Total: {0:F1}", this.GetTotalSkillCount()), Engine.GetUniFont(1), Hues.Bright, 0, 0);
     base.m_Children.Add(this.m_Total);
     this.m_ValueType = new GTextButton("Used Values", Engine.GetUniFont(1), Hues.Bright, Hues.Load(0x35), 0, 0, new OnClick(this.ValueType_OnClick));
     this.m_ValueType.X = 4 - this.m_ValueType.Image.xMin;
     base.m_Children.Add(this.m_ValueType);
     this.m_SkillList = new GSkillList(this);
     base.m_Children.Add(this.m_SkillList);
     this.Width = 250;
     this.Height = 0x7d;
 }