Exemplo n.º 1
0
        public void NewSpec(InputModule mod)
        {
            uint seed = mod.Input;

            _table = new ColorPattern(seed, null);

            mod.Value = seed;

            _rgba.SetText(null, "", null);
            _rgba.Visible = true;

            _native.SetText(null, "", null);
            _native.Visible = true;
        }
Exemplo n.º 2
0
        public OrderAndDepthGUI()
        {
            this.Text = "Order And Depth GUI";

            _spec = new InputModule(this, "Spec", 95, 25);
            _spec.SetText("No spec given", "01238888", "New Spec");
            _spec.OnSubmit = NewSpec;
            _spec.Visible  = true;

            _rgba = new InputModule(this, "RGBA", 30, 145);
            _rgba.SetText("RGBA Color Field", null, "--->");
            _rgba.OnSubmit = RGBAToNative;

            _native = new InputModule(this, "Native", 160, 145);
            _native.SetText("Native Color Field", null, "<---");
            _native.OnSubmit = NativeToRGBA;
        }