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]; }
protected override void LoadRenderers() { _default = LoadRenderer <IconRenderer>(Skin, _type); _checked = LoadRenderer <IconRenderer>(Skin, _type + "_checked"); _hover = LoadRenderer <IconRenderer>(Skin, _type + "_hover"); _hoverChecked = LoadRenderer <IconRenderer>(Skin, _type + "_hover_checked"); _pressed = LoadRenderer <IconRenderer>(Skin, _type + "_pressed"); _pressedChecked = LoadRenderer <IconRenderer>(Skin, _type + "_pressed_checked"); _icon.Width = _default.Width; _icon.Height = _default.Height; }
protected override void LoadRenderers() { _default = LoadRenderer<IconRenderer>(Skin, _type); _checked = LoadRenderer<IconRenderer>(Skin, _type + "_checked"); _hover = LoadRenderer<IconRenderer>(Skin, _type + "_hover"); _hoverChecked = LoadRenderer<IconRenderer>(Skin, _type + "_hover_checked"); _pressed = LoadRenderer<IconRenderer>(Skin, _type + "_pressed"); _pressedChecked = LoadRenderer<IconRenderer>(Skin, _type + "_pressed_checked"); _icon.Width = _default.Width; _icon.Height = _default.Height; }
protected override void LoadRenderers() { _slider = LoadRenderer <SlidingDoorRenderer>(Skin, "scrollbar_holder"); _selectedSlider = LoadRenderer <SlidingDoorRenderer>(Skin, "scrollbar_bar"); _grip = LoadRenderer <IconRenderer>(Skin, "grip"); }
protected override void LoadRenderers() { _slider = LoadRenderer<SlidingDoorRenderer>(Skin, "scrollbar_holder"); _selectedSlider = LoadRenderer<SlidingDoorRenderer>(Skin, "scrollbar_bar"); _grip = LoadRenderer<IconRenderer>(Skin, "grip"); }
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]; }