Ejemplo n.º 1
0
        protected override void LoadRenderers()
        {
            _default = LoadRenderer <SlidingDoorRenderer>(Skin, "button");
            _hover   = LoadRenderer <SlidingDoorRenderer>(Skin, "button_hover");
            _pressed = LoadRenderer <SlidingDoorRenderer>(Skin, "button_pushed");

            switch (OpenDirection)
            {
            case CardinalDirection.North: {
                _dropDownDark  = LoadRenderer <SlidingDoorRenderer>(Skin, "dark_drop_down_inverted");
                _dropDownLight = LoadRenderer <SlidingDoorRenderer>(Skin, "light_drop_down_inverted");
                _dropDownHover = LoadRenderer <SlidingDoorRenderer>(Skin, "hover_drop_down_inverted");
                break;
            }

            case CardinalDirection.South: {
                _dropDownDark  = LoadRenderer <SlidingDoorRenderer>(Skin, "dark_drop_down");
                _dropDownLight = LoadRenderer <SlidingDoorRenderer>(Skin, "light_drop_down");
                _dropDownHover = LoadRenderer <SlidingDoorRenderer>(Skin, "hover_drop_down");
                break;
            }
            }

            _dropDownRender = LoadRenderer <IconRenderer>(Skin, "drop_down");

            _textRenderer = RenderManager.Texts[RenderManager.DefaultText];
        }
Ejemplo n.º 2
0
        protected override void LoadRenderers()
        {
            _default = LoadRenderer <SlidingDoorRenderer>(Skin, "button");
            _hover   = LoadRenderer <SlidingDoorRenderer>(Skin, "button_hover");
            _pressed = LoadRenderer <SlidingDoorRenderer>(Skin, "button_pushed");

            _textRenderer = RenderManager.Texts[Text];
        }
Ejemplo n.º 3
0
 protected override void LoadRenderers()
 {
     _slider         = LoadRenderer <SlidingDoorRenderer>(Skin, "scrollbar_holder");
     _selectedSlider = LoadRenderer <SlidingDoorRenderer>(Skin, "scrollbar_bar");
     _grip           = LoadRenderer <IconRenderer>(Skin, "grip");
 }
Ejemplo n.º 4
0
 protected override void LoadRenderers()
 {
     _slider = LoadRenderer<SlidingDoorRenderer>(Skin, "scrollbar_holder");
     _selectedSlider = LoadRenderer<SlidingDoorRenderer>(Skin, "scrollbar_bar");
     _grip = LoadRenderer<IconRenderer>(Skin, "grip");
 }
Ejemplo n.º 5
0
        protected override void LoadRenderers()
        {
            _default = LoadRenderer<SlidingDoorRenderer>(Skin, "button");
            _hover = LoadRenderer<SlidingDoorRenderer>(Skin, "button_hover");
            _pressed = LoadRenderer<SlidingDoorRenderer>(Skin, "button_pushed");

            switch (OpenDirection) {
                case CardinalDirection.North: {
                    _dropDownDark = LoadRenderer<SlidingDoorRenderer>(Skin, "dark_drop_down_inverted");
                    _dropDownLight = LoadRenderer<SlidingDoorRenderer>(Skin, "light_drop_down_inverted");
                    _dropDownHover = LoadRenderer<SlidingDoorRenderer>(Skin, "hover_drop_down_inverted");
                    break;
                } case CardinalDirection.South: {
                    _dropDownDark = LoadRenderer<SlidingDoorRenderer>(Skin, "dark_drop_down");
                    _dropDownLight = LoadRenderer<SlidingDoorRenderer>(Skin, "light_drop_down");
                    _dropDownHover = LoadRenderer<SlidingDoorRenderer>(Skin, "hover_drop_down");
                    break;
                }
            }

            _dropDownRender = LoadRenderer<IconRenderer>(Skin, "drop_down");

            _textRenderer = RenderManager.Texts[RenderManager.DefaultText];
        }
Ejemplo n.º 6
0
        protected override void LoadRenderers()
        {
            _default = LoadRenderer<SlidingDoorRenderer>(Skin, "button");
            _hover = LoadRenderer<SlidingDoorRenderer>(Skin, "button_hover");
            _pressed = LoadRenderer<SlidingDoorRenderer>(Skin, "button_pushed");

            _textRenderer = RenderManager.Texts[Text];
        }