Package featurecat.lizzie.theme
Class Theme
java.lang.Object
featurecat.lizzie.theme.Theme
Theme Allow to load the external image invalid input: '&' theme config
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Color
array2Color
(org.json.JSONArray a, Color defaultColor) Convert option color array to ColorThe color of the blunder barThe color list of the blunder nodeThe threshold list of the blunder winrateboard()
static org.json.JSONArray
color2Array
(Color c) Convert Color to option color arrayThe background color of the comment panelThe font color of the commentint
The font size of the commentThe color of the node with the commentfontName()
Use custom font for general textint
The minimum width of the blunder barint
The node color modevoid
save()
int
The size of the shadowboolean
Show the node with the comment colorint
Current stone indicator typeUse custom font for the UIUse custom font for the Leela Zero winrate on the stoneThe color of the winrate lineThe color of the line that missed the winrateint
The stroke width of the winrate line
-
Field Details
-
pathPrefix
-
path
-
config
public org.json.JSONObject config
-
-
Constructor Details
-
Theme
public Theme(org.json.JSONObject uiConfig) -
Theme
-
-
Method Details
-
blackStone
-
whiteStone
-
board
-
background
-
blackStonePath
-
whiteStonePath
-
boardPath
-
backgroundPath
-
fontName
Use custom font for general text -
uiFontName
Use custom font for the UI -
winrateFontName
Use custom font for the Leela Zero winrate on the stone -
stoneIndicatorType
public int stoneIndicatorType()Current stone indicator type -
showCommentNodeColor
public boolean showCommentNodeColor()Show the node with the comment color -
shadowSize
public int shadowSize()The size of the shadow -
winrateStrokeWidth
public int winrateStrokeWidth()The stroke width of the winrate line -
minimumBlunderBarWidth
public int minimumBlunderBarWidth()The minimum width of the blunder bar -
commentFontSize
public int commentFontSize()The font size of the comment -
nodeColorMode
public int nodeColorMode()The node color mode -
commentBackgroundColor
The background color of the comment panel -
commentFontColor
The font color of the comment -
commentNodeColor
The color of the node with the comment -
winrateLineColor
The color of the winrate line -
scoreMeanLineColor
-
winrateMissLineColor
The color of the line that missed the winrate -
blunderBarColor
The color of the blunder bar -
blunderWinrateThresholds
The threshold list of the blunder winrate -
blunderNodeColors
The color list of the blunder node -
array2Color
Convert option color array to Color -
color2Array
Convert Color to option color array -
save
public void save()
-