Added skin aliases
This commit is contained in:
@@ -27,7 +27,7 @@ allprojects {
|
|||||||
gdxVersion = '1.9.8'
|
gdxVersion = '1.9.8'
|
||||||
roboVMVersion = '2.3.0'
|
roboVMVersion = '2.3.0'
|
||||||
aiVersion = '1.8.1'
|
aiVersion = '1.8.1'
|
||||||
uCoreVersion = '3352bd2408'
|
uCoreVersion = '239e6a5bad'
|
||||||
|
|
||||||
getVersionString = {
|
getVersionString = {
|
||||||
String buildVersion = getBuildVersion()
|
String buildVersion = getBuildVersion()
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
com.badlogic.gdx.graphics.g2d.BitmapFont: {
|
Font: {
|
||||||
default-font: {
|
default-font: {
|
||||||
file: square.fnt,
|
file: square.fnt,
|
||||||
markupEnabled: true,
|
markupEnabled: true,
|
||||||
@@ -26,7 +26,7 @@ com.badlogic.gdx.graphics.g2d.BitmapFont: {
|
|||||||
scale: 2
|
scale: 2
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
com.badlogic.gdx.graphics.Color: {
|
Color: {
|
||||||
black: {a: 1, b: 0, g: 0, r: 0 },
|
black: {a: 1, b: 0, g: 0, r: 0 },
|
||||||
white: {a: 1, b: 1, g: 1, r: 1 },
|
white: {a: 1, b: 1, g: 1, r: 1 },
|
||||||
green: {a: 1, b: 0, g: 1, r: 0 },
|
green: {a: 1, b: 0, g: 1, r: 0 },
|
||||||
@@ -41,7 +41,7 @@ com.badlogic.gdx.graphics.Color: {
|
|||||||
menuitem: {a: 1, b: 0.65, g: 0.65, r: 0.65 },
|
menuitem: {a: 1, b: 0.65, g: 0.65, r: 0.65 },
|
||||||
link-label: {a: 1, b: 0.886, g: 0.631, r: 0.105 }
|
link-label: {a: 1, b: 0.886, g: 0.631, r: 0.105 }
|
||||||
},
|
},
|
||||||
io.anuke.ucore.scene.Skin$TintedDrawable: {
|
TintedDrawable: {
|
||||||
dialogDim: {name: white, color: {r: 0, g: 0, b: 0, a: 0.9} },
|
dialogDim: {name: white, color: {r: 0, g: 0, b: 0, a: 0.9} },
|
||||||
invis: {name: white, color: {r: 0, g: 0, b: 0, a: 0} }
|
invis: {name: white, color: {r: 0, g: 0, b: 0, a: 0} }
|
||||||
loadDim: {name: white, color: {r: 0, g: 0, b: 0, a: 0.8} },
|
loadDim: {name: white, color: {r: 0, g: 0, b: 0, a: 0.8} },
|
||||||
@@ -50,12 +50,12 @@ io.anuke.ucore.scene.Skin$TintedDrawable: {
|
|||||||
clear-over: {name: white, color: {r: 1, g: 1, b: 1, a: 0.2} },
|
clear-over: {name: white, color: {r: 1, g: 1, b: 1, a: 0.2} },
|
||||||
clear-down: {name: white, color: {r: 1, g: 1, b: 1, a: 0.4} }
|
clear-down: {name: white, color: {r: 1, g: 1, b: 1, a: 0.4} }
|
||||||
},
|
},
|
||||||
io.anuke.ucore.scene.ui.Button$ButtonStyle: {
|
ButtonStyle: {
|
||||||
default: {down: button-down, up: button },
|
default: {down: button-down, up: button },
|
||||||
menu: {up: text-sides, over: text-sides-over, down: text-sides-down},
|
menu: {up: text-sides, over: text-sides-over, down: text-sides-down},
|
||||||
toggle: {checked: button-down, down: button-down, up: button }
|
toggle: {checked: button-down, down: button-down, up: button }
|
||||||
},
|
},
|
||||||
io.anuke.ucore.scene.ui.TextButton$TextButtonStyle: {
|
TextButtonStyle: {
|
||||||
default: {over: button-over, disabled: button, font: default-font, fontColor: white, disabledFontColor: grey, down: button-down, up: button, transition: 0 },
|
default: {over: button-over, disabled: button, font: default-font, fontColor: white, disabledFontColor: grey, down: button-down, up: button, transition: 0 },
|
||||||
discord: {over: discord-banner-over, font: default-font, fontColor: white, up: discord-banner},
|
discord: {over: discord-banner-over, font: default-font, fontColor: white, up: discord-banner},
|
||||||
info: {font: default-font, fontColor: white, up: info-banner},
|
info: {font: default-font, fontColor: white, up: info-banner},
|
||||||
@@ -63,7 +63,7 @@ io.anuke.ucore.scene.ui.TextButton$TextButtonStyle: {
|
|||||||
empty: {font: default-font},
|
empty: {font: default-font},
|
||||||
toggle: {font: default-font, fontColor: white, checked: button-down, down: button-down, up: button, over: button-over, disabled: button, disabledFontColor: grey }
|
toggle: {font: default-font, fontColor: white, checked: button-down, down: button-down, up: button, over: button-over, disabled: button, disabledFontColor: grey }
|
||||||
},
|
},
|
||||||
io.anuke.ucore.scene.ui.ImageButton$ImageButtonStyle: {
|
ImageButtonStyle: {
|
||||||
default: {down: button-down, up: button, over: button-over, imageDisabledColor: lightgray, imageUpColor: white },
|
default: {down: button-down, up: button, over: button-over, imageDisabledColor: lightgray, imageUpColor: white },
|
||||||
empty: { imageDownColor: accent, imageUpColor: white},
|
empty: { imageDownColor: accent, imageUpColor: white},
|
||||||
emptytoggle: {imageCheckedColor: white, imageDownColor: white, imageUpColor: lightgray},
|
emptytoggle: {imageCheckedColor: white, imageDownColor: white, imageUpColor: lightgray},
|
||||||
@@ -74,37 +74,37 @@ io.anuke.ucore.scene.ui.ImageButton$ImageButtonStyle: {
|
|||||||
select: {checked: button-select, up: clear },
|
select: {checked: button-select, up: clear },
|
||||||
clear: {down: clear-down, up: clear, over: clear-over},
|
clear: {down: clear-down, up: clear, over: clear-over},
|
||||||
},
|
},
|
||||||
io.anuke.ucore.scene.ui.ScrollPane$ScrollPaneStyle: {
|
ScrollPaneStyle: {
|
||||||
default: {background: border, vScroll: scroll, vScrollKnob: scroll-knob-vertical-black},
|
default: {background: border, vScroll: scroll, vScrollKnob: scroll-knob-vertical-black},
|
||||||
horizontal: {background: border, vScroll: scroll, vScrollKnob: scroll-knob-vertical, hScroll: scroll-horizontal, hScrollKnob: scroll-knob-horizontal},
|
horizontal: {background: border, vScroll: scroll, vScrollKnob: scroll-knob-vertical, hScroll: scroll-horizontal, hScrollKnob: scroll-knob-horizontal},
|
||||||
volume: {background: button-map, vScroll: scroll, vScrollKnob: scroll-knob-vertical-black},
|
volume: {background: button-map, vScroll: scroll, vScrollKnob: scroll-knob-vertical-black},
|
||||||
clear: {vScroll: scroll, vScrollKnob: scroll-knob-vertical-black},
|
clear: {vScroll: scroll, vScrollKnob: scroll-knob-vertical-black},
|
||||||
clear-black: {vScroll: scroll, vScrollKnob: scroll-knob-vertical-black}
|
clear-black: {vScroll: scroll, vScrollKnob: scroll-knob-vertical-black}
|
||||||
},
|
},
|
||||||
io.anuke.ucore.scene.ui.Window$WindowStyle: {
|
WindowStyle: {
|
||||||
default: {titleFont: default-font, background: window, titleFontColor: accent },
|
default: {titleFont: default-font, background: window, titleFontColor: accent },
|
||||||
dialog: {stageBackground: dialogDim, titleFont: default-font, background: window-empty, titleFontColor: accent }
|
dialog: {stageBackground: dialogDim, titleFont: default-font, background: window-empty, titleFontColor: accent }
|
||||||
},
|
},
|
||||||
io.anuke.ucore.scene.ui.KeybindDialog$KeybindDialogStyle: {
|
KeybindDialogStyle: {
|
||||||
default: {keyColor: accent, keyNameColor: white, controllerColor: menuitem, paneStyle: clear},
|
default: {keyColor: accent, keyNameColor: white, controllerColor: menuitem, paneStyle: clear},
|
||||||
},
|
},
|
||||||
io.anuke.ucore.scene.ui.Slider$SliderStyle: {
|
SliderStyle: {
|
||||||
default-horizontal: {background: slider, knob: slider-knob, knobOver: slider-knob-over, knobDown: slider-knob-down},
|
default-horizontal: {background: slider, knob: slider-knob, knobOver: slider-knob-over, knobDown: slider-knob-down},
|
||||||
default-vertical: {background: slider-vertical, knob: slider-knob, knobOver: slider-knob-over, knobDown: slider-knob-down}
|
default-vertical: {background: slider-vertical, knob: slider-knob, knobOver: slider-knob-over, knobDown: slider-knob-down}
|
||||||
},
|
},
|
||||||
io.anuke.ucore.scene.ui.Label$LabelStyle: {
|
LabelStyle: {
|
||||||
default: {font: default-font, fontColor: white },
|
default: {font: default-font, fontColor: white },
|
||||||
title: {font: title, fontColor: white },
|
title: {font: title, fontColor: white },
|
||||||
link-label: {fontColor: link-label, font: default-font },
|
link-label: {fontColor: link-label, font: default-font },
|
||||||
small: {font: default-font, fontColor: white },
|
small: {font: default-font, fontColor: white },
|
||||||
menuitem-shortcut: {font: default-font, fontColor: menuitem }
|
menuitem-shortcut: {font: default-font, fontColor: menuitem }
|
||||||
},
|
},
|
||||||
io.anuke.ucore.scene.ui.TextField$TextFieldStyle: {
|
TextFieldStyle: {
|
||||||
default: {font: default-font-chat, fontColor: white, disabledFontColor: grey, selection: selection, background: button, cursor: cursor, messageFont: default-font, messageFontColor: grey }
|
default: {font: default-font-chat, fontColor: white, disabledFontColor: grey, selection: selection, background: button, cursor: cursor, messageFont: default-font, messageFontColor: grey }
|
||||||
textarea: {font: default-font-chat, fontColor: white, disabledFontColor: grey, selection: selection, background: textarea, cursor: cursor, messageFont: default-font, messageFontColor: grey }
|
textarea: {font: default-font-chat, fontColor: white, disabledFontColor: grey, selection: selection, background: textarea, cursor: cursor, messageFont: default-font, messageFontColor: grey }
|
||||||
}
|
}
|
||||||
|
|
||||||
io.anuke.ucore.scene.ui.CheckBox$CheckBoxStyle: {
|
CheckBoxStyle: {
|
||||||
default: {checkboxOn: check-on, checkboxOff: check-off, checkboxOnOver: check-on-over, checkboxOver: check-over, font: default-font, fontColor: white, disabledFontColor: grey }
|
default: {checkboxOn: check-on, checkboxOff: check-off, checkboxOnOver: check-on-over, checkboxOver: check-over, font: default-font, fontColor: white, disabledFontColor: grey }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -81,14 +81,14 @@ public class Control extends Module{
|
|||||||
DefaultKeybinds.load();
|
DefaultKeybinds.load();
|
||||||
|
|
||||||
Settings.defaultList(
|
Settings.defaultList(
|
||||||
"ip", "localhost",
|
"ip", "localhost",
|
||||||
"port", port + "",
|
"port", port + "",
|
||||||
"color-0", Color.rgba8888(playerColors[8]),
|
"color-0", Color.rgba8888(playerColors[8]),
|
||||||
"color-1", Color.rgba8888(playerColors[11]),
|
"color-1", Color.rgba8888(playerColors[11]),
|
||||||
"color-2", Color.rgba8888(playerColors[13]),
|
"color-2", Color.rgba8888(playerColors[13]),
|
||||||
"color-3", Color.rgba8888(playerColors[9]),
|
"color-3", Color.rgba8888(playerColors[9]),
|
||||||
"name", "player",
|
"name", "player",
|
||||||
"lastBuild", 0
|
"lastBuild", 0
|
||||||
);
|
);
|
||||||
|
|
||||||
KeyBinds.load();
|
KeyBinds.load();
|
||||||
|
|||||||
Reference in New Issue
Block a user