Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
diff FrmAddEquipment.cs @ 51:dafbd432ca23
Re #60: Add UI to add/remove/edit weapons in GTK
* Start to implement Add functionality using a new abstraction concept that keeps the UI dumb and keeps the logic in a cross-toolkit controller
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 21 Aug 2010 20:00:03 +0000 |
parents | |
children | 4bad8cb3f889 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/FrmAddEquipment.cs Sat Aug 21 20:00:03 2010 +0000 @@ -0,0 +1,39 @@ +// This file (FrmAddEquipment.cs) is a part of the IBBoard.WarFoundry.GUI.GTK project and is copyright 2010 IBBoard +// +// The file and the library/program it is in are licensed and distributed, without warranty, under the GNU Affero GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license. +using System; +using IBBoard.WarFoundry.GUI.GTK.UIControl.Interfaces; +using IBBoard.WarFoundry.API.Objects; +namespace IBBoard.WarFoundry.GUI.GTK +{ + public partial class FrmAddEquipment : Gtk.Dialog, IAddEquipmentUI + { + public FrmAddEquipment() + { + this.Build(); + } + + public event SingleArgMethodInvoker<UnitEquipmentItem> UnitEquipmentItemChoiceChanged; + + public void SetUnitEquipmentItems(UnitEquipmentItem[] items) + { + throw new NotImplementedException(); + } + + public void SetUnitEquipmentLimits(bool isRatioLimit, double minPercent, double maxPercent, int minNumber, int maxNumber) + { + throw new NotImplementedException(); + } + + public void SetUnitEquipmentLimitsEnabled(bool isEnabled) + { + throw new NotImplementedException(); + } + + public void ShowControl() + { + throw new NotImplementedException(); + } + } +} +