comparison Widgets/UnitDisplayWidget.cs @ 48:23238d998535

Re #86: Complete initial GTK# UI * Add "notes" section to unit tab
author IBBoard <dev@ibboard.co.uk>
date Sun, 15 Aug 2010 14:34:06 +0000
parents a35c8be46006
children d29ad8445461
comparison
equal deleted inserted replaced
47:07fd9f7b0dd1 48:23238d998535
24 this.Build(); 24 this.Build();
25 stack = commandStack; 25 stack = commandStack;
26 unit = sourceUnit; 26 unit = sourceUnit;
27 unitName.Text = unit.Name; 27 unitName.Text = unit.Name;
28 unitSize.Value = unit.Size; 28 unitSize.Value = unit.Size;
29 notesView.Buffer.Text = unit.UnitType.Notes;
29 double max = unit.UnitType.MaxSize; 30 double max = unit.UnitType.MaxSize;
30 31
31 if (max == -1) 32 if (max == -1)
32 { 33 {
33 max = double.MaxValue; 34 max = double.MaxValue;