Ejemplo n.º 1
0
        public CustomHuePickerGump(Mobile from, CustomHuePicker definition, CustomHuePickerCallback callback, object state) : base(50, 50)
        {
            m_From       = from;
            m_Definition = definition;
            m_Callback   = callback;
            m_State      = state;

            RenderBackground();
            RenderCategories();
        }
Ejemplo n.º 2
0
        public CustomHuePickerGump(Mobile from, CustomHuePicker definition, CustomHuePickerCallback callback, object state)
            : base(50, 50)
        {
            Intern("*****");

            if (definition.DefaultSupported)
            {
                Intern("DEFAULT");
            }

            m_From       = from;
            m_Definition = definition;
            m_Callback   = callback;
            m_State      = state;

            RenderBackground();
            RenderCategories();
        }
Ejemplo n.º 3
0
        public CustomHuePickerGump(Mobile from, CustomHuePicker definition, CustomHuePickerCallback callback, object state)
            : base(50, 50)
        {
            m_From       = from;
            m_Definition = definition;
            m_Callback   = callback;
            m_State      = state;

            if (definition == CustomHuePicker.MetallicDyeTub)
            {
                RenderMetallicBackground();
                RenderMetallicCategories();
            }
            else
            {
                RenderBackground();
                RenderCategories();
            }
        }
Ejemplo n.º 4
0
        public CustomHuePickerGump(Mobile from, CustomHuePicker definition, CustomHuePickerCallback callback, object state)
            : base(50, 50)
        {
            this.m_From = from;
            this.m_Definition = definition;
            this.m_Callback = callback;
            this.m_State = state;

            this.RenderBackground();
            this.RenderCategories();
        }
Ejemplo n.º 5
0
        public CustomHuePickerGump( Mobile from, CustomHuePicker definition, CustomHuePickerCallback callback, object state )
            : base(50, 50)
        {
            Intern( "*****" );

            if ( definition.DefaultSupported )
                Intern( "DEFAULT" );

            m_From = from;
            m_Definition = definition;
            m_Callback = callback;
            m_State = state;

            RenderBackground();
            RenderCategories();
        }