package
0.0.0-20200209144017-64d6413ef8b8
Repository: https://github.com/ccdirectlink/ccupdateroc.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

BorderTitle produces a border for the shadowing effect under a title.
ButtonAction creates a 'OK' button for some given text (likely 'OK').
ButtonBar provides a 'button-bar' to put at the bottom of dialogs.
ButtonIcon creates an 'icon button'.
ButtonWarningFixAction creates a 'fix XYZ' button.
InformationPanel applies InformationPanelDetails.
LayoutDocument creates a 'document' format element, with a title header & body.
LayoutMsgbox provides a 'message box' body layout.
ListItem sets up a list item.
MarginBody is the amount to push the page body by.
NewIconPtr returns a UILayoutElement for an icon at the given DP size.
NewUISearchBoxPtr : Given ListItemDetails, implements a box that can search through them.
ScrollboxV sets up a fancy scrollbox with added decoration.
Setup sets the sizes, fonts and borders according to the given scale.

# Constants

BackIconID is a back arrow.
DirectoryIconID is an icon with the 'folder' style.
DriveIconID is a drive.
GameIconID is an icon to represent the game.
MenuIconID is a sandwich.
ModIconID is a gear.
NullIconID should be used when no icon should be placed at all.
RunIconID is a right-facing triangle.
ThemeBackground is the colour for most page content.
ThemeBackgroundSearch is the colour for searchboxbackground.
ThemeBackgroundTitle is the colour for the page title background.
ThemeBackgroundUnderlayer is the colour for backgrounds in "underground" lists.
ThemeBackgroundWarning is the colour for warning backgrounds.
ThemeImpossibleActionButton is the colour for buttons that fail, but will explain why it is impossible.
ThemeOkActionButton is the colour for OK or Install buttons.
ThemePlaceholder is the colour for placeholders.
ThemeRemoveActionButton is the colour for Remove buttons.
ThemeSubText is for 'detail' text that doesn't matter that much.
ThemeText is the colour for most text.
ThemeTextInputHint is the colour for text hints.
ThemeTextInputSuggestion is the colour for text input suggestions.
ThemeTextWarning is the colour for warning text.
ThemeUpdateActionButton is the colour for Update buttons.
ToolIconID is a claw hammer.
WarningIconID is a rounded triangle with '!' cut into it.

# Variables

ButtonTextFont for buttons.
DesignScale is the current scale for the Design.
GlobalFont for most text.
ListItemSubTextFont for undertext.
ListItemTextFont for main list item text.
PageTitleFont for a page title.
ScrollbarThemeH is the ScrollbarTheme for horizontal scrollbars.
ScrollbarThemeV is the ScrollbarTheme for vertical scrollbars.
ScrollboxExterior should be wrapped around scrollboxen.
SizeMarginAroundEverything is a useful margin around the body, etc.
SizeTextNudge is the amount to nudge text vertically downwards to make it seem even.
SizeWindow is the size of the main window.
SizeWindowInit is the size of the main window at 1x scale (used for initialization).

# Structs

Header describes a 'title' header.
InformationPanelDetails tags a block of content with an icon.
ListItemDetails contains details for a list item.

# Type aliases

IconID represents a specific icon.
SortListItemDetails is a sort.Interface implementation for use on ListItemDetails slices.