Class UiSprites
Definition
Namespace: StardewUI.Graphics
Assembly: StardewUI.dll
Included game sprites that are required for many UI/menu widgets.
Inheritance
Object ⇦ UiSprites
Members
Properties
Name | Description |
---|---|
BannerBackground | Background for the a banner or "scroll" style text, often used for menu/dialogue titles. |
ButtonDark | Button with a darker background, usually the neutral state. |
ButtonLight | Button with a lighter background, usually used to show hover state. |
CaretLeft | A caret-style directional arrow pointing left. |
CaretRight | A caret-style directional arrow pointing right. |
CheckboxChecked | Checkbox with a green "X" through it. |
CheckboxUnchecked | Unchecked checkbox, i.e. only the border. |
CloseButton | Red X with border/background, generally used as upper-right close button for menus. |
ControlBorder | Border/background sprite for an individual control, such as a button. Less prominent than MenuBorder. |
ControlBorderUncolored | Colorless border/background sprite for an individual control, such as a button. Less prominent than MenuBorderUncolored. |
Digits | List of sprites for the outlined "tiny digits" 0-9, in that order. |
DropDownBackground | Background of a drop-down menu. |
DropDownButton | Button to pull down a drop-down menu. |
GenericHorizontalDivider | Simpler, lighter horizontal divider than the MenuHorizontalDivider, used as a horizontal rule to separate content areas without sectioning the entire menu. |
GenericHorizontalDividerUncolored | Colorless horizontal divider that is simpler and lighter the MenuHorizontalDividerUncolored, used as a horizontal rule to separate content areas without sectioning the entire menu. |
LargeDownArrow | Large down arrow, used for macro navigation. |
LargeLeftArrow | Large left arrow, used for macro navigation. |
LargeRightArrow | Large right arrow, used for macro navigation. |
LargeUpArrow | Large up arrow, used for macro navigation. |
MenuBackground | Background used for the in-game menu, not including borders. |
MenuBackgroundUncolored | Colorless background used for the in-game menu, not including borders. |
MenuBorder | Modified 9-slice sprite used for the menu border, based on menu "tiles". Used for drawing the outer border of an entire menu UI. |
MenuBorderThickness | The actual distance from the outer edges of the MenuBorder sprite to where the actual "border" really ends, in terms of pixels. The border tiles are quite large, so this tends to be needed in order to determine where the content should go without adding a ton of extra padding. |
MenuBorderUncolored | Colorless version of the modified 9-slice sprite used for the menu border, based on menu "tiles". Used for drawing the outer border of an entire menu UI. |
MenuHorizontalDivider | Modified 9-slice sprite used for the menu's horizontal divider, meant to be drawn over top of the MenuBorder to denote separate "sub-panels" or "sections" of the menu to group logically very different menu functions (as opposed to lines on a grid). |
MenuHorizontalDividerMargin | Margin adjustment to apply to content adjacent to a MenuHorizontalDivider to make content flush with the border; adjusts for internal sprite padding. |
MenuHorizontalDividerUncolored | Colorless version of the modified 9-slice sprite used for the menu's horizontal divider, meant to be drawn over top of the MenuBorderUncolored to denote separate "sub-panels" or "sections" of the menu to group logically very different menu functions (as opposed to lines on a grid). |
MenuSlotInset | Inset-style background and border, often used to hold an item or represent a slot. |
MenuSlotInsetUncolored | Colorless inset-style background and border, often used to hold an item or represent a slot. |
MenuSlotOutset | Outset-style background and border, often used to hold an item or represent a slot. |
MenuSlotTransparent | Single-line rectangular border with a slight inset look. |
MenuSlotTransparentUncolored | Colorless single-line rectangular border with a slight inset look. |
MenuVerticalDivider | Modified 9-slice sprite used for the menu's vertical divider, meant to be drawn over top of the MenuBorder to denote separate "sub-panels" or "sections" of the menu to group logically very different menu functions (as opposed to lines on a grid). |
MenuVerticalDividerMargin | Margin adjustment to apply to content adjacent to a MenuVerticalDivider to make content flush with the border; adjusts for internal sprite padding. |
MenuVerticalDividerUncolored | Colorless version of the modified 9-slice sprite used for the menu's vertical divider, meant to be drawn over top of the MenuBorderUncolored to denote separate "sub-panels" or "sections" of the menu to group logically very different menu functions (as opposed to lines on a grid). |
ScrollBarTrack | Background for the scroll bar track (which the thumb is inside). |
SliderBackground | Background of a slider control. |
SliderButton | The movable part of a slider control ("button"). |
SmallDownArrow | Small down arrow, typically used for scroll bars. |
SmallGreenPlus | A small green "+" icon. |
SmallLeftArrow | Small left arrow, typically used for top-level list navigation. |
SmallRightArrow | Small right arrow, typically used for top-level list navigation. |
SmallTrashCan | Small and tall trash can, larger than the TinyTrashCan and more suitable for tall rows. |
SmallUpArrow | Small up arrow, typically used for scroll bars. |
TabTopEmpty | Top-facing tab with no inner content, used for tab controls. |
TextBox | Border/background for a text input box. |
ThinHorizontalDivider | Simple horizontal divider, typically used to divide sections of uniform content, e.g. grid rows. |
ThinHorizontalDividerUncolored | Simple, colorless horizontal divider, typically used to divide sections of uniform content, e.g. grid rows. |
ThinVerticalDivider | Simple vertical divider, typically used to divide sections of uniform content, e.g. grid columns. |
ThinVerticalDividerUncolored | Simple, colorless vertical divider, typically used to divide sections of uniform content, e.g. grid columns. |
TinyTrashCan | Very small trash can, e.g. to be used in lists/subforms as "remove" button. |
VerticalScrollThumb | Thumb sprite used for vertical scroll bars. |
White | A single white pixel. |
WhiteBorder | Nine-slice sprite consisting of 8 white edge pixels and a transparent center. Used for simple borders. |
Details
Properties
BannerBackground
Background for the a banner or "scroll" style text, often used for menu/dialogue titles.
Property Value
ButtonDark
Button with a darker background, usually the neutral state.
Property Value
ButtonLight
Button with a lighter background, usually used to show hover state.
Property Value
CaretLeft
A caret-style directional arrow pointing left.
Property Value
Remarks
Can be used to show expanded/collapsed state, or illustrate a movement direction.
CaretRight
A caret-style directional arrow pointing right.
Property Value
Remarks
Can be used to show expanded/collapsed state, or illustrate a movement direction.
CheckboxChecked
Checkbox with a green "X" through it.
Property Value
CheckboxUnchecked
Unchecked checkbox, i.e. only the border.
Property Value
CloseButton
Red X with border/background, generally used as upper-right close button for menus.
Property Value
ControlBorder
Border/background sprite for an individual control, such as a button. Less prominent than MenuBorder.
Property Value
ControlBorderUncolored
Colorless border/background sprite for an individual control, such as a button. Less prominent than MenuBorderUncolored.
Property Value
Digits
List of sprites for the outlined "tiny digits" 0-9, in that order.
Property Value
DropDownBackground
Background of a drop-down menu.
Property Value
DropDownButton
Button to pull down a drop-down menu.
Property Value
GenericHorizontalDivider
Simpler, lighter horizontal divider than the MenuHorizontalDivider, used as a horizontal rule to separate content areas without sectioning the entire menu.
Property Value
GenericHorizontalDividerUncolored
Colorless horizontal divider that is simpler and lighter the MenuHorizontalDividerUncolored, used as a horizontal rule to separate content areas without sectioning the entire menu.
Property Value
LargeDownArrow
Large down arrow, used for macro navigation.
Property Value
LargeLeftArrow
Large left arrow, used for macro navigation.
Property Value
LargeRightArrow
Large right arrow, used for macro navigation.
Property Value
LargeUpArrow
Large up arrow, used for macro navigation.
Property Value
MenuBackground
Background used for the in-game menu, not including borders.
Property Value
MenuBackgroundUncolored
Colorless background used for the in-game menu, not including borders.
Property Value
MenuBorder
Modified 9-slice sprite used for the menu border, based on menu "tiles". Used for drawing the outer border of an entire menu UI.
Property Value
MenuBorderThickness
The actual distance from the outer edges of the MenuBorder sprite to where the actual "border" really ends, in terms of pixels. The border tiles are quite large, so this tends to be needed in order to determine where the content should go without adding a ton of extra padding.
Property Value
MenuBorderUncolored
Colorless version of the modified 9-slice sprite used for the menu border, based on menu "tiles". Used for drawing the outer border of an entire menu UI.
Property Value
MenuHorizontalDivider
Modified 9-slice sprite used for the menu's horizontal divider, meant to be drawn over top of the MenuBorder to denote separate "sub-panels" or "sections" of the menu to group logically very different menu functions (as opposed to lines on a grid).
Property Value
MenuHorizontalDividerMargin
Margin adjustment to apply to content adjacent to a MenuHorizontalDivider to make content flush with the border; adjusts for internal sprite padding.
Property Value
MenuHorizontalDividerUncolored
Colorless version of the modified 9-slice sprite used for the menu's horizontal divider, meant to be drawn over top of the MenuBorderUncolored to denote separate "sub-panels" or "sections" of the menu to group logically very different menu functions (as opposed to lines on a grid).
Property Value
MenuSlotInset
Inset-style background and border, often used to hold an item or represent a slot.
Property Value
MenuSlotInsetUncolored
Colorless inset-style background and border, often used to hold an item or represent a slot.
Property Value
MenuSlotOutset
Outset-style background and border, often used to hold an item or represent a slot.
Property Value
MenuSlotTransparent
Single-line rectangular border with a slight inset look.
Property Value
MenuSlotTransparentUncolored
Colorless single-line rectangular border with a slight inset look.
Property Value
MenuVerticalDivider
Modified 9-slice sprite used for the menu's vertical divider, meant to be drawn over top of the MenuBorder to denote separate "sub-panels" or "sections" of the menu to group logically very different menu functions (as opposed to lines on a grid).
Property Value
MenuVerticalDividerMargin
Margin adjustment to apply to content adjacent to a MenuVerticalDivider to make content flush with the border; adjusts for internal sprite padding.
Property Value
MenuVerticalDividerUncolored
Colorless version of the modified 9-slice sprite used for the menu's vertical divider, meant to be drawn over top of the MenuBorderUncolored to denote separate "sub-panels" or "sections" of the menu to group logically very different menu functions (as opposed to lines on a grid).
Property Value
ScrollBarTrack
Background for the scroll bar track (which the thumb is inside).
Property Value
SliderBackground
Background of a slider control.
Property Value
SliderButton
The movable part of a slider control ("button").
Property Value
SmallDownArrow
Small down arrow, typically used for scroll bars.
Property Value
SmallGreenPlus
A small green "+" icon.
Property Value
Remarks
Technically used to represent energy buffs, can sometimes be tinted to communicate a concept like "add to list".
SmallLeftArrow
Small left arrow, typically used for top-level list navigation.
Property Value
SmallRightArrow
Small right arrow, typically used for top-level list navigation.
Property Value
SmallTrashCan
Small and tall trash can, larger than the TinyTrashCan and more suitable for tall rows.
Property Value
SmallUpArrow
Small up arrow, typically used for scroll bars.
Property Value
TabTopEmpty
Top-facing tab with no inner content, used for tab controls.
Property Value
TextBox
Border/background for a text input box.
Property Value
ThinHorizontalDivider
Simple horizontal divider, typically used to divide sections of uniform content, e.g. grid rows.
Property Value
ThinHorizontalDividerUncolored
Simple, colorless horizontal divider, typically used to divide sections of uniform content, e.g. grid rows.
Property Value
ThinVerticalDivider
Simple vertical divider, typically used to divide sections of uniform content, e.g. grid columns.
Property Value
ThinVerticalDividerUncolored
Simple, colorless vertical divider, typically used to divide sections of uniform content, e.g. grid columns.
Property Value
TinyTrashCan
Very small trash can, e.g. to be used in lists/subforms as "remove" button.
Property Value
VerticalScrollThumb
Thumb sprite used for vertical scroll bars.
Property Value
White
A single white pixel.
Property Value
WhiteBorder
Nine-slice sprite consisting of 8 white edge pixels and a transparent center. Used for simple borders.