diff --git a/.gitignore b/.gitignore index 46ee671..dd82b33 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ ### Gradle template .gradle build/ +preview/war/ # Ignore Gradle GUI config gradle-app.setting diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..96cc43e --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml new file mode 100644 index 0000000..e7bedf3 --- /dev/null +++ b/.idea/copyright/profiles_settings.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..7493800 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.8 + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..9b35e73 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules/libgdx-skins.iml b/.idea/modules/libgdx-skins.iml new file mode 100644 index 0000000..0b80c7b --- /dev/null +++ b/.idea/modules/libgdx-skins.iml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules/preview/preview.iml b/.idea/modules/preview/preview.iml new file mode 100644 index 0000000..3076d4f --- /dev/null +++ b/.idea/modules/preview/preview.iml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml new file mode 100644 index 0000000..7f68460 --- /dev/null +++ b/.idea/runConfigurations.xml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/local.properties b/local.properties new file mode 100644 index 0000000..728a61a --- /dev/null +++ b/local.properties @@ -0,0 +1,11 @@ +## This file is automatically generated by Android Studio. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must *NOT* be checked into Version Control Systems, +# as it contains information specific to your local configuration. +# +# Location of the SDK. This is only used by Gradle. +# For customization when using a Version Control System, please read the +# header note. +#Fri Jan 13 15:45:11 CET 2017 +sdk.dir=/Users/julienvillegas/Library/Android/sdk diff --git a/preview/src/com/badlogicgames/gdxskins/client/SkinTest.java b/preview/src/com/badlogicgames/gdxskins/client/SkinTest.java index c69c1cc..f746f04 100644 --- a/preview/src/com/badlogicgames/gdxskins/client/SkinTest.java +++ b/preview/src/com/badlogicgames/gdxskins/client/SkinTest.java @@ -1,3 +1,4 @@ + package com.badlogicgames.gdxskins.client; import com.badlogic.gdx.Application; @@ -16,74 +17,78 @@ import com.badlogicgames.gdxskins.client.skins.info.SkinMeta; import com.google.gwt.user.client.Window; -/** - * @author Tom-Ski - */ +/** @author Tom-Ski */ public class SkinTest extends ApplicationAdapter { - public static Array skins = new Array(); - private SkinPreviewer skinPreviewer; - private Stage stage; + public static Array skins = new Array(); + private SkinPreviewer skinPreviewer; + private Stage stage; + private static final String initialSkinFolderName = "testskin"; - @Override - public void create () { - Gdx.app.setLogLevel(Application.LOG_INFO); + @Override + public void create () { + Gdx.app.setLogLevel(Application.LOG_INFO); - String masterListString = Gdx.files.internal("masterlist").readString(); - String[] masterSplit = masterListString.split("\r\n"); + String masterListString = Gdx.files.internal("masterlist").readString(); + String[] masterSplit = masterListString.split("\r\n"); - Json json = new Json(); - for (int i = 0; i < masterSplit.length; i++) { - String skinString = masterSplit[i]; - String skinjson = Gdx.files.internal(skinString + "/info.json").readString(); - SkinMeta meta = json.fromJson(SkinMeta.class, skinjson); - Skin skin = new Skin(Gdx.files.internal(skinString + "/assets/" + meta.filename)); - skins.add(new SkinContainer(meta, skin)); - } + Json json = new Json(); + for (int i = 0; i < masterSplit.length; i++) { + String skinString = masterSplit[i]; + String skinjson = Gdx.files.internal(skinString + "/info.json").readString(); + SkinMeta meta = json.fromJson(SkinMeta.class, skinjson); + Skin skin = new Skin(Gdx.files.internal(skinString + "/assets/" + meta.filename)); + skins.add(new SkinContainer(meta, skin)); + } - stage = new Stage(); + stage = new Stage(); - String debug = Window.Location.getParameter("debug"); - if (debug != null && debug.equalsIgnoreCase("true")) { - stage.setDebugAll(true); - } - Gdx.input.setInputProcessor(stage); + String debug = Window.Location.getParameter("debug"); + if (debug != null && debug.equalsIgnoreCase("true")) { + stage.setDebugAll(true); + } + Gdx.input.setInputProcessor(stage); + SkinContainer initialSkin = skins.first(); + for (int i = 0; i < skins.size; i++){ + if (skins.get(i).skinMeta.foldername.equalsIgnoreCase(initialSkinFolderName)) { + initialSkin = skins.get(i); + } + } - SkinContainer initialSkin = skins.first(); - String defaultSkin = Window.Location.getParameter("skin"); - if (defaultSkin != null) { - for (SkinContainer skinContainer : skins) { - if (skinContainer.skinMeta.foldername.equals(defaultSkin)) { - initialSkin = skinContainer; - break; - } - } - } + String defaultSkin = Window.Location.getParameter("skin"); + if (defaultSkin != null) { + for (SkinContainer skinContainer : skins) { + if (skinContainer.skinMeta.foldername.equals(defaultSkin)) { + initialSkin = skinContainer; + break; + } + } + } - SkinChangerListener changerListener = new SkinChangerListener(); - skinPreviewer = new SkinPreviewer(initialSkin, changerListener); - changerListener.setPreviewer(skinPreviewer); - skinPreviewer.addTab(new RpgGuiTab(initialSkin)); - skinPreviewer.addTab(new PreviewGui(initialSkin)); - skinPreviewer.initiate(); + SkinChangerListener changerListener = new SkinChangerListener(); + skinPreviewer = new SkinPreviewer(initialSkin, changerListener); + changerListener.setPreviewer(skinPreviewer); + skinPreviewer.addTab(new RpgGuiTab(initialSkin)); + skinPreviewer.addTab(new PreviewGui(initialSkin)); + skinPreviewer.initiate(); - stage.addActor(skinPreviewer); - } + stage.addActor(skinPreviewer); + } - @Override - public void render () { - Gdx.gl.glClearColor(0, 0, 0, 1f); - Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT); + @Override + public void render () { + Gdx.gl.glClearColor(0, 0, 0, 1f); + Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT); - stage.act(); - stage.draw(); - } + stage.act(); + stage.draw(); + } - @Override - public void dispose () { - stage.dispose(); - for (SkinContainer skinContainer : skins) { - skinContainer.dispose(); - } - } + @Override + public void dispose () { + stage.dispose(); + for (SkinContainer skinContainer : skins) { + skinContainer.dispose(); + } + } } diff --git a/preview/src/com/badlogicgames/gdxskins/client/skins/SkinPreviewer.java b/preview/src/com/badlogicgames/gdxskins/client/skins/SkinPreviewer.java index 06694e3..c93e568 100644 --- a/preview/src/com/badlogicgames/gdxskins/client/skins/SkinPreviewer.java +++ b/preview/src/com/badlogicgames/gdxskins/client/skins/SkinPreviewer.java @@ -1,3 +1,4 @@ + package com.badlogicgames.gdxskins.client.skins; import com.badlogic.gdx.graphics.g2d.Batch; @@ -12,87 +13,85 @@ import com.badlogicgames.gdxskins.client.skins.elements.tabs.Tab; import com.badlogicgames.gdxskins.client.skins.info.SkinContainer; -/** - * @author lyze237 - */ +/** @author lyze237 */ public class SkinPreviewer extends Table { - private SkinContainer skinContainer; - private Array tabsArray; - private List tabs; - - private ChangeSkinTab changeSkinTab; + private SkinContainer skinContainer; + public static SkinContainer defaultSkinContainer; + private Array tabsArray; + private List tabs; - private ScrollPane scroller; + private ChangeSkinTab changeSkinTab; - public SkinPreviewer (SkinContainer skinContainer, SkinChangerListener skinChangerListener) { - this.skinContainer = skinContainer; + private ScrollPane scroller; - setFillParent(true); + public SkinPreviewer (SkinContainer skinContainer, SkinChangerListener skinChangerListener) { + this.skinContainer = skinContainer; - tabsArray = new Array(); - tabs = new List(skinContainer.skin); - tabs.setItems(tabsArray); - tabs.addListener(new ChangeListener() { - @Override - public void changed (ChangeEvent event, Actor actor) { - changeTab(tabs.getSelected()); - } - }); + setFillParent(true); - scroller = new ScrollPane(tabs); + tabsArray = new Array(); + tabs = new List(skinContainer.skin); + tabs.setItems(tabsArray); + tabs.addListener(new ChangeListener() { + @Override + public void changed (ChangeEvent event, Actor actor) { + changeTab(tabs.getSelected()); + } + }); - changeSkinTab = new ChangeSkinTab(skinContainer, skinChangerListener); - } + scroller = new ScrollPane(tabs); - public void initiate () { - tabs.setSelectedIndex(0); - changeTab(tabs.getSelected()); - } + changeSkinTab = new ChangeSkinTab(skinContainer, skinChangerListener); + } - @Override - public void draw (Batch batch, float parentAlpha) { - super.draw(batch, parentAlpha); - } + public void initiate () { + tabs.setSelectedIndex(0); + changeTab(tabs.getSelected()); + } - @Override - public void act (float delta) { - super.act(delta); - } + @Override + public void draw (Batch batch, float parentAlpha) { + super.draw(batch, parentAlpha); + } - public void addTab (Tab tab) { - tabsArray.add(tab); - tabs.setItems(tabsArray); - } + @Override + public void act (float delta) { + super.act(delta); + } - public void changeTab (Tab tab) { - clearChildren(); + public void addTab (Tab tab) { + tabsArray.add(tab); + tabs.setItems(tabsArray); + } - Table table = new Table(); + public void changeTab (Tab tab) { + clearChildren(); - Window descriptionWindow = new Window("Description", skinContainer.skin); - descriptionWindow.add(changeSkinTab); - descriptionWindow.setMovable(false); - descriptionWindow.setHeight(changeSkinTab.getHeight() + 10); + Table table = new Table(); - table.add(descriptionWindow).fillX(); + Window descriptionWindow = new Window("Description", skinContainer.skin); + descriptionWindow.add(changeSkinTab); + descriptionWindow.setMovable(false); + descriptionWindow.setHeight(changeSkinTab.getHeight() + 10); - table.row(); + table.add(descriptionWindow).fillX(); + table.row(); - Window scrollerWindow = new Window("Previews", skinContainer.skin); - scrollerWindow.setMovable(false); - scrollerWindow.add(scroller).expand().fill(); + Window scrollerWindow = new Window("Previews", skinContainer.skin); + scrollerWindow.setMovable(false); + scrollerWindow.add(scroller).expand().fill(); - table.add(scrollerWindow).fill().expand(); + table.add(scrollerWindow).fill().expand(); - add(table).width(250).fill(); - add(tab).expand().fill(); - } + add(table).width(250).fill(); + add(tab).expand().fill(); + } - public void changeSkin (SkinContainer selected) { - for (Tab tab : tabsArray) { - tab.changeSkin(selected); - } - } + public void changeSkin (SkinContainer selected) { + for (Tab tab : tabsArray) { + tab.changeSkin(selected); + } + } } diff --git a/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/ChangeSkinTab.java b/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/ChangeSkinTab.java index 192478f..e9f18af 100644 --- a/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/ChangeSkinTab.java +++ b/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/ChangeSkinTab.java @@ -1,3 +1,4 @@ + package com.badlogicgames.gdxskins.client.skins.elements.tabs; import com.badlogic.gdx.scenes.scene2d.ui.Label; @@ -6,58 +7,56 @@ import com.badlogicgames.gdxskins.client.skins.SkinChangerListener; import com.badlogicgames.gdxskins.client.skins.info.SkinContainer; -/** - * @author lyze237 - */ +/** @author lyze237 */ public class ChangeSkinTab extends Tab { - private SkinChangerListener skinChangerListener; - - public ChangeSkinTab (SkinContainer skinContainer, SkinChangerListener skinChangerListener) { - super(skinContainer); - this.skinChangerListener = skinChangerListener; - - defaults().pad(3); - - initiate(); - } - - @Override - public void initiate () { - Label skinName = new Label(skinContainer.skinMeta.title, skinContainer.skin); - Label skinDescription = new Label(skinContainer.skinMeta.description, skinContainer.skin); - Label skinAuthor = new Label(skinContainer.skinMeta.author, skinContainer.skin); - - skinName.setColor(1f, 0, 0, 1f); - skinDescription.setColor(1f, 0, 0, 1f); - skinAuthor.setColor(1f, 0, 0, 1f); - - add(new Label("Name:", skinContainer.skin)).left().colspan(2).padTop(12); - row(); - add(skinName).left().colspan(2).padBottom(10); - row(); - add(new Label("Description:", skinContainer.skin)).left().colspan(2); - row(); - add(skinDescription).left().colspan(2).padBottom(10); - row(); - add(new Label("Author:", skinContainer.skin)).left().colspan(2); - row(); - add(skinAuthor).left().colspan(2).padBottom(10); - row(); - - Label skinSelectLabel = new Label("Select Skin", skinContainer.skin); - skinSelectLabel.setColor(1f, 0, 0, 1f); - - add(skinSelectLabel).left(); - - SelectBox skinSelect = new SelectBox(skinContainer.skin); - skinSelect.setItems(SkinTest.skins); - skinSelect.setSelected(skinContainer); - skinSelect.addListener(skinChangerListener); - add(skinSelect); - } - - @Override - public String getName () { - return "Change Skin"; - } + private SkinChangerListener skinChangerListener; + + public ChangeSkinTab (SkinContainer skinContainer, SkinChangerListener skinChangerListener) { + super(skinContainer); + this.skinChangerListener = skinChangerListener; + + defaults().pad(3); + + initiate(); + } + + @Override + public void initiate () { + Label skinName = new Label(skinContainer.skinMeta.title, skinContainer.skin); + Label skinDescription = new Label(skinContainer.skinMeta.description, skinContainer.skin); + Label skinAuthor = new Label(skinContainer.skinMeta.author, skinContainer.skin); + + skinName.setColor(1f, 0, 0, 1f); + skinDescription.setColor(1f, 0, 0, 1f); + skinAuthor.setColor(1f, 0, 0, 1f); + + add(new Label("Name:", skinContainer.skin)).left().colspan(2).padTop(12); + row(); + add(skinName).left().colspan(2).padBottom(10); + row(); + add(new Label("Description:", skinContainer.skin)).left().colspan(2); + row(); + add(skinDescription).left().colspan(2).padBottom(10); + row(); + add(new Label("Author:", skinContainer.skin)).left().colspan(2); + row(); + add(skinAuthor).left().colspan(2).padBottom(10); + row(); + + Label skinSelectLabel = new Label("Select Skin", skinContainer.skin); + skinSelectLabel.setColor(1f, 0, 0, 1f); + + add(skinSelectLabel).left(); + + SelectBox skinSelect = new SelectBox(skinContainer.skin); + skinSelect.setItems(SkinTest.skins); + skinSelect.setSelected(skinContainer); + skinSelect.addListener(skinChangerListener); + add(skinSelect); + } + + @Override + public String getName () { + return "Change Skin"; + } } diff --git a/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/PreviewGui.java b/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/PreviewGui.java index a8be24d..161a515 100644 --- a/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/PreviewGui.java +++ b/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/PreviewGui.java @@ -1,174 +1,209 @@ + package com.badlogicgames.gdxskins.client.skins.elements.tabs; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.math.Interpolation; -import com.badlogic.gdx.scenes.scene2d.ui.*; +import com.badlogic.gdx.scenes.scene2d.Actor; +import com.badlogic.gdx.scenes.scene2d.ui.CheckBox; +import com.badlogic.gdx.scenes.scene2d.ui.Label; +import com.badlogic.gdx.scenes.scene2d.ui.List; +import com.badlogic.gdx.scenes.scene2d.ui.ProgressBar; +import com.badlogic.gdx.scenes.scene2d.ui.ScrollPane; +import com.badlogic.gdx.scenes.scene2d.ui.Skin; +import com.badlogic.gdx.scenes.scene2d.ui.Slider; +import com.badlogic.gdx.scenes.scene2d.ui.SplitPane; +import com.badlogic.gdx.scenes.scene2d.ui.TextArea; +import com.badlogic.gdx.scenes.scene2d.ui.TextButton; +import com.badlogic.gdx.scenes.scene2d.ui.TextField; +import com.badlogic.gdx.scenes.scene2d.ui.TextTooltip; +import com.badlogic.gdx.scenes.scene2d.ui.Touchpad; +import com.badlogic.gdx.scenes.scene2d.ui.Tree; +import com.badlogic.gdx.scenes.scene2d.ui.Window; import com.badlogic.gdx.utils.Array; import com.badlogicgames.gdxskins.client.skins.info.SkinContainer; -/** - * @author Tom-Ski - */ +/** @author Tom-Ski */ public class PreviewGui extends Tab { - public PreviewGui (SkinContainer skinContainer) { - super(skinContainer); - - initiate(); - } - - @Override - public void initiate () { - Skin skin = skinContainer.skin; - - Window textWindow = new Window("Text Widgets", skin); - Label imALabel = new Label("Im a label", skin); - Label imALabelWithTooltip = new Label("Im a label with tooltip", skin); - - imALabelWithTooltip.addListener(new TextTooltip("This is a tooltip! This is a tooltip! This is a tooltip! This is a tooltip! This is a tooltip! This is a tooltip!", skin)); - - TextField imATextField = new TextField("Im a TextField, edit me!", skin); - TextField imATextFieldDisabled = new TextField("Im a TextField disabled", skin); - imATextFieldDisabled.setDisabled(true); - - TextArea imATextArea = new TextArea("Im a TextArea, plz dont click me\r\nI will probably crash\r\nturtles everywhere", skin); - - textWindow.defaults().pad(5); - - textWindow.add(imALabel); - textWindow.row(); - textWindow.add(imALabelWithTooltip); - textWindow.row(); - textWindow.add(imATextField).fillX().expandX(); - textWindow.row(); - textWindow.add(imATextFieldDisabled).fillX().expandX(); - textWindow.row(); - textWindow.add(imATextArea).expand().fill(); - - textWindow.setSize(300, 300); - - textWindow.setPosition(10, Gdx.graphics.getHeight() - 310); - addActor(textWindow); - - Window buttonWindow = new Window("Button Widgets", skin); - buttonWindow.defaults().pad(5); - TextButton imATextButton = new TextButton("Im a TextButton", skin); - TextButton imATextButtonDisabled = new TextButton("Im a TextButton disabled", skin); - imATextButtonDisabled.setDisabled(true); - - CheckBox checkBox = new CheckBox("Im a CheckBox", skin); - CheckBox checkBoxDisabled = new CheckBox("Im a CheckBox disabled", skin); - checkBoxDisabled.setDisabled(true); - - buttonWindow.add(imATextButton).left(); - buttonWindow.row(); - buttonWindow.add(imATextButtonDisabled).left(); - buttonWindow.row(); - buttonWindow.add(checkBox).left(); - buttonWindow.row(); - buttonWindow.add(checkBoxDisabled).left(); - buttonWindow.row(); - - buttonWindow.setSize(300, 300); - buttonWindow.setPosition(320, Gdx.graphics.getHeight() - 310); - addActor(buttonWindow); - - Window sliderWindow = new Window("Slider", skin); - sliderWindow.defaults().pad(5); - Slider slider = new Slider(0, 100, 0.1f, false, skin); - ProgressBar progressBar = new ProgressBar(0, 100f, 0.1f, false, skin) { - float track; - - @Override - public void act (float delta) { - super.act(delta); - track += delta; - track %= 10f; - setValue(track / 10f * 100f); - } - }; - progressBar.setAnimateInterpolation(Interpolation.fade); - progressBar.setVisualInterpolation(Interpolation.fade); - - Label sliderlabel = new Label("Slider", skin); - Label prgoressbarlabel = new Label("ProgressBar", skin); - - sliderWindow.add(sliderlabel).left(); - sliderWindow.row(); - sliderWindow.add(slider); - sliderWindow.row(); - sliderWindow.add(prgoressbarlabel).left(); - sliderWindow.row(); - sliderWindow.add(progressBar); - - sliderWindow.setSize(180, 200); - sliderWindow.setPosition(630, Gdx.graphics.getHeight() - 250); - addActor(sliderWindow); - - Tree tree = new Tree(skin); - Tree.Node node = new Tree.Node(new Label("Tree element 1", skin)); - node.add(new Tree.Node(new Label("Tree element 2", skin))); - node.add(new Tree.Node(new Label("Tree element 3", skin))); - Tree.Node node2 = new Tree.Node(new Label("Tree element 4", skin)); - node2.add(new Tree.Node(new Label("Tree element 5", skin))); - node2.add(new Tree.Node(new Label("Tree element 6", skin))); - - node.add(node2); - node.add(new Tree.Node(new Label("Tree element 7", skin))); - tree.add(node); - - Window treeWindow = new Window("Tree window", skin); - treeWindow.add(tree).fill().expand(); - treeWindow.setSize(180, 300); - treeWindow.setPosition(830, Gdx.graphics.getHeight() - 310); - - addActor(treeWindow); - - Window listWindow = new Window("List Window", skin); - List list = new List(skin); - Array stringArray = new Array(); - for (int i = 0; i < 50; i++) { - stringArray.add("Banana"); - } - list.setItems(stringArray); - listWindow.add(list).left().expand().fill(); - - Window listInSrollPaneWindow = new Window("ScrollPaned List", skin); - List list2 = new List(skin); - list2.setItems(stringArray); - ScrollPane scrollPane = new ScrollPane(list2, skin); - listInSrollPaneWindow.add(scrollPane).fill().expand(); - - Window listInSplitPaneWindow = new Window("SplitPaned List", skin); - List list3 = new List(skin); - list3.setItems(stringArray); - List list4 = new List(skin); - list4.setItems(stringArray); - SplitPane splitPane = new SplitPane(list3, list4, true, skin); - listInSplitPaneWindow.add(splitPane).fill().expand(); - - listWindow.setPosition(10, 10); - listInSrollPaneWindow.setPosition(200, 10); - listInSplitPaneWindow.setPosition(400, 10); - - listWindow.setHeight(300); - listInSrollPaneWindow.setHeight(300); - listInSplitPaneWindow.setHeight(300); - - addActor(listWindow); - addActor(listInSrollPaneWindow); - addActor(listInSplitPaneWindow); - - - Window touchpadWindow = new Window("Touchpad Window", skin); - Touchpad touchpad = new Touchpad(5f, skin); - touchpadWindow.setSize(300, 300); - touchpadWindow.setPosition(600, 10); - touchpadWindow.add(touchpad).fill().expand(); - addActor(touchpadWindow); - } - - @Override - public String getName () { - return "Preview Gui"; - } + public PreviewGui (SkinContainer skinContainer) { + super(skinContainer); + + initiate(); + } + + @Override + public void initiate () { + Skin skin = skinContainer.skin; + + Window textWindow = new Window("Text Widgets", skin); + Label imALabel = new Label("Im a label", skin); + Label imALabelWithTooltip = new Label("Im a label with tooltip", skin); + + imALabelWithTooltip.addListener(new TextTooltip( + "This is a tooltip! This is a tooltip! This is a tooltip! This is a tooltip! This is a tooltip! This is a tooltip!", + skin)); + + TextField imATextField = new TextField("Im a TextField, edit me!", skin); + TextField imATextFieldDisabled = new TextField("Im a TextField disabled", skin); + imATextFieldDisabled.setDisabled(true); + + TextArea imATextArea = new TextArea("Im a TextArea, plz dont click me\r\nI will probably crash\r\nturtles everywhere", + skin); + + textWindow.defaults().pad(5); + + textWindow.add(imALabel); + textWindow.row(); + textWindow.add(imALabelWithTooltip); + textWindow.row(); + textWindow.add(imATextField).fillX().expandX(); + textWindow.row(); + textWindow.add(imATextFieldDisabled).fillX().expandX(); + textWindow.row(); + textWindow.add(imATextArea).expand().fill(); + + textWindow.setSize(300, 300); + + textWindow.setPosition(10, Gdx.graphics.getHeight() - 310); + addActor(textWindow); + + Window buttonWindow = new Window("Button Widgets", skin); + buttonWindow.defaults().pad(5); + if (skin.has("default", TextButton.TextButtonStyle.class)) { + TextButton imATextButton = new TextButton("Im a TextButton", skin); + TextButton imATextButtonDisabled = new TextButton("Im a TextButton disabled", skin); + imATextButtonDisabled.setDisabled(true); + buttonWindow.add(imATextButton).left(); + buttonWindow.row(); + buttonWindow.add(imATextButtonDisabled).left(); + buttonWindow.row(); + } else { + Label noDefaultTextButtonStyle = new Label("no default TextButtonStyle in skin", skin); + buttonWindow.add(noDefaultTextButtonStyle).left(); + buttonWindow.row(); + } + if (skin.has("default", CheckBox.CheckBoxStyle.class)) { + CheckBox checkBox = new CheckBox("Im a CheckBox", skin); + CheckBox checkBoxDisabled = new CheckBox("Im a CheckBox disabled", skin); + checkBoxDisabled.setDisabled(true); + + buttonWindow.add(checkBox).left(); + buttonWindow.row(); + buttonWindow.add(checkBoxDisabled).left(); + buttonWindow.row(); + } + + buttonWindow.setSize(300, 300); + buttonWindow.setPosition(320, Gdx.graphics.getHeight() - 310); + addActor(buttonWindow); + if (skin.has("default", Slider.SliderStyle.class)) { + Window sliderWindow = new Window("Slider", skin); + sliderWindow.defaults().pad(5); + Slider slider = new Slider(0, 100, 0.1f, false, skin); + ProgressBar progressBar = new ProgressBar(0, 100f, 0.1f, false, skin) { + float track; + + @Override + public void act (float delta) { + super.act(delta); + track += delta; + track %= 10f; + setValue(track / 10f * 100f); + } + }; + progressBar.setAnimateInterpolation(Interpolation.fade); + progressBar.setVisualInterpolation(Interpolation.fade); + + Label sliderlabel = new Label("Slider", skin); + Label prgoressbarlabel = new Label("ProgressBar", skin); + + sliderWindow.add(sliderlabel).left(); + sliderWindow.row(); + sliderWindow.add(slider); + sliderWindow.row(); + sliderWindow.add(prgoressbarlabel).left(); + sliderWindow.row(); + sliderWindow.add(progressBar); + + sliderWindow.setSize(180, 200); + sliderWindow.setPosition(630, Gdx.graphics.getHeight() - 250); + addActor(sliderWindow); + } + + if (skin.has("default", Tree.TreeStyle.class)) { + Tree tree = new Tree(skin); + Tree.Node node = new Tree.Node(new Label("Tree element 1", skin)); + node.add(new Tree.Node(new Label("Tree element 2", skin))); + node.add(new Tree.Node(new Label("Tree element 3", skin))); + Tree.Node node2 = new Tree.Node(new Label("Tree element 4", skin)); + node2.add(new Tree.Node(new Label("Tree element 5", skin))); + node2.add(new Tree.Node(new Label("Tree element 6", skin))); + + node.add(node2); + node.add(new Tree.Node(new Label("Tree element 7", skin))); + tree.add(node); + + Window treeWindow = new Window("Tree window", skin); + treeWindow.add(tree).fill().expand(); + treeWindow.setSize(180, 300); + treeWindow.setPosition(830, Gdx.graphics.getHeight() - 310); + + addActor(treeWindow); + } + + Window listWindow = new Window("List Window", skin); + List list = new List(skin); + Array stringArray = new Array(); + for (int i = 0; i < 50; i++) { + stringArray.add("Banana"); + } + list.setItems(stringArray); + listWindow.add(list).left().expand().fill(); + + Window listInSrollPaneWindow = new Window("ScrollPaned List", skin); + List list2 = new List(skin); + list2.setItems(stringArray); + if (skin.has("default", ScrollPane.ScrollPaneStyle.class)) { + ScrollPane scrollPane = new ScrollPane(list2, skin); + listInSrollPaneWindow.add(scrollPane).fill().expand(); + } + + Window listInSplitPaneWindow = new Window("SplitPaned List", skin); + List list3 = new List(skin); + list3.setItems(stringArray); + List list4 = new List(skin); + list4.setItems(stringArray); + if (skin.has("default", SplitPane.SplitPaneStyle.class)) { + SplitPane splitPane = new SplitPane(list3, list4, true, skin); + listInSplitPaneWindow.add(splitPane).fill().expand(); + } + listWindow.setPosition(10, 10); + listInSrollPaneWindow.setPosition(200, 10); + listInSplitPaneWindow.setPosition(400, 10); + + listWindow.setHeight(300); + listInSrollPaneWindow.setHeight(300); + listInSplitPaneWindow.setHeight(300); + + addActor(listWindow); + addActor(listInSrollPaneWindow); + addActor(listInSplitPaneWindow); + + Window touchpadWindow = new Window("Touchpad Window", skin); + touchpadWindow.setSize(300, 300); + touchpadWindow.setPosition(600, 10); + Actor touchpad; + if (skin.has("default", Touchpad.TouchpadStyle.class)) { + touchpad = new Touchpad(5f, skin); + } else { + touchpad = new Label("no Default Style for Touchpad Element", skin); + + } + touchpadWindow.add(touchpad).fill().expand(); + addActor(touchpadWindow); + } + + @Override + public String getName () { + return "Preview Gui"; + } } diff --git a/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/Tab.java b/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/Tab.java index 9b77f3f..b362dce 100644 --- a/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/Tab.java +++ b/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/Tab.java @@ -11,7 +11,6 @@ public abstract class Tab extends Table { public Tab (SkinContainer skinContainer) { super(skinContainer.skin); - this.skinContainer = skinContainer; } diff --git a/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/rpg/AvatarWindow.java b/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/rpg/AvatarWindow.java index 8e408df..3ef7ea1 100644 --- a/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/rpg/AvatarWindow.java +++ b/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/rpg/AvatarWindow.java @@ -12,22 +12,35 @@ public AvatarWindow (Skin skin) { defaults().pad(2); - add(new TextButton("Avatar", skin)).width(64).height(64); + if(skin.has("default", TextButton.TextButtonStyle.class)) { + add(new TextButton("Avatar", skin)).width(64).height(64); + } + else{ + add(new Label("no default skin for TextButton", skin)).width(64).height(64); + } Table status = new Table(skin); status.add(new Label("Health", skin)); - ProgressBar health = new ProgressBar(0, 100, 1, false, skin); - health.setValue(75); - status.add(health).width(100); - + if(skin.has("default", ProgressBar.ProgressBarStyle.class)) { + ProgressBar health = new ProgressBar(0, 100, 1, false, skin); + health.setValue(75); + status.add(health).width(100); + } + else{ + add(new Label("no default skin for ProgressBar", skin)).width(100).height(64); + } status.row(); status.add(new Label("Mana", skin)); - ProgressBar mana = new ProgressBar(0, 100, 1, false, skin); - mana.setValue(24); - status.add(mana).width(100); - + if(skin.has("default", ProgressBar.ProgressBarStyle.class)) { + ProgressBar mana = new ProgressBar(0, 100, 1, false, skin); + mana.setValue(24); + status.add(mana).width(100); + } + else{ + add(new Label("no default skin for ProgressBar", skin)).width(100).height(64); + } add(status); pack(); diff --git a/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/rpg/InventoryWindow.java b/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/rpg/InventoryWindow.java index 6a79248..8f0f595 100644 --- a/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/rpg/InventoryWindow.java +++ b/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/rpg/InventoryWindow.java @@ -1,5 +1,6 @@ package com.badlogicgames.gdxskins.client.skins.elements.tabs.rpg; +import com.badlogic.gdx.scenes.scene2d.ui.Label; import com.badlogic.gdx.scenes.scene2d.ui.Skin; import com.badlogic.gdx.scenes.scene2d.ui.TextButton; import com.badlogic.gdx.scenes.scene2d.ui.Window; @@ -12,12 +13,18 @@ public InventoryWindow (Skin skin) { super("Inventory", skin); defaults().pad(3); - - for (int y = 0; y < 5; y++) { - for (int x = 0; x < 10; x++) { - add(new TextButton(y + "_" + x, skin)).width(40).height(40); + if(skin.has("default", TextButton.TextButtonStyle.class)) { + for (int y = 0; y < 5; y++) { + for (int x = 0; x < 10; x++) { + TextButton tb = new TextButton(y + "_" + x, skin); + add(tb).width(40).height(40); + } + row(); } - row(); + } + else{ + Label noDefaultTextButtonStyle = new Label("Skin has no TextButtonStyle",skin); + add(noDefaultTextButtonStyle).width(400).height(200); } pack(); diff --git a/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/rpg/NotificationWindow.java b/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/rpg/NotificationWindow.java index d584ace..2d72ed1 100644 --- a/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/rpg/NotificationWindow.java +++ b/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/rpg/NotificationWindow.java @@ -10,11 +10,17 @@ public NotificationWindow (Skin skin) { super("Notifications", skin); defaults().pad(2); + if(skin.has("default", TextButton.TextButtonStyle.class)) { - for (int i = 0; i < 4; i++) { - Button notification = new TextButton("N" + i, skin); - notification.addListener(new TextTooltip("This is a tooltip!\nThis notification is really important!\nSeriously, read it!", skin)); - add(notification).width(32).height(32); + for (int i = 0; i < 4; i++) { + Button notification = new TextButton("N" + i, skin); + notification.addListener(new TextTooltip("This is a tooltip!\nThis notification is really important!\nSeriously, read it!", skin)); + add(notification).width(32).height(32); + } + } + else{ + Label noDefaultTextButtonStyle = new Label("no default TextButtonStyle",skin); + add(noDefaultTextButtonStyle).width(128).height(32); } pack(); diff --git a/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/rpg/SpellWindow.java b/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/rpg/SpellWindow.java index 39295f5..70bd1ee 100644 --- a/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/rpg/SpellWindow.java +++ b/preview/src/com/badlogicgames/gdxskins/client/skins/elements/tabs/rpg/SpellWindow.java @@ -10,11 +10,16 @@ public SpellWindow (Skin skin) { super("Spells", skin); defaults().pad(2); - - for (int i = 0; i < 10; i++) { - Button spell = new TextButton("S" + i, skin); - spell.addListener(new TextTooltip("This is a tooltip!\nThis spell is really important!\nSerious stats about this spell!\nThis is a tooltip!", skin)); - add(spell).width(52).height(52); + if(skin.has("default", TextButton.TextButtonStyle.class)) { + for (int i = 0; i < 10; i++) { + Button spell = new TextButton("S" + i, skin); + spell.addListener(new TextTooltip("This is a tooltip!\nThis spell is really important!\nSerious stats about this spell!\nThis is a tooltip!", skin)); + add(spell).width(52).height(52); + } + } + else{ + Label noDefaultTextButtonStyle = new Label("no default TextButtonStyle in skin",skin); + add(noDefaultTextButtonStyle).width(520).height(52); } pack(); diff --git a/skins/bio_attack/assets/biological-attack-ui.atlas b/skins/bio_attack/assets/biological-attack-ui.atlas new file mode 100755 index 0000000..8e31546 --- /dev/null +++ b/skins/bio_attack/assets/biological-attack-ui.atlas @@ -0,0 +1,235 @@ + +biological-attack-ui.png +size: 1024,1024 +format: RGBA8888 +filter: Linear,Linear +repeat: none +checkbox + rotate: false + xy: 144, 347 + size: 46, 40 + orig: 46, 40 + offset: 0, 0 + index: -1 +checkbox-off + rotate: false + xy: 144, 305 + size: 46, 40 + orig: 46, 40 + offset: 0, 0 + index: -1 +font-export + rotate: false + xy: 384, 697 + size: 140, 140 + orig: 140, 140 + offset: 0, 0 + index: -1 +font-title-export + rotate: false + xy: 1, 640 + size: 381, 382 + orig: 381, 382 + offset: 0, 0 + index: -1 +icon-biohazard + rotate: false + xy: 1, 112 + size: 79, 73 + orig: 79, 73 + offset: 0, 0 + index: -1 +icon-biohazard-large + rotate: false + xy: 1, 323 + size: 141, 130 + orig: 141, 130 + offset: 0, 0 + index: -1 +icon-electricity + rotate: false + xy: 602, 948 + size: 44, 74 + orig: 44, 74 + offset: 0, 0 + index: -1 +icon-fire + rotate: false + xy: 82, 109 + size: 58, 76 + orig: 58, 76 + offset: 0, 0 + index: -1 +icon-gas-mask + rotate: false + xy: 458, 631 + size: 56, 64 + orig: 56, 64 + offset: 0, 0 + index: -1 +icon-laser + rotate: false + xy: 151, 488 + size: 65, 48 + orig: 65, 48 + offset: 0, 0 + index: -1 +icon-poison + rotate: false + xy: 1, 1 + size: 71, 65 + orig: 71, 65 + offset: 0, 0 + index: -1 +icon-radiation + rotate: false + xy: 151, 538 + size: 71, 65 + orig: 71, 65 + offset: 0, 0 + index: -1 +icon-radiation-large + rotate: false + xy: 1, 455 + size: 148, 148 + orig: 148, 148 + offset: 0, 0 + index: -1 +icon-warning + rotate: false + xy: 75, 62 + size: 53, 45 + orig: 53, 45 + offset: 0, 0 + index: -1 +list + rotate: false + xy: 144, 389 + size: 49, 49 + split: 2, 2, 2, 2 + orig: 49, 49 + offset: 0, 0 + index: -1 +progress-bar + rotate: false + xy: 1, 605 + size: 212, 33 + orig: 212, 33 + offset: 0, 0 + index: -1 +progress-bar-knob + rotate: false + xy: 384, 989 + size: 212, 33 + orig: 212, 33 + offset: 0, 0 + index: -1 +radio + rotate: false + xy: 74, 14 + size: 50, 46 + orig: 50, 46 + offset: 0, 0 + index: -1 +radio-off + rotate: false + xy: 151, 440 + size: 50, 46 + orig: 50, 46 + offset: 0, 0 + index: -1 +scrollbar + rotate: false + xy: 602, 927 + size: 19, 19 + split: 2, 2, 2, 2 + pad: 0, 0, 0, 0 + orig: 19, 19 + offset: 0, 0 + index: -1 +select-box + rotate: false + xy: 384, 653 + size: 72, 42 + split: 9, 39, 0, 0 + pad: 4, 41, 4, 4 + orig: 72, 42 + offset: 0, 0 + index: -1 +select-box-pressed + rotate: false + xy: 1, 68 + size: 72, 42 + split: 9, 39, 0, 0 + pad: 4, 41, 4, 4 + orig: 72, 42 + offset: 0, 0 + index: -1 +slider + rotate: false + xy: 526, 789 + size: 2, 48 + orig: 2, 48 + offset: 0, 0 + index: -1 +slider-knob + rotate: false + xy: 137, 255 + size: 44, 48 + orig: 44, 48 + offset: 0, 0 + index: -1 +split-pane + rotate: false + xy: 598, 1020 + size: 2, 2 + orig: 2, 2 + offset: 0, 0 + index: -1 +textfield + rotate: false + xy: 137, 219 + size: 34, 34 + split: 2, 2, 2, 2 + pad: 4, 4, 4, 4 + orig: 34, 34 + offset: 0, 0 + index: -1 +title-bg + rotate: false + xy: 215, 618 + size: 20, 20 + split: 0, 0, 0, 0 + pad: 9, 9, 0, 0 + orig: 20, 20 + offset: 0, 0 + index: -1 +touchpad + rotate: false + xy: 384, 839 + size: 148, 148 + orig: 148, 148 + offset: 0, 0 + index: -1 +touchpad-knob + rotate: false + xy: 1, 187 + size: 134, 134 + orig: 134, 134 + offset: 0, 0 + index: -1 +white + rotate: false + xy: 75, 109 + size: 1, 1 + orig: 1, 1 + offset: 0, 0 + index: -1 +window + rotate: false + xy: 534, 858 + size: 66, 129 + split: 2, 2, 99, 2 + orig: 66, 129 + offset: 0, 0 + index: -1 diff --git a/skins/bio_attack/assets/biological-attack-ui.json b/skins/bio_attack/assets/biological-attack-ui.json new file mode 100755 index 0000000..f0b70a2 --- /dev/null +++ b/skins/bio_attack/assets/biological-attack-ui.json @@ -0,0 +1,415 @@ +{ +com.badlogic.gdx.graphics.g2d.BitmapFont: { + font: { + file: font-export.fnt + } + title: { + file: font-title-export.fnt + } +} +com.badlogic.gdx.graphics.Color: { + background: { + r: 1 + g: 1 + b: 0 + a: 1 + } + clear: { + r: 1 + g: 1 + b: 1 + a: 0 + } + color: { + r: 0 + g: 0 + b: 0 + a: 1 + } + down: { + r: 0.9033333 + g: 0.9033333 + b: 0.9033333 + a: 1 + } + over: { + r: 0.5800001 + g: 0.5800001 + b: 0.5800001 + a: 1 + } +} +com.badlogic.gdx.scenes.scene2d.ui.Skin$TintedDrawable: { + clear: { + name: white + color: clear + } + icon-biohazard-large-c: { + name: icon-biohazard-large + color: color + } + icon-electricity-c: { + name: icon-electricity + color: color + } + icon-fire-c: { + name: icon-fire + color: color + } + icon-gas-mask-c: { + name: icon-gas-mask + color: color + } + icon-laser-c: { + name: icon-laser + color: color + } + icon-poison-c: { + name: icon-poison + color: color + } + icon-radiation-c: { + name: icon-radiation + color: color + } + icon-radiation-large-c: { + name: icon-radiation-large + color: color + } + icon-warning-c: { + name: icon-warning + color: color + } + color: { + name: white + color: color + } + list-b: { + name: list + color: background + } + scrollbar-c: { + name: scrollbar + color: color + } + select-box-b: { + name: select-box + color: background + } + select-box-pressed-b: { + name: select-box-pressed + color: background + } + slider-c: { + name: slider + color: color + } + slider-knob-c: { + name: slider-knob + color: color + } + textfield-c: { + name: textfield + color: color + } + icon-biohazard-c: { + name: icon-biohazard + color: color + } + checkbox-c: { + name: checkbox + color: color + } + checkbox-off-c: { + name: checkbox-off + color: color + } + radio-b: { + name: radio + color: background + } + radio-off-b: { + name: radio-off + color: background + } + checkbox-off-o: { + name: checkbox-off + color: over + } + radio-off-o: { + name: radio-off + color: over + } + over: { + name: white + color: over + } + touchpad-b: { + name: touchpad + color: background + } + touchpad-knob-c: { + name: touchpad-knob + color: color + } + icon-biohazard-d: { + name: icon-biohazard + color: down + } + icon-biohazard-o: { + name: icon-biohazard + color: over + } + icon-warning-d: { + name: icon-warning + color: down + } + icon-warning-o: { + name: icon-warning + color: over + } + icon-poison-d: { + name: icon-poison + color: down + } + icon-poison-o: { + name: icon-poison + color: over + } + icon-fire-d: { + name: icon-fire + color: down + } + icon-fire-o: { + name: icon-fire + color: over + } + icon-gas-mask-d: { + name: icon-gas-mask + color: down + } + icon-gas-mask-o: { + name: icon-gas-mask + color: over + } + icon-electricity-d: { + name: icon-electricity + color: down + } + icon-electricity-o: { + name: icon-electricity + color: over + } + icon-radiation-d: { + name: icon-radiation + color: down + } + icon-radiation-o: { + name: icon-radiation + color: over + } + icon-laser-d: { + name: icon-laser + color: down + } + icon-laser-o: { + name: icon-laser + color: over + } + window-b: { + name: window + color: background + } + title-bg-c: { + name: title-bg + color: color + } +} +com.badlogic.gdx.scenes.scene2d.ui.CheckBox$CheckBoxStyle: { + default: { + checkboxOn: checkbox-c + checkboxOff: checkbox-off-c + font: font + fontColor: color + overFontColor: over + } + radio: { + checkboxOn: radio-b + checkboxOff: radio-off-b + font: font + fontColor: color + overFontColor: over + } +} +com.badlogic.gdx.scenes.scene2d.ui.ImageTextButton$ImageTextButtonStyle: { + default: { + imageUp: icon-biohazard-c + imageDown: icon-biohazard-d + imageOver: icon-biohazard-o + font: font + fontColor: color + downFontColor: down + overFontColor: over + } + warning: { + imageUp: icon-warning-c + imageDown: icon-warning-d + imageOver: icon-warning-o + font: font + fontColor: color + downFontColor: down + overFontColor: over + } + poison: { + imageUp: icon-poison-c + imageDown: icon-poison-d + imageOver: icon-poison-o + font: font + fontColor: color + downFontColor: down + overFontColor: over + } + fire: { + imageUp: icon-fire-c + imageDown: icon-fire-d + imageOver: icon-fire-o + font: font + fontColor: color + downFontColor: down + overFontColor: over + } + gasmask: { + imageUp: icon-gas-mask-c + imageDown: icon-gas-mask-d + imageOver: icon-gas-mask-o + font: font + fontColor: color + downFontColor: down + overFontColor: over + } + electricity: { + imageUp: icon-electricity-c + imageDown: icon-electricity-d + imageOver: icon-electricity-o + font: font + fontColor: color + downFontColor: down + overFontColor: over + } + radiation: { + imageUp: icon-radiation-c + imageDown: icon-radiation-d + imageOver: icon-radiation-o + font: font + fontColor: color + downFontColor: down + overFontColor: over + } + laser: { + imageUp: icon-laser-c + imageDown: icon-laser-d + imageOver: icon-laser-o + font: font + fontColor: color + downFontColor: down + overFontColor: over + } +} +com.badlogic.gdx.scenes.scene2d.ui.Label$LabelStyle: { + default: { + font: font + fontColor: color + } + title: { + font: title + fontColor: color + } + title-bg: { + font: title + fontColor: background + background: title-bg-c + } +} +com.badlogic.gdx.scenes.scene2d.ui.List$ListStyle: { + default: { + font: font + fontColorSelected: color + fontColorUnselected: color + selection: over + background: list-b + } +} +com.badlogic.gdx.scenes.scene2d.ui.ProgressBar$ProgressBarStyle: { + default-horizontal: { + background: progress-bar + knobBefore: progress-bar-knob + } + default-vertical: { + background: progress-bar + knobBefore: progress-bar-knob + } +} +com.badlogic.gdx.scenes.scene2d.ui.ScrollPane$ScrollPaneStyle: { + default: { + hScrollKnob: scrollbar-c + vScrollKnob: scrollbar-c + } +} +com.badlogic.gdx.scenes.scene2d.ui.SelectBox$SelectBoxStyle: { + default: { + font: font + fontColor: color + background: select-box-b + scrollStyle: default + listStyle: default + backgroundOpen: select-box-pressed-b + } +} +com.badlogic.gdx.scenes.scene2d.ui.Slider$SliderStyle: { + default-horizontal: { + background: clear + knob: slider-knob-c + knobAfter: slider-c + } + default-vertical: { + background: clear + knob: slider-knob-c + knobBefore: slider-c + } +} +com.badlogic.gdx.scenes.scene2d.ui.SplitPane$SplitPaneStyle: { + default-horizontal: { + handle: split-pane + } + default-vertical: { + handle: split-pane + } +} +com.badlogic.gdx.scenes.scene2d.ui.TextField$TextFieldStyle: { + default: { + font: font + fontColor: color + background: textfield-c + cursor: split-pane + selection: over + } +} +com.badlogic.gdx.scenes.scene2d.ui.TextTooltip$TextTooltipStyle: { + default: { + label: default + } +} +com.badlogic.gdx.scenes.scene2d.ui.Touchpad$TouchpadStyle: { + default: { + background: touchpad-b + knob: touchpad-knob-c + } +} +com.badlogic.gdx.scenes.scene2d.ui.Window$WindowStyle: { + default: { + background: window-b + titleFont: title + titleFontColor: color + } +} +} \ No newline at end of file diff --git a/skins/bio_attack/assets/biological-attack-ui.png b/skins/bio_attack/assets/biological-attack-ui.png new file mode 100755 index 0000000..127e1cc Binary files /dev/null and b/skins/bio_attack/assets/biological-attack-ui.png differ diff --git a/skins/bio_attack/assets/font-export.fnt b/skins/bio_attack/assets/font-export.fnt new file mode 100755 index 0000000..2d39c94 --- /dev/null +++ b/skins/bio_attack/assets/font-export.fnt @@ -0,0 +1,104 @@ +info face="font-export" size=32 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=1,1 +common lineHeight=22 base=22 scaleW=140 scaleH=140 pages=1 packed=0 alphaChnl=1 redChnl=0 greenChnl=0 blueChnl=0 +page id=0 file="font-export.png" +chars count=98 +char id=33 x=129 y=41 width=5 height=17 xoffset=0 yoffset=5 xadvance=7 page=0 chnl=0 letter="!" +char id=34 x=109 y=127 width=9 height=8 xoffset=0 yoffset=6 xadvance=11 page=0 chnl=0 letter=""" +char id=35 x=60 y=69 width=12 height=16 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 letter="#" +char id=36 x=97 y=97 width=11 height=21 xoffset=0 yoffset=4 xadvance=13 page=0 chnl=0 letter="$" +char id=37 x=0 y=22 width=20 height=16 xoffset=0 yoffset=6 xadvance=22 page=0 chnl=0 letter="%" +char id=38 x=0 y=99 width=16 height=16 xoffset=0 yoffset=6 xadvance=18 page=0 chnl=0 letter="&" +char id=39 x=135 y=40 width=4 height=8 xoffset=0 yoffset=6 xadvance=6 page=0 chnl=0 letter="'" +char id=40 x=128 y=73 width=6 height=22 xoffset=0 yoffset=4 xadvance=8 page=0 chnl=0 letter="(" +char id=41 x=121 y=23 width=6 height=22 xoffset=0 yoffset=4 xadvance=8 page=0 chnl=0 letter=")" +char id=42 x=99 y=34 width=10 height=9 xoffset=0 yoffset=5 xadvance=12 page=0 chnl=0 letter="*" +char id=43 x=62 y=30 width=12 height=12 xoffset=0 yoffset=8 xadvance=14 page=0 chnl=0 letter="+" +char id=44 x=111 y=23 width=5 height=9 xoffset=0 yoffset=18 xadvance=7 page=0 chnl=0 letter="," +char id=45 x=85 y=136 width=6 height=3 xoffset=0 yoffset=14 xadvance=8 page=0 chnl=0 letter="-" +char id=46 x=120 y=117 width=5 height=5 xoffset=0 yoffset=17 xadvance=7 page=0 chnl=0 letter="." +char id=47 x=120 y=51 width=8 height=21 xoffset=0 yoffset=5 xadvance=10 page=0 chnl=0 letter="/" +char id=48 x=46 y=107 width=12 height=16 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 letter="0" +char id=49 x=99 y=17 width=11 height=16 xoffset=0 yoffset=6 xadvance=13 page=0 chnl=0 letter="1" +char id=50 x=98 y=63 width=11 height=16 xoffset=0 yoffset=6 xadvance=13 page=0 chnl=0 letter="2" +char id=51 x=88 y=0 width=11 height=16 xoffset=0 yoffset=6 xadvance=13 page=0 chnl=0 letter="3" +char id=52 x=47 y=73 width=12 height=16 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 letter="4" +char id=53 x=49 y=0 width=12 height=16 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 letter="5" +char id=54 x=49 y=30 width=12 height=16 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 letter="6" +char id=55 x=98 y=80 width=11 height=16 xoffset=0 yoffset=6 xadvance=13 page=0 chnl=0 letter="7" +char id=56 x=100 y=0 width=11 height=16 xoffset=0 yoffset=6 xadvance=13 page=0 chnl=0 letter="8" +char id=57 x=61 y=47 width=12 height=16 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 letter="9" +char id=58 x=129 y=59 width=5 height=12 xoffset=0 yoffset=10 xadvance=7 page=0 chnl=0 letter=":" +char id=59 x=128 y=23 width=6 height=17 xoffset=0 yoffset=10 xadvance=8 page=0 chnl=0 letter=";" +char id=60 x=59 y=107 width=12 height=11 xoffset=0 yoffset=9 xadvance=14 page=0 chnl=0 letter="<" +char id=61 x=19 y=73 width=11 height=8 xoffset=0 yoffset=10 xadvance=13 page=0 chnl=0 letter="=" +char id=62 x=87 y=34 width=11 height=11 xoffset=0 yoffset=9 xadvance=13 page=0 chnl=0 letter=">" +char id=63 x=109 y=110 width=10 height=16 xoffset=0 yoffset=6 xadvance=12 page=0 chnl=0 letter="?" +char id=64 x=0 y=0 width=20 height=21 xoffset=0 yoffset=6 xadvance=22 page=0 chnl=0 letter="@" +char id=65 x=20 y=39 width=14 height=16 xoffset=0 yoffset=6 xadvance=16 page=0 chnl=0 letter="A" +char id=66 x=60 y=86 width=12 height=16 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 letter="B" +char id=67 x=33 y=90 width=13 height=16 xoffset=0 yoffset=6 xadvance=15 page=0 chnl=0 letter="C" +char id=68 x=21 y=17 width=13 height=16 xoffset=0 yoffset=6 xadvance=15 page=0 chnl=0 letter="D" +char id=69 x=98 y=46 width=11 height=16 xoffset=0 yoffset=6 xadvance=13 page=0 chnl=0 letter="E" +char id=70 x=97 y=119 width=11 height=16 xoffset=0 yoffset=6 xadvance=13 page=0 chnl=0 letter="F" +char id=71 x=35 y=0 width=13 height=16 xoffset=0 yoffset=6 xadvance=15 page=0 chnl=0 letter="G" +char id=72 x=21 y=0 width=13 height=16 xoffset=0 yoffset=6 xadvance=15 page=0 chnl=0 letter="H" +char id=73 x=135 y=49 width=4 height=16 xoffset=0 yoffset=6 xadvance=6 page=0 chnl=0 letter="I" +char id=74 x=110 y=34 width=10 height=16 xoffset=0 yoffset=6 xadvance=12 page=0 chnl=0 letter="J" +char id=75 x=35 y=17 width=13 height=16 xoffset=0 yoffset=6 xadvance=15 page=0 chnl=0 letter="K" +char id=76 x=87 y=17 width=11 height=16 xoffset=0 yoffset=6 xadvance=13 page=0 chnl=0 letter="L" +char id=77 x=0 y=116 width=16 height=16 xoffset=0 yoffset=6 xadvance=18 page=0 chnl=0 letter="M" +char id=78 x=75 y=0 width=12 height=16 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 letter="N" +char id=79 x=19 y=56 width=14 height=16 xoffset=0 yoffset=6 xadvance=16 page=0 chnl=0 letter="O" +char id=80 x=73 y=82 width=12 height=16 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 letter="P" +char id=81 x=17 y=99 width=15 height=20 xoffset=0 yoffset=6 xadvance=17 page=0 chnl=0 letter="Q" +char id=82 x=32 y=120 width=13 height=16 xoffset=0 yoffset=6 xadvance=15 page=0 chnl=0 letter="R" +char id=83 x=74 y=43 width=12 height=16 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 letter="S" +char id=84 x=34 y=56 width=13 height=16 xoffset=0 yoffset=6 xadvance=15 page=0 chnl=0 letter="T" +char id=85 x=35 y=34 width=13 height=16 xoffset=0 yoffset=6 xadvance=15 page=0 chnl=0 letter="U" +char id=86 x=17 y=120 width=14 height=16 xoffset=0 yoffset=6 xadvance=16 page=0 chnl=0 letter="V" +char id=87 x=0 y=39 width=19 height=16 xoffset=0 yoffset=6 xadvance=21 page=0 chnl=0 letter="W" +char id=88 x=33 y=73 width=13 height=16 xoffset=0 yoffset=6 xadvance=15 page=0 chnl=0 letter="X" +char id=89 x=18 y=82 width=14 height=16 xoffset=0 yoffset=6 xadvance=16 page=0 chnl=0 letter="Y" +char id=90 x=62 y=0 width=12 height=16 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 letter="Z" +char id=91 x=129 y=0 width=6 height=21 xoffset=0 yoffset=5 xadvance=8 page=0 chnl=0 letter="[" +char id=92 x=112 y=0 width=8 height=21 xoffset=0 yoffset=5 xadvance=10 page=0 chnl=0 letter="\" +char id=93 x=128 y=114 width=6 height=21 xoffset=0 yoffset=5 xadvance=8 page=0 chnl=0 letter="]" +char id=94 x=86 y=73 width=11 height=10 xoffset=0 yoffset=6 xadvance=13 page=0 chnl=0 letter="^" +char id=95 x=0 y=137 width=12 height=2 xoffset=0 yoffset=23 xadvance=14 page=0 chnl=0 letter="_" +char id=96 x=61 y=64 width=6 height=4 xoffset=0 yoffset=4 xadvance=8 page=0 chnl=0 letter="`" +char id=97 x=86 y=84 width=11 height=12 xoffset=0 yoffset=10 xadvance=13 page=0 chnl=0 letter="a" +char id=98 x=73 y=64 width=12 height=17 xoffset=0 yoffset=5 xadvance=14 page=0 chnl=0 letter="b" +char id=99 x=75 y=30 width=11 height=12 xoffset=0 yoffset=10 xadvance=13 page=0 chnl=0 letter="c" +char id=100 x=72 y=103 width=12 height=17 xoffset=0 yoffset=5 xadvance=14 page=0 chnl=0 letter="d" +char id=101 x=75 y=17 width=11 height=12 xoffset=0 yoffset=10 xadvance=13 page=0 chnl=0 letter="e" +char id=102 x=110 y=51 width=9 height=17 xoffset=0 yoffset=5 xadvance=11 page=0 chnl=0 letter="f" +char id=103 x=72 y=121 width=12 height=17 xoffset=0 yoffset=10 xadvance=14 page=0 chnl=0 letter="g" +char id=104 x=85 y=116 width=11 height=17 xoffset=0 yoffset=5 xadvance=13 page=0 chnl=0 letter="h" +char id=105 x=135 y=22 width=4 height=17 xoffset=0 yoffset=5 xadvance=6 page=0 chnl=0 letter="i" +char id=106 x=121 y=0 width=7 height=22 xoffset=0 yoffset=5 xadvance=9 page=0 chnl=0 letter="j" +char id=107 x=48 y=51 width=12 height=17 xoffset=0 yoffset=5 xadvance=14 page=0 chnl=0 letter="k" +char id=108 x=128 y=96 width=6 height=17 xoffset=0 yoffset=5 xadvance=8 page=0 chnl=0 letter="l" +char id=109 x=0 y=56 width=18 height=12 xoffset=0 yoffset=10 xadvance=20 page=0 chnl=0 letter="m" +char id=110 x=33 y=107 width=12 height=12 xoffset=0 yoffset=10 xadvance=14 page=0 chnl=0 letter="n" +char id=111 x=46 y=124 width=12 height=12 xoffset=0 yoffset=10 xadvance=14 page=0 chnl=0 letter="o" +char id=112 x=47 y=90 width=12 height=16 xoffset=0 yoffset=10 xadvance=14 page=0 chnl=0 letter="p" +char id=113 x=85 y=99 width=11 height=16 xoffset=0 yoffset=10 xadvance=13 page=0 chnl=0 letter="q" +char id=114 x=119 y=127 width=8 height=12 xoffset=0 yoffset=10 xadvance=10 page=0 chnl=0 letter="r" +char id=115 x=87 y=46 width=10 height=12 xoffset=0 yoffset=10 xadvance=12 page=0 chnl=0 letter="s" +char id=116 x=110 y=69 width=9 height=16 xoffset=0 yoffset=6 xadvance=11 page=0 chnl=0 letter="t" +char id=117 x=86 y=60 width=11 height=12 xoffset=0 yoffset=10 xadvance=13 page=0 chnl=0 letter="u" +char id=118 x=62 y=17 width=12 height=12 xoffset=0 yoffset=10 xadvance=14 page=0 chnl=0 letter="v" +char id=119 x=0 y=69 width=18 height=12 xoffset=0 yoffset=10 xadvance=20 page=0 chnl=0 letter="w" +char id=120 x=49 y=17 width=12 height=12 xoffset=0 yoffset=10 xadvance=14 page=0 chnl=0 letter="x" +char id=121 x=59 y=119 width=12 height=17 xoffset=0 yoffset=10 xadvance=14 page=0 chnl=0 letter="y" +char id=122 x=109 y=97 width=10 height=12 xoffset=0 yoffset=10 xadvance=12 page=0 chnl=0 letter="z" +char id=123 x=120 y=95 width=7 height=21 xoffset=0 yoffset=5 xadvance=9 page=0 chnl=0 letter="{" +char id=124 x=135 y=66 width=3 height=24 xoffset=0 yoffset=4 xadvance=5 page=0 chnl=0 letter="|" +char id=125 x=120 y=73 width=7 height=21 xoffset=0 yoffset=5 xadvance=9 page=0 chnl=0 letter="}" +char id=126 x=35 y=51 width=12 height=4 xoffset=0 yoffset=12 xadvance=14 page=0 chnl=0 letter="~" +char id=8226 x=110 y=86 width=7 height=7 xoffset=0 yoffset=12 xadvance=9 page=0 chnl=0 letter="•" +char id=169 x=0 y=82 width=17 height=16 xoffset=0 yoffset=6 xadvance=19 page=0 chnl=0 letter="©" +char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=0 xadvance=7 page=0 chnl=0 letter=" " +char id=9 x=0 y=0 width=0 height=0 xoffset=0 yoffset=0 xadvance=56 page=0 chnl=0 letter=" " + +kernings count=0 diff --git a/skins/bio_attack/assets/font-title-export.fnt b/skins/bio_attack/assets/font-title-export.fnt new file mode 100755 index 0000000..c08f469 --- /dev/null +++ b/skins/bio_attack/assets/font-title-export.fnt @@ -0,0 +1,104 @@ +info face="font-title-export" size=32 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=1,1 +common lineHeight=64 base=64 scaleW=381 scaleH=382 pages=1 packed=0 alphaChnl=1 redChnl=0 greenChnl=0 blueChnl=0 +page id=0 file="font-title-export.png" +chars count=98 +char id=33 x=365 y=238 width=13 height=48 xoffset=0 yoffset=17 xadvance=17 page=0 chnl=0 letter="!" +char id=34 x=202 y=150 width=29 height=23 xoffset=0 yoffset=16 xadvance=33 page=0 chnl=0 letter=""" +char id=35 x=199 y=226 width=33 height=45 xoffset=0 yoffset=19 xadvance=37 page=0 chnl=0 letter="#" +char id=36 x=264 y=293 width=31 height=60 xoffset=0 yoffset=12 xadvance=35 page=0 chnl=0 letter="$" +char id=37 x=0 y=60 width=56 height=48 xoffset=0 yoffset=17 xadvance=60 page=0 chnl=0 letter="%" +char id=38 x=45 y=275 width=44 height=48 xoffset=0 yoffset=17 xadvance=48 page=0 chnl=0 letter="&" +char id=39 x=313 y=212 width=12 height=23 xoffset=0 yoffset=16 xadvance=16 page=0 chnl=0 letter="'" +char id=40 x=348 y=193 width=16 height=64 xoffset=0 yoffset=13 xadvance=20 page=0 chnl=0 letter="(" +char id=41 x=349 y=0 width=16 height=64 xoffset=0 yoffset=13 xadvance=20 page=0 chnl=0 letter=")" +char id=42 x=264 y=354 width=27 height=26 xoffset=0 yoffset=14 xadvance=31 page=0 chnl=0 letter="*" +char id=43 x=126 y=348 width=33 height=33 xoffset=0 yoffset=25 xadvance=37 page=0 chnl=0 letter="+" +char id=44 x=297 y=212 width=15 height=26 xoffset=0 yoffset=52 xadvance=19 page=0 chnl=0 letter="," +char id=45 x=204 y=36 width=17 height=8 xoffset=0 yoffset=42 xadvance=21 page=0 chnl=0 letter="-" +char id=46 x=167 y=177 width=13 height=13 xoffset=0 yoffset=52 xadvance=17 page=0 chnl=0 letter="." +char id=47 x=326 y=193 width=21 height=61 xoffset=0 yoffset=14 xadvance=25 page=0 chnl=0 letter="/" +char id=48 x=237 y=0 width=32 height=46 xoffset=0 yoffset=19 xadvance=36 page=0 chnl=0 letter="0" +char id=49 x=270 y=0 width=29 height=44 xoffset=0 yoffset=20 xadvance=33 page=0 chnl=0 letter="1" +char id=50 x=233 y=150 width=32 height=45 xoffset=0 yoffset=19 xadvance=36 page=0 chnl=0 letter="2" +char id=51 x=197 y=291 width=33 height=46 xoffset=0 yoffset=19 xadvance=37 page=0 chnl=0 letter="3" +char id=52 x=169 y=0 width=34 height=44 xoffset=0 yoffset=20 xadvance=38 page=0 chnl=0 letter="4" +char id=53 x=231 y=319 width=32 height=45 xoffset=0 yoffset=20 xadvance=36 page=0 chnl=0 letter="5" +char id=54 x=231 y=272 width=32 height=46 xoffset=0 yoffset=19 xadvance=36 page=0 chnl=0 letter="6" +char id=55 x=237 y=47 width=31 height=44 xoffset=0 yoffset=20 xadvance=35 page=0 chnl=0 letter="7" +char id=56 x=264 y=246 width=31 height=46 xoffset=0 yoffset=19 xadvance=35 page=0 chnl=0 letter="8" +char id=57 x=236 y=92 width=32 height=46 xoffset=0 yoffset=19 xadvance=36 page=0 chnl=0 letter="9" +char id=58 x=366 y=0 width=13 height=35 xoffset=0 yoffset=30 xadvance=17 page=0 chnl=0 letter=":" +char id=59 x=352 y=127 width=15 height=48 xoffset=0 yoffset=30 xadvance=19 page=0 chnl=0 letter=";" +char id=60 x=160 y=348 width=33 height=32 xoffset=0 yoffset=25 xadvance=37 page=0 chnl=0 letter="<" +char id=61 x=90 y=299 width=32 height=23 xoffset=0 yoffset=30 xadvance=36 page=0 chnl=0 letter="=" +char id=62 x=168 y=99 width=33 height=32 xoffset=0 yoffset=25 xadvance=37 page=0 chnl=0 letter=">" +char id=63 x=300 y=0 width=27 height=49 xoffset=0 yoffset=16 xadvance=31 page=0 chnl=0 letter="?" +char id=64 x=0 y=0 width=57 height=59 xoffset=0 yoffset=17 xadvance=61 page=0 chnl=0 letter="@" +char id=65 x=47 y=227 width=41 height=46 xoffset=0 yoffset=18 xadvance=45 page=0 chnl=0 letter="A" +char id=66 x=128 y=250 width=35 height=46 xoffset=0 yoffset=18 xadvance=39 page=0 chnl=0 letter="B" +char id=67 x=95 y=107 width=36 height=48 xoffset=0 yoffset=17 xadvance=40 page=0 chnl=0 letter="C" +char id=68 x=94 y=156 width=36 height=46 xoffset=0 yoffset=18 xadvance=40 page=0 chnl=0 letter="D" +char id=69 x=296 y=289 width=29 height=46 xoffset=0 yoffset=18 xadvance=33 page=0 chnl=0 letter="E" +char id=70 x=296 y=242 width=29 height=46 xoffset=0 yoffset=18 xadvance=33 page=0 chnl=0 letter="F" +char id=71 x=90 y=250 width=37 height=48 xoffset=0 yoffset=17 xadvance=41 page=0 chnl=0 letter="G" +char id=72 x=89 y=203 width=37 height=46 xoffset=0 yoffset=18 xadvance=41 page=0 chnl=0 letter="H" +char id=73 x=368 y=36 width=11 height=46 xoffset=0 yoffset=18 xadvance=15 page=0 chnl=0 letter="I" +char id=74 x=269 y=47 width=30 height=47 xoffset=0 yoffset=18 xadvance=34 page=0 chnl=0 letter="J" +char id=75 x=58 y=0 width=38 height=46 xoffset=0 yoffset=18 xadvance=42 page=0 chnl=0 letter="K" +char id=76 x=299 y=95 width=28 height=46 xoffset=0 yoffset=18 xadvance=32 page=0 chnl=0 letter="L" +char id=77 x=0 y=335 width=43 height=46 xoffset=0 yoffset=18 xadvance=47 page=0 chnl=0 letter="M" +char id=78 x=97 y=0 width=36 height=46 xoffset=0 yoffset=18 xadvance=40 page=0 chnl=0 letter="N" +char id=79 x=45 y=324 width=42 height=48 xoffset=0 yoffset=17 xadvance=46 page=0 chnl=0 letter="O" +char id=80 x=132 y=95 width=35 height=46 xoffset=0 yoffset=18 xadvance=39 page=0 chnl=0 letter="P" +char id=81 x=0 y=275 width=44 height=59 xoffset=0 yoffset=17 xadvance=48 page=0 chnl=0 letter="Q" +char id=82 x=88 y=324 width=37 height=46 xoffset=0 yoffset=18 xadvance=41 page=0 chnl=0 letter="R" +char id=83 x=168 y=50 width=34 height=48 xoffset=0 yoffset=17 xadvance=38 page=0 chnl=0 letter="S" +char id=84 x=127 y=203 width=36 height=46 xoffset=0 yoffset=18 xadvance=40 page=0 chnl=0 letter="T" +char id=85 x=96 y=47 width=36 height=47 xoffset=0 yoffset=18 xadvance=40 page=0 chnl=0 letter="U" +char id=86 x=53 y=156 width=40 height=46 xoffset=0 yoffset=18 xadvance=44 page=0 chnl=0 letter="V" +char id=87 x=0 y=109 width=55 height=46 xoffset=0 yoffset=18 xadvance=59 page=0 chnl=0 letter="W" +char id=88 x=56 y=109 width=38 height=46 xoffset=0 yoffset=18 xadvance=42 page=0 chnl=0 letter="X" +char id=89 x=57 y=60 width=38 height=46 xoffset=0 yoffset=18 xadvance=42 page=0 chnl=0 letter="Y" +char id=90 x=203 y=45 width=33 height=46 xoffset=0 yoffset=18 xadvance=37 page=0 chnl=0 letter="Z" +char id=91 x=351 y=309 width=15 height=61 xoffset=0 yoffset=14 xadvance=19 page=0 chnl=0 letter="[" +char id=92 x=326 y=255 width=21 height=61 xoffset=0 yoffset=14 xadvance=25 page=0 chnl=0 letter="\" +char id=93 x=365 y=176 width=15 height=61 xoffset=0 yoffset=14 xadvance=19 page=0 chnl=0 letter="]" +char id=94 x=266 y=212 width=30 height=29 xoffset=0 yoffset=17 xadvance=34 page=0 chnl=0 letter="^" +char id=95 x=44 y=373 width=33 height=6 xoffset=0 yoffset=68 xadvance=37 page=0 chnl=0 letter="_" +char id=96 x=131 y=191 width=16 height=11 xoffset=0 yoffset=13 xadvance=20 page=0 chnl=0 letter="`" +char id=97 x=266 y=175 width=30 height=36 xoffset=0 yoffset=29 xadvance=34 page=0 chnl=0 letter="a" +char id=98 x=202 y=99 width=33 height=50 xoffset=0 yoffset=15 xadvance=37 page=0 chnl=0 letter="b" +char id=99 x=269 y=95 width=29 height=36 xoffset=0 yoffset=29 xadvance=33 page=0 chnl=0 letter="c" +char id=100 x=164 y=240 width=34 height=50 xoffset=0 yoffset=15 xadvance=38 page=0 chnl=0 letter="d" +char id=101 x=197 y=338 width=32 height=36 xoffset=0 yoffset=29 xadvance=36 page=0 chnl=0 letter="e" +char id=102 x=326 y=142 width=25 height=50 xoffset=0 yoffset=14 xadvance=29 page=0 chnl=0 letter="f" +char id=103 x=162 y=297 width=34 height=50 xoffset=0 yoffset=29 xadvance=38 page=0 chnl=0 letter="g" +char id=104 x=233 y=196 width=32 height=49 xoffset=0 yoffset=15 xadvance=36 page=0 chnl=0 letter="h" +char id=105 x=367 y=287 width=12 height=50 xoffset=0 yoffset=14 xadvance=16 page=0 chnl=0 letter="i" +char id=106 x=328 y=0 width=20 height=64 xoffset=0 yoffset=14 xadvance=24 page=0 chnl=0 letter="j" +char id=107 x=134 y=0 width=34 height=49 xoffset=0 yoffset=15 xadvance=38 page=0 chnl=0 letter="k" +char id=108 x=348 y=258 width=16 height=50 xoffset=0 yoffset=15 xadvance=20 page=0 chnl=0 letter="l" +char id=109 x=0 y=156 width=52 height=35 xoffset=0 yoffset=29 xadvance=56 page=0 chnl=0 letter="m" +char id=110 x=204 y=0 width=32 height=35 xoffset=0 yoffset=29 xadvance=36 page=0 chnl=0 letter="n" +char id=111 x=133 y=50 width=34 height=36 xoffset=0 yoffset=29 xadvance=38 page=0 chnl=0 letter="o" +char id=112 x=199 y=177 width=33 height=48 xoffset=0 yoffset=29 xadvance=37 page=0 chnl=0 letter="p" +char id=113 x=164 y=191 width=34 height=48 xoffset=0 yoffset=29 xadvance=38 page=0 chnl=0 letter="q" +char id=114 x=300 y=50 width=24 height=35 xoffset=0 yoffset=29 xadvance=28 page=0 chnl=0 letter="r" +char id=115 x=297 y=175 width=28 height=36 xoffset=0 yoffset=29 xadvance=32 page=0 chnl=0 letter="s" +char id=116 x=325 y=336 width=25 height=45 xoffset=0 yoffset=20 xadvance=29 page=0 chnl=0 letter="t" +char id=117 x=266 y=139 width=31 height=35 xoffset=0 yoffset=30 xadvance=35 page=0 chnl=0 letter="u" +char id=118 x=131 y=156 width=35 height=34 xoffset=0 yoffset=30 xadvance=39 page=0 chnl=0 letter="v" +char id=119 x=0 y=192 width=51 height=34 xoffset=0 yoffset=30 xadvance=55 page=0 chnl=0 letter="w" +char id=120 x=167 y=142 width=34 height=34 xoffset=0 yoffset=30 xadvance=38 page=0 chnl=0 letter="x" +char id=121 x=126 y=299 width=35 height=48 xoffset=0 yoffset=30 xadvance=39 page=0 chnl=0 letter="y" +char id=122 x=296 y=336 width=28 height=34 xoffset=0 yoffset=30 xadvance=32 page=0 chnl=0 letter="z" +char id=123 x=328 y=65 width=19 height=61 xoffset=0 yoffset=14 xadvance=23 page=0 chnl=0 letter="{" +char id=124 x=368 y=83 width=7 height=70 xoffset=0 yoffset=12 xadvance=11 page=0 chnl=0 letter="|" +char id=125 x=348 y=65 width=19 height=61 xoffset=0 yoffset=14 xadvance=23 page=0 chnl=0 letter="}" +char id=126 x=52 y=203 width=33 height=14 xoffset=0 yoffset=34 xadvance=37 page=0 chnl=0 letter="~" +char id=8226 x=233 y=246 width=19 height=20 xoffset=0 yoffset=36 xadvance=23 page=0 chnl=0 letter="•" +char id=169 x=0 y=227 width=46 height=47 xoffset=0 yoffset=18 xadvance=50 page=0 chnl=0 letter="©" +char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=0 xadvance=21 page=0 chnl=0 letter=" " +char id=9 x=0 y=0 width=0 height=0 xoffset=0 yoffset=0 xadvance=168 page=0 chnl=0 letter=" " + +kernings count=0 diff --git a/skins/bio_attack/info.json b/skins/bio_attack/info.json new file mode 100644 index 0000000..b23b596 --- /dev/null +++ b/skins/bio_attack/info.json @@ -0,0 +1,7 @@ +{ + "title": "Biological Attack UI", + "description": "Ideal for your post-apocalyptic game.", + "author": "Raymond 'Raeleus' Buckley.", + "foldername": "bio_attack", + "filename": "biological-attack-ui.json" +} diff --git a/skins/bio_attack/preview.png b/skins/bio_attack/preview.png new file mode 100755 index 0000000..13e36f1 Binary files /dev/null and b/skins/bio_attack/preview.png differ diff --git a/skins/glassy/assets/font-big-export.fnt b/skins/glassy/assets/font-big-export.fnt new file mode 100755 index 0000000..e4a3779 --- /dev/null +++ b/skins/glassy/assets/font-big-export.fnt @@ -0,0 +1,104 @@ +info face="font-big-export" size=32 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=1,1 +common lineHeight=60 base=60 scaleW=341 scaleH=350 pages=1 packed=0 alphaChnl=1 redChnl=0 greenChnl=0 blueChnl=0 +page id=0 file="font-big-export.png" +chars count=98 +char id=33 x=332 y=299 width=8 height=46 xoffset=0 yoffset=14 xadvance=11 page=0 chnl=0 letter="!" +char id=34 x=235 y=326 width=16 height=14 xoffset=0 yoffset=14 xadvance=19 page=0 chnl=0 letter=""" +char id=35 x=126 y=0 width=33 height=45 xoffset=0 yoffset=14 xadvance=36 page=0 chnl=0 letter="#" +char id=36 x=224 y=92 width=29 height=57 xoffset=0 yoffset=12 xadvance=32 page=0 chnl=0 letter="$" +char id=37 x=47 y=255 width=43 height=49 xoffset=0 yoffset=13 xadvance=46 page=0 chnl=0 letter="%" +char id=38 x=51 y=90 width=39 height=44 xoffset=0 yoffset=16 xadvance=42 page=0 chnl=0 letter="&" +char id=39 x=252 y=334 width=4 height=14 xoffset=0 yoffset=14 xadvance=7 page=0 chnl=0 letter="'" +char id=40 x=321 y=0 width=11 height=58 xoffset=0 yoffset=13 xadvance=14 page=0 chnl=0 letter="(" +char id=41 x=320 y=288 width=11 height=58 xoffset=0 yoffset=13 xadvance=14 page=0 chnl=0 letter=")" +char id=42 x=193 y=324 width=21 height=21 xoffset=0 yoffset=14 xadvance=24 page=0 chnl=0 letter="*" +char id=43 x=160 y=135 width=31 height=30 xoffset=0 yoffset=22 xadvance=34 page=0 chnl=0 letter="+" +char id=44 x=81 y=135 width=9 height=14 xoffset=0 yoffset=50 xadvance=12 page=0 chnl=0 letter="," +char id=45 x=235 y=321 width=17 height=4 xoffset=0 yoffset=36 xadvance=20 page=0 chnl=0 letter="-" +char id=46 x=235 y=341 width=7 height=8 xoffset=0 yoffset=52 xadvance=10 page=0 chnl=0 letter="." +char id=47 x=280 y=137 width=23 height=51 xoffset=0 yoffset=14 xadvance=26 page=0 chnl=0 letter="/" +char id=48 x=193 y=0 width=30 height=45 xoffset=0 yoffset=15 xadvance=33 page=0 chnl=0 letter="0" +char id=49 x=306 y=230 width=11 height=44 xoffset=0 yoffset=16 xadvance=14 page=0 chnl=0 letter="1" +char id=50 x=193 y=233 width=30 height=44 xoffset=0 yoffset=15 xadvance=33 page=0 chnl=0 letter="2" +char id=51 x=193 y=46 width=29 height=45 xoffset=0 yoffset=15 xadvance=32 page=0 chnl=0 letter="3" +char id=52 x=192 y=135 width=31 height=44 xoffset=0 yoffset=15 xadvance=34 page=0 chnl=0 letter="4" +char id=53 x=223 y=46 width=29 height=45 xoffset=0 yoffset=15 xadvance=32 page=0 chnl=0 letter="5" +char id=54 x=253 y=196 width=27 height=45 xoffset=0 yoffset=15 xadvance=30 page=0 chnl=0 letter="6" +char id=55 x=224 y=0 width=28 height=45 xoffset=0 yoffset=15 xadvance=31 page=0 chnl=0 letter="7" +char id=56 x=193 y=278 width=30 height=45 xoffset=0 yoffset=15 xadvance=33 page=0 chnl=0 letter="8" +char id=57 x=253 y=46 width=27 height=45 xoffset=0 yoffset=15 xadvance=30 page=0 chnl=0 letter="9" +char id=58 x=330 y=216 width=8 height=35 xoffset=0 yoffset=25 xadvance=11 page=0 chnl=0 letter=":" +char id=59 x=323 y=176 width=9 height=39 xoffset=0 yoffset=25 xadvance=12 page=0 chnl=0 letter=";" +char id=60 x=128 y=209 width=31 height=32 xoffset=0 yoffset=21 xadvance=34 page=0 chnl=0 letter="<" +char id=61 x=192 y=214 width=30 height=18 xoffset=0 yoffset=28 xadvance=33 page=0 chnl=0 letter="=" +char id=62 x=160 y=209 width=31 height=32 xoffset=0 yoffset=21 xadvance=34 page=0 chnl=0 letter=">" +char id=63 x=253 y=242 width=26 height=46 xoffset=0 yoffset=14 xadvance=29 page=0 chnl=0 letter="?" +char id=64 x=47 y=207 width=45 height=47 xoffset=0 yoffset=13 xadvance=48 page=0 chnl=0 letter="@" +char id=65 x=47 y=305 width=42 height=44 xoffset=0 yoffset=15 xadvance=45 page=0 chnl=0 letter="A" +char id=66 x=160 y=294 width=32 height=44 xoffset=0 yoffset=15 xadvance=35 page=0 chnl=0 letter="B" +char id=67 x=48 y=159 width=42 height=45 xoffset=0 yoffset=15 xadvance=45 page=0 chnl=0 letter="C" +char id=68 x=53 y=0 width=37 height=44 xoffset=0 yoffset=15 xadvance=40 page=0 chnl=0 letter="D" +char id=69 x=254 y=126 width=25 height=44 xoffset=0 yoffset=16 xadvance=28 page=0 chnl=0 letter="E" +char id=70 x=279 y=289 width=25 height=44 xoffset=0 yoffset=16 xadvance=28 page=0 chnl=0 letter="F" +char id=71 x=0 y=255 width=46 height=45 xoffset=0 yoffset=15 xadvance=49 page=0 chnl=0 letter="G" +char id=72 x=160 y=45 width=32 height=44 xoffset=0 yoffset=16 xadvance=35 page=0 chnl=0 letter="H" +char id=73 x=334 y=104 width=5 height=44 xoffset=0 yoffset=16 xadvance=8 page=0 chnl=0 letter="I" +char id=74 x=305 y=288 width=14 height=57 xoffset=0 yoffset=15 xadvance=17 page=0 chnl=0 letter="J" +char id=75 x=160 y=90 width=32 height=44 xoffset=0 yoffset=16 xadvance=35 page=0 chnl=0 letter="K" +char id=76 x=281 y=189 width=22 height=44 xoffset=0 yoffset=15 xadvance=25 page=0 chnl=0 letter="L" +char id=77 x=0 y=45 width=50 height=44 xoffset=0 yoffset=16 xadvance=53 page=0 chnl=0 letter="M" +char id=78 x=90 y=305 width=35 height=44 xoffset=0 yoffset=16 xadvance=38 page=0 chnl=0 letter="N" +char id=79 x=0 y=301 width=46 height=45 xoffset=0 yoffset=15 xadvance=49 page=0 chnl=0 letter="O" +char id=80 x=224 y=231 width=28 height=44 xoffset=0 yoffset=15 xadvance=31 page=0 chnl=0 letter="P" +char id=81 x=0 y=207 width=46 height=47 xoffset=0 yoffset=15 xadvance=49 page=0 chnl=0 letter="Q" +char id=82 x=224 y=276 width=28 height=44 xoffset=0 yoffset=16 xadvance=31 page=0 chnl=0 letter="R" +char id=83 x=280 y=242 width=25 height=45 xoffset=0 yoffset=15 xadvance=28 page=0 chnl=0 letter="S" +char id=84 x=280 y=92 width=24 height=44 xoffset=0 yoffset=16 xadvance=27 page=0 chnl=0 letter="T" +char id=85 x=126 y=46 width=33 height=45 xoffset=0 yoffset=15 xadvance=36 page=0 chnl=0 letter="U" +char id=86 x=51 y=45 width=39 height=44 xoffset=0 yoffset=16 xadvance=42 page=0 chnl=0 letter="V" +char id=87 x=0 y=0 width=52 height=44 xoffset=0 yoffset=16 xadvance=55 page=0 chnl=0 letter="W" +char id=88 x=126 y=128 width=33 height=44 xoffset=0 yoffset=16 xadvance=36 page=0 chnl=0 letter="X" +char id=89 x=160 y=0 width=32 height=44 xoffset=0 yoffset=16 xadvance=35 page=0 chnl=0 letter="Y" +char id=90 x=253 y=289 width=25 height=44 xoffset=0 yoffset=16 xadvance=28 page=0 chnl=0 letter="Z" +char id=91 x=321 y=59 width=11 height=57 xoffset=0 yoffset=14 xadvance=14 page=0 chnl=0 letter="[" +char id=92 x=126 y=294 width=33 height=51 xoffset=0 yoffset=14 xadvance=36 page=0 chnl=0 letter="\" +char id=93 x=318 y=230 width=11 height=57 xoffset=0 yoffset=14 xadvance=14 page=0 chnl=0 letter="]" +char id=94 x=91 y=36 width=34 height=33 xoffset=0 yoffset=15 xadvance=37 page=0 chnl=0 letter="^" +char id=95 x=49 y=135 width=31 height=4 xoffset=0 yoffset=55 xadvance=34 page=0 chnl=0 letter="_" +char id=96 x=160 y=339 width=13 height=10 xoffset=0 yoffset=11 xadvance=16 page=0 chnl=0 letter="`" +char id=97 x=91 y=117 width=34 height=35 xoffset=0 yoffset=25 xadvance=37 page=0 chnl=0 letter="a" +char id=98 x=126 y=247 width=34 height=46 xoffset=0 yoffset=14 xadvance=37 page=0 chnl=0 letter="b" +char id=99 x=126 y=92 width=33 height=35 xoffset=0 yoffset=25 xadvance=36 page=0 chnl=0 letter="c" +char id=100 x=93 y=200 width=34 height=46 xoffset=0 yoffset=14 xadvance=37 page=0 chnl=0 letter="d" +char id=101 x=128 y=173 width=33 height=35 xoffset=0 yoffset=25 xadvance=36 page=0 chnl=0 letter="e" +char id=102 x=305 y=58 width=15 height=46 xoffset=0 yoffset=14 xadvance=18 page=0 chnl=0 letter="f" +char id=103 x=91 y=153 width=34 height=46 xoffset=0 yoffset=25 xadvance=37 page=0 chnl=0 letter="g" +char id=104 x=224 y=150 width=29 height=45 xoffset=0 yoffset=15 xadvance=32 page=0 chnl=0 letter="h" +char id=105 x=332 y=252 width=8 height=46 xoffset=0 yoffset=14 xadvance=11 page=0 chnl=0 letter="i" +char id=106 x=323 y=117 width=10 height=58 xoffset=0 yoffset=13 xadvance=13 page=0 chnl=0 letter="j" +char id=107 x=253 y=0 width=27 height=45 xoffset=0 yoffset=15 xadvance=30 page=0 chnl=0 letter="k" +char id=108 x=333 y=0 width=5 height=45 xoffset=0 yoffset=15 xadvance=8 page=0 chnl=0 letter="l" +char id=109 x=0 y=124 width=48 height=34 xoffset=0 yoffset=26 xadvance=51 page=0 chnl=0 letter="m" +char id=110 x=224 y=196 width=28 height=34 xoffset=0 yoffset=26 xadvance=31 page=0 chnl=0 letter="n" +char id=111 x=91 y=0 width=34 height=35 xoffset=0 yoffset=25 xadvance=37 page=0 chnl=0 letter="o" +char id=112 x=91 y=255 width=34 height=46 xoffset=0 yoffset=25 xadvance=37 page=0 chnl=0 letter="p" +char id=113 x=91 y=70 width=34 height=46 xoffset=0 yoffset=25 xadvance=37 page=0 chnl=0 letter="q" +char id=114 x=304 y=195 width=16 height=34 xoffset=0 yoffset=26 xadvance=19 page=0 chnl=0 letter="r" +char id=115 x=281 y=0 width=20 height=35 xoffset=0 yoffset=25 xadvance=23 page=0 chnl=0 letter="s" +char id=116 x=281 y=36 width=16 height=46 xoffset=0 yoffset=14 xadvance=19 page=0 chnl=0 letter="t" +char id=117 x=193 y=92 width=29 height=34 xoffset=0 yoffset=26 xadvance=32 page=0 chnl=0 letter="u" +char id=118 x=192 y=180 width=31 height=33 xoffset=0 yoffset=27 xadvance=34 page=0 chnl=0 letter="v" +char id=119 x=0 y=90 width=50 height=33 xoffset=0 yoffset=27 xadvance=53 page=0 chnl=0 letter="w" +char id=120 x=162 y=166 width=29 height=33 xoffset=0 yoffset=27 xadvance=32 page=0 chnl=0 letter="x" +char id=121 x=161 y=242 width=31 height=45 xoffset=0 yoffset=26 xadvance=34 page=0 chnl=0 letter="y" +char id=122 x=254 y=92 width=25 height=33 xoffset=0 yoffset=27 xadvance=28 page=0 chnl=0 letter="z" +char id=123 x=302 y=0 width=18 height=57 xoffset=0 yoffset=15 xadvance=21 page=0 chnl=0 letter="{" +char id=124 x=333 y=46 width=5 height=57 xoffset=0 yoffset=14 xadvance=8 page=0 chnl=0 letter="|" +char id=125 x=304 y=137 width=18 height=57 xoffset=0 yoffset=15 xadvance=21 page=0 chnl=0 letter="}" +char id=126 x=49 y=140 width=31 height=10 xoffset=0 yoffset=32 xadvance=34 page=0 chnl=0 letter="~" +char id=8226 x=215 y=324 width=19 height=19 xoffset=0 yoffset=34 xadvance=22 page=0 chnl=0 letter="•" +char id=169 x=0 y=159 width=47 height=47 xoffset=0 yoffset=13 xadvance=50 page=0 chnl=0 letter="©" +char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=0 letter=" " +char id=9 x=0 y=0 width=0 height=0 xoffset=0 yoffset=0 xadvance=144 page=0 chnl=0 letter=" " + +kernings count=0 diff --git a/skins/glassy/assets/font-export.fnt b/skins/glassy/assets/font-export.fnt new file mode 100755 index 0000000..da78a49 --- /dev/null +++ b/skins/glassy/assets/font-export.fnt @@ -0,0 +1,104 @@ +info face="font-export" size=32 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=1,1 +common lineHeight=19 base=19 scaleW=116 scaleH=117 pages=1 packed=0 alphaChnl=1 redChnl=0 greenChnl=0 blueChnl=0 +page id=0 file="font-export.png" +chars count=98 +char id=33 x=102 y=60 width=3 height=14 xoffset=0 yoffset=5 xadvance=4 page=0 chnl=0 letter="!" +char id=34 x=74 y=108 width=5 height=4 xoffset=0 yoffset=5 xadvance=6 page=0 chnl=0 letter=""" +char id=35 x=30 y=89 width=11 height=15 xoffset=0 yoffset=4 xadvance=12 page=0 chnl=0 letter="#" +char id=36 x=64 y=30 width=9 height=18 xoffset=0 yoffset=4 xadvance=10 page=0 chnl=0 letter="$" +char id=37 x=16 y=57 width=13 height=16 xoffset=0 yoffset=4 xadvance=14 page=0 chnl=0 letter="%" +char id=38 x=29 y=74 width=12 height=14 xoffset=0 yoffset=5 xadvance=13 page=0 chnl=0 letter="&" +char id=39 x=71 y=49 width=2 height=4 xoffset=0 yoffset=5 xadvance=3 page=0 chnl=0 letter="'" +char id=40 x=108 y=81 width=4 height=18 xoffset=0 yoffset=4 xadvance=5 page=0 chnl=0 letter="(" +char id=41 x=108 y=0 width=4 height=18 xoffset=0 yoffset=4 xadvance=5 page=0 chnl=0 letter=")" +char id=42 x=64 y=90 width=7 height=7 xoffset=0 yoffset=5 xadvance=8 page=0 chnl=0 letter="*" +char id=43 x=53 y=71 width=10 height=10 xoffset=0 yoffset=7 xadvance=11 page=0 chnl=0 letter="+" +char id=44 x=75 y=69 width=4 height=4 xoffset=0 yoffset=16 xadvance=5 page=0 chnl=0 letter="," +char id=45 x=42 y=102 width=6 height=2 xoffset=0 yoffset=11 xadvance=7 page=0 chnl=0 letter="-" +char id=46 x=75 y=74 width=3 height=3 xoffset=0 yoffset=16 xadvance=4 page=0 chnl=0 letter="." +char id=47 x=93 y=75 width=7 height=15 xoffset=0 yoffset=5 xadvance=8 page=0 chnl=0 letter="/" +char id=48 x=65 y=0 width=9 height=14 xoffset=0 yoffset=5 xadvance=10 page=0 chnl=0 letter="0" +char id=49 x=102 y=45 width=4 height=14 xoffset=0 yoffset=5 xadvance=5 page=0 chnl=0 letter="1" +char id=50 x=63 y=56 width=10 height=14 xoffset=0 yoffset=5 xadvance=11 page=0 chnl=0 letter="2" +char id=51 x=75 y=0 width=9 height=14 xoffset=0 yoffset=5 xadvance=10 page=0 chnl=0 letter="3" +char id=52 x=74 y=93 width=9 height=14 xoffset=0 yoffset=5 xadvance=10 page=0 chnl=0 letter="4" +char id=53 x=84 y=15 width=9 height=14 xoffset=0 yoffset=5 xadvance=10 page=0 chnl=0 letter="5" +char id=54 x=84 y=90 width=8 height=14 xoffset=0 yoffset=5 xadvance=9 page=0 chnl=0 letter="6" +char id=55 x=74 y=30 width=9 height=14 xoffset=0 yoffset=5 xadvance=10 page=0 chnl=0 letter="7" +char id=56 x=42 y=87 width=10 height=14 xoffset=0 yoffset=5 xadvance=11 page=0 chnl=0 letter="8" +char id=57 x=93 y=45 width=8 height=14 xoffset=0 yoffset=5 xadvance=9 page=0 chnl=0 letter="9" +char id=58 x=108 y=32 width=2 height=11 xoffset=0 yoffset=8 xadvance=3 page=0 chnl=0 letter=":" +char id=59 x=108 y=19 width=3 height=12 xoffset=0 yoffset=8 xadvance=4 page=0 chnl=0 letter=";" +char id=60 x=53 y=30 width=10 height=10 xoffset=0 yoffset=7 xadvance=11 page=0 chnl=0 letter="<" +char id=61 x=64 y=71 width=10 height=6 xoffset=0 yoffset=9 xadvance=11 page=0 chnl=0 letter="=" +char id=62 x=52 y=102 width=10 height=10 xoffset=0 yoffset=7 xadvance=11 page=0 chnl=0 letter=">" +char id=63 x=93 y=60 width=8 height=14 xoffset=0 yoffset=5 xadvance=9 page=0 chnl=0 letter="?" +char id=64 x=15 y=101 width=14 height=15 xoffset=0 yoffset=4 xadvance=15 page=0 chnl=0 letter="@" +char id=65 x=16 y=27 width=13 height=14 xoffset=0 yoffset=5 xadvance=14 page=0 chnl=0 letter="A" +char id=66 x=30 y=0 width=11 height=14 xoffset=0 yoffset=5 xadvance=12 page=0 chnl=0 letter="B" +char id=67 x=16 y=42 width=13 height=14 xoffset=0 yoffset=5 xadvance=14 page=0 chnl=0 letter="C" +char id=68 x=17 y=0 width=12 height=14 xoffset=0 yoffset=5 xadvance=13 page=0 chnl=0 letter="D" +char id=69 x=84 y=75 width=8 height=14 xoffset=0 yoffset=5 xadvance=9 page=0 chnl=0 letter="E" +char id=70 x=93 y=30 width=8 height=14 xoffset=0 yoffset=5 xadvance=9 page=0 chnl=0 letter="F" +char id=71 x=0 y=59 width=15 height=14 xoffset=0 yoffset=5 xadvance=16 page=0 chnl=0 letter="G" +char id=72 x=63 y=98 width=10 height=14 xoffset=0 yoffset=5 xadvance=11 page=0 chnl=0 letter="H" +char id=73 x=108 y=100 width=2 height=14 xoffset=0 yoffset=5 xadvance=3 page=0 chnl=0 letter="I" +char id=74 x=102 y=27 width=5 height=17 xoffset=0 yoffset=5 xadvance=6 page=0 chnl=0 letter="J" +char id=75 x=54 y=0 width=10 height=14 xoffset=0 yoffset=5 xadvance=11 page=0 chnl=0 letter="K" +char id=76 x=93 y=91 width=7 height=14 xoffset=0 yoffset=5 xadvance=8 page=0 chnl=0 letter="L" +char id=77 x=0 y=74 width=15 height=14 xoffset=0 yoffset=5 xadvance=16 page=0 chnl=0 letter="M" +char id=78 x=30 y=30 width=11 height=14 xoffset=0 yoffset=5 xadvance=12 page=0 chnl=0 letter="N" +char id=79 x=0 y=101 width=14 height=14 xoffset=0 yoffset=5 xadvance=15 page=0 chnl=0 letter="O" +char id=80 x=74 y=15 width=9 height=14 xoffset=0 yoffset=5 xadvance=10 page=0 chnl=0 letter="P" +char id=81 x=0 y=43 width=15 height=15 xoffset=0 yoffset=5 xadvance=16 page=0 chnl=0 letter="Q" +char id=82 x=74 y=78 width=9 height=14 xoffset=0 yoffset=5 xadvance=10 page=0 chnl=0 letter="R" +char id=83 x=84 y=60 width=8 height=14 xoffset=0 yoffset=5 xadvance=9 page=0 chnl=0 letter="S" +char id=84 x=84 y=45 width=8 height=14 xoffset=0 yoffset=5 xadvance=9 page=0 chnl=0 letter="T" +char id=85 x=42 y=0 width=11 height=14 xoffset=0 yoffset=5 xadvance=12 page=0 chnl=0 letter="U" +char id=86 x=16 y=74 width=12 height=14 xoffset=0 yoffset=5 xadvance=13 page=0 chnl=0 letter="V" +char id=87 x=0 y=0 width=16 height=14 xoffset=0 yoffset=5 xadvance=17 page=0 chnl=0 letter="W" +char id=88 x=42 y=72 width=10 height=14 xoffset=0 yoffset=5 xadvance=11 page=0 chnl=0 letter="X" +char id=89 x=53 y=41 width=10 height=14 xoffset=0 yoffset=5 xadvance=11 page=0 chnl=0 letter="Y" +char id=90 x=85 y=0 width=8 height=14 xoffset=0 yoffset=5 xadvance=9 page=0 chnl=0 letter="Z" +char id=91 x=107 y=45 width=4 height=17 xoffset=0 yoffset=5 xadvance=5 page=0 chnl=0 letter="[" +char id=92 x=53 y=82 width=10 height=15 xoffset=0 yoffset=5 xadvance=11 page=0 chnl=0 letter="\" +char id=93 x=108 y=63 width=4 height=17 xoffset=0 yoffset=5 xadvance=5 page=0 chnl=0 letter="]" +char id=94 x=52 y=60 width=10 height=10 xoffset=0 yoffset=5 xadvance=11 page=0 chnl=0 letter="^" +char id=95 x=30 y=110 width=10 height=2 xoffset=0 yoffset=17 xadvance=11 page=0 chnl=0 letter="_" +char id=96 x=53 y=98 width=5 height=3 xoffset=0 yoffset=4 xadvance=6 page=0 chnl=0 letter="`" +char id=97 x=16 y=89 width=11 height=11 xoffset=0 yoffset=8 xadvance=12 page=0 chnl=0 letter="a" +char id=98 x=30 y=15 width=11 height=14 xoffset=0 yoffset=5 xadvance=12 page=0 chnl=0 letter="b" +char id=99 x=41 y=60 width=10 height=11 xoffset=0 yoffset=8 xadvance=11 page=0 chnl=0 letter="c" +char id=100 x=42 y=45 width=10 height=14 xoffset=0 yoffset=5 xadvance=11 page=0 chnl=0 letter="d" +char id=101 x=41 y=105 width=10 height=11 xoffset=0 yoffset=8 xadvance=11 page=0 chnl=0 letter="e" +char id=102 x=94 y=12 width=6 height=14 xoffset=0 yoffset=5 xadvance=7 page=0 chnl=0 letter="f" +char id=103 x=42 y=30 width=10 height=14 xoffset=0 yoffset=8 xadvance=11 page=0 chnl=0 letter="g" +char id=104 x=64 y=15 width=9 height=14 xoffset=0 yoffset=5 xadvance=10 page=0 chnl=0 letter="h" +char id=105 x=113 y=56 width=2 height=14 xoffset=0 yoffset=5 xadvance=3 page=0 chnl=0 letter="i" +char id=106 x=112 y=19 width=3 height=18 xoffset=0 yoffset=4 xadvance=4 page=0 chnl=0 letter="j" +char id=107 x=84 y=30 width=8 height=14 xoffset=0 yoffset=5 xadvance=9 page=0 chnl=0 letter="k" +char id=108 x=111 y=100 width=2 height=14 xoffset=0 yoffset=5 xadvance=3 page=0 chnl=0 letter="l" +char id=109 x=0 y=15 width=16 height=11 xoffset=0 yoffset=8 xadvance=17 page=0 chnl=0 letter="m" +char id=110 x=74 y=45 width=9 height=11 xoffset=0 yoffset=8 xadvance=10 page=0 chnl=0 letter="n" +char id=111 x=17 y=15 width=11 height=11 xoffset=0 yoffset=8 xadvance=12 page=0 chnl=0 letter="o" +char id=112 x=42 y=15 width=10 height=14 xoffset=0 yoffset=8 xadvance=11 page=0 chnl=0 letter="p" +char id=113 x=30 y=45 width=11 height=14 xoffset=0 yoffset=8 xadvance=12 page=0 chnl=0 letter="q" +char id=114 x=94 y=0 width=6 height=11 xoffset=0 yoffset=8 xadvance=7 page=0 chnl=0 letter="r" +char id=115 x=101 y=0 width=6 height=11 xoffset=0 yoffset=8 xadvance=7 page=0 chnl=0 letter="s" +char id=116 x=101 y=12 width=5 height=14 xoffset=0 yoffset=5 xadvance=6 page=0 chnl=0 letter="t" +char id=117 x=74 y=57 width=9 height=11 xoffset=0 yoffset=8 xadvance=10 page=0 chnl=0 letter="u" +char id=118 x=30 y=60 width=10 height=11 xoffset=0 yoffset=8 xadvance=11 page=0 chnl=0 letter="v" +char id=119 x=0 y=89 width=15 height=11 xoffset=0 yoffset=8 xadvance=16 page=0 chnl=0 letter="w" +char id=120 x=64 y=78 width=9 height=11 xoffset=0 yoffset=8 xadvance=10 page=0 chnl=0 letter="x" +char id=121 x=53 y=15 width=10 height=14 xoffset=0 yoffset=8 xadvance=11 page=0 chnl=0 letter="y" +char id=122 x=84 y=105 width=8 height=11 xoffset=0 yoffset=8 xadvance=9 page=0 chnl=0 letter="z" +char id=123 x=101 y=94 width=6 height=18 xoffset=0 yoffset=5 xadvance=7 page=0 chnl=0 letter="{" +char id=124 x=112 y=38 width=2 height=17 xoffset=0 yoffset=5 xadvance=3 page=0 chnl=0 letter="|" +char id=125 x=101 y=75 width=6 height=18 xoffset=0 yoffset=5 xadvance=7 page=0 chnl=0 letter="}" +char id=126 x=30 y=105 width=10 height=4 xoffset=0 yoffset=10 xadvance=11 page=0 chnl=0 letter="~" +char id=8226 x=64 y=49 width=6 height=6 xoffset=0 yoffset=11 xadvance=7 page=0 chnl=0 letter="•" +char id=169 x=0 y=27 width=15 height=15 xoffset=0 yoffset=4 xadvance=16 page=0 chnl=0 letter="©" +char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=0 xadvance=6 page=0 chnl=0 letter=" " +char id=9 x=0 y=0 width=0 height=0 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=0 letter=" " + +kernings count=0 diff --git a/skins/glassy/assets/glassy-ui.atlas b/skins/glassy/assets/glassy-ui.atlas new file mode 100755 index 0000000..0ecdc04 --- /dev/null +++ b/skins/glassy/assets/glassy-ui.atlas @@ -0,0 +1,263 @@ + +glassy-ui.png +size: 1024,1024 +format: RGBA8888 +filter: Linear,Linear +repeat: none +button + rotate: false + xy: 1, 508 + size: 297, 106 + split: 49, 48, 52, 51 + pad: 28, 27, 7, 7 + orig: 297, 106 + offset: 0, 0 + index: -1 +button-down + rotate: false + xy: 344, 860 + size: 297, 106 + split: 49, 48, 52, 51 + pad: 28, 27, 7, 7 + orig: 297, 106 + offset: 0, 0 + index: -1 +button-small + rotate: false + xy: 1, 460 + size: 130, 46 + split: 21, 21, 22, 20 + orig: 130, 46 + offset: 0, 0 + index: -1 +button-small-down + rotate: false + xy: 344, 812 + size: 130, 46 + split: 21, 21, 22, 20 + orig: 130, 46 + offset: 0, 0 + index: -1 +checkbox + rotate: false + xy: 66, 319 + size: 25, 20 + orig: 25, 20 + offset: 0, 0 + index: -1 +checkbox-off + rotate: false + xy: 643, 923 + size: 25, 20 + orig: 25, 20 + offset: 0, 0 + index: -1 +font-big-export + rotate: false + xy: 1, 616 + size: 341, 350 + orig: 341, 350 + offset: 0, 0 + index: -1 +font-export + rotate: false + xy: 1, 341 + size: 116, 117 + orig: 116, 117 + offset: 0, 0 + index: -1 +horizontal-scroll-bar + rotate: false + xy: 643, 945 + size: 52, 21 + split: 14, 14, 9, 9 + pad: 8, 8, 5, 5 + orig: 52, 21 + offset: 0, 0 + index: -1 +horizontal-scroll-knob + rotate: false + xy: 133, 485 + size: 52, 21 + split: 14, 14, 10, 9 + pad: 0, 0, 0, 0 + orig: 52, 21 + offset: 0, 0 + index: -1 +horizontal-split-pane + rotate: false + xy: 119, 453 + size: 5, 5 + split: 2, 2, 1, 1 + pad: 0, 0, 0, 0 + orig: 5, 5 + offset: 0, 0 + index: -1 +list + rotate: false + xy: 35, 50 + size: 16, 15 + split: 4, 4, 4, 4 + pad: 4, 4, 2, 2 + orig: 16, 15 + offset: 0, 0 + index: -1 +minus + rotate: false + xy: 697, 946 + size: 25, 20 + orig: 25, 20 + offset: 0, 0 + index: -1 +plus + rotate: false + xy: 133, 463 + size: 25, 20 + orig: 25, 20 + offset: 0, 0 + index: -1 +progress-bar + rotate: false + xy: 300, 548 + size: 22, 32 + split: 7, 6, 6, 6 + pad: 3, 3, 3, 3 + orig: 22, 32 + offset: 0, 0 + index: -1 +progress-bar-knob + rotate: false + xy: 344, 732 + size: 1, 22 + split: 0, 0, 0, 21 + pad: 0, 0, 0, 0 + orig: 1, 22 + offset: 0, 0 + index: -1 +progress-bar-knob-vertical + rotate: false + xy: 476, 823 + size: 22, 1 + split: 0, 21, 0, 0 + pad: 0, 0, 0, 0 + orig: 22, 1 + offset: 0, 0 + index: -1 +progress-bar-vertical + rotate: false + xy: 1, 43 + size: 32, 22 + split: 6, 6, 7, 6 + pad: 3, 3, 3, 3 + orig: 32, 22 + offset: 0, 0 + index: -1 +radio-button + rotate: false + xy: 187, 486 + size: 25, 20 + orig: 25, 20 + offset: 0, 0 + index: -1 +radio-button-off + rotate: false + xy: 344, 756 + size: 25, 20 + orig: 25, 20 + offset: 0, 0 + index: -1 +select-box + rotate: false + xy: 344, 778 + size: 47, 32 + split: 4, 35, 28, 3 + pad: 7, 36, 3, 3 + orig: 47, 32 + offset: 0, 0 + index: -1 +select-box-down + rotate: false + xy: 476, 826 + size: 47, 32 + split: 4, 35, 28, 3 + pad: 3, 36, 3, 3 + orig: 47, 32 + offset: 0, 0 + index: -1 +slider + rotate: false + xy: 393, 778 + size: 25, 32 + split: 5, 5, 15, 14 + pad: 0, 0, 0, 0 + orig: 25, 32 + offset: 0, 0 + index: -1 +slider-knob + rotate: false + xy: 300, 582 + size: 32, 32 + orig: 32, 32 + offset: 0, 0 + index: -1 +slider-vertical + rotate: false + xy: 525, 826 + size: 25, 32 + split: 11, 11, 9, 7 + pad: 0, 0, 1, 0 + orig: 25, 32 + offset: 0, 0 + index: -1 +textfield + rotate: false + xy: 1, 1 + size: 22, 40 + split: 6, 6, 5, 5 + pad: 8, 8, 7, 7 + orig: 22, 40 + offset: 0, 0 + index: -1 +vertical-scroll-bar + rotate: false + xy: 66, 265 + size: 21, 52 + split: 9, 9, 14, 14 + pad: 5, 5, 8, 8 + orig: 21, 52 + offset: 0, 0 + index: -1 +vertical-scroll-knob + rotate: false + xy: 643, 869 + size: 21, 52 + split: 10, 9, 14, 14 + pad: 0, 0, 0, 0 + orig: 21, 52 + offset: 0, 0 + index: -1 +vertical-split-pane + rotate: false + xy: 334, 609 + size: 5, 5 + split: 1, 1, 2, 2 + pad: 0, 0, 0, 0 + orig: 5, 5 + offset: 0, 0 + index: -1 +white + rotate: false + xy: 93, 338 + size: 1, 1 + orig: 1, 1 + offset: 0, 0 + index: -1 +window + rotate: false + xy: 1, 67 + size: 63, 272 + split: 10, 10, 30, 0 + pad: 5, 5, 32, 24 + orig: 63, 272 + offset: 0, 0 + index: -1 diff --git a/skins/glassy/assets/glassy-ui.json b/skins/glassy/assets/glassy-ui.json new file mode 100755 index 0000000..2eaad5f --- /dev/null +++ b/skins/glassy/assets/glassy-ui.json @@ -0,0 +1,213 @@ +{ +com.badlogic.gdx.graphics.g2d.BitmapFont: { + font: { + file: font-export.fnt + } + font-big: { + file: font-big-export.fnt + } +} +com.badlogic.gdx.graphics.Color: { + black: { + r: 0 + g: 0 + b: 0 + a: 1 + } + cyan: { + r: 0 + g: 1 + b: 0.99166656 + a: 1 + } + dark-cyan: { + r: 0 + g: 0.39373153 + b: 0.4333333 + a: 1 + } + white: { + r: 1 + g: 1 + b: 1 + a: 1 + } +} +com.badlogic.gdx.scenes.scene2d.ui.Skin$TintedDrawable: { + pale-blue: { + name: white + color: { + r: 0.48342222 + g: 0.76367503 + b: 0.99333334 + a: 1 + } + } + black: { + name: white + color: { + r: 0 + g: 0 + b: 0 + a: 1 + } + } +} +com.badlogic.gdx.scenes.scene2d.ui.Button$ButtonStyle: { + default: { + up: button + down: button-down + } + small: { + up: button-small + down: button-small-down + } +} +com.badlogic.gdx.scenes.scene2d.ui.CheckBox$CheckBoxStyle: { + default: { + checkboxOn: checkbox + checkboxOff: checkbox-off + font: font + fontColor: white + } + radio: { + checkboxOn: radio-button + checkboxOff: radio-button-off + font: font + fontColor: white + } +} +com.badlogic.gdx.scenes.scene2d.ui.ImageButton$ImageButtonStyle: { + default: { + up: button + down: button-down + } +} +com.badlogic.gdx.scenes.scene2d.ui.ImageTextButton$ImageTextButtonStyle: { + default: { + font: font-big + up: button + down: button-down + } +} +com.badlogic.gdx.scenes.scene2d.ui.Label$LabelStyle: { + default: { + font: font + } + big: { + font: font-big + } + black: { + font: font + fontColor: black + } +} +com.badlogic.gdx.scenes.scene2d.ui.List$ListStyle: { + default: { + font: font + fontColorSelected: white + fontColorUnselected: dark-cyan + selection: pale-blue + background: list + } + plain: { + font: font + fontColorSelected: white + fontColorUnselected: dark-cyan + selection: pale-blue + } +} +com.badlogic.gdx.scenes.scene2d.ui.ProgressBar$ProgressBarStyle: { + default-horizontal: { + background: progress-bar + knobBefore: progress-bar-knob + } + default-vertical: { + background: progress-bar-vertical + knobBefore: progress-bar-knob-vertical + } +} +com.badlogic.gdx.scenes.scene2d.ui.ScrollPane$ScrollPaneStyle: { + default: { + hScroll: horizontal-scroll-bar + hScrollKnob: horizontal-scroll-knob + vScroll: vertical-scroll-bar + vScrollKnob: vertical-scroll-knob + } + scroll: { + background: list + hScroll: horizontal-scroll-bar + hScrollKnob: horizontal-scroll-knob + vScroll: vertical-scroll-bar + vScrollKnob: vertical-scroll-knob + } +} +com.badlogic.gdx.scenes.scene2d.ui.SelectBox$SelectBoxStyle: { + default: { + font: font + fontColor: dark-cyan + background: select-box + scrollStyle: scroll + listStyle: plain + } +} +com.badlogic.gdx.scenes.scene2d.ui.Slider$SliderStyle: { + default-horizontal: { + background: slider + knob: slider-knob + } + default-vertical: { + background: slider-vertical + knob: slider-knob + } +} +com.badlogic.gdx.scenes.scene2d.ui.SplitPane$SplitPaneStyle: { + default-horizontal: { + handle: horizontal-split-pane + } + default-vertical: { + handle: vertical-split-pane + } +} +com.badlogic.gdx.scenes.scene2d.ui.TextButton$TextButtonStyle: { + default: { + font: font-big + up: button + down: button-down + } + small: { + font: font + up: button-small + down: button-small-down + } +} +com.badlogic.gdx.scenes.scene2d.ui.TextField$TextFieldStyle: { + default: { + font: font + fontColor: black + background: textfield + cursor: black + selection: pale-blue + } +} +com.badlogic.gdx.scenes.scene2d.ui.TextTooltip$TextTooltipStyle: { + default: { + label: black + background: list + } +} +com.badlogic.gdx.scenes.scene2d.ui.Tree$TreeStyle: { + default: { + plus: plus + minus: minus + selection: pale-blue + } +} +com.badlogic.gdx.scenes.scene2d.ui.Window$WindowStyle: { + default: { + background: window + titleFont: font + titleFontColor: black + } +} +} \ No newline at end of file diff --git a/skins/glassy/assets/glassy-ui.png b/skins/glassy/assets/glassy-ui.png new file mode 100755 index 0000000..b4c04a7 Binary files /dev/null and b/skins/glassy/assets/glassy-ui.png differ diff --git a/skins/glassy/info.json b/skins/glassy/info.json new file mode 100644 index 0000000..d5e781f --- /dev/null +++ b/skins/glassy/info.json @@ -0,0 +1,7 @@ +{ + "title": "Glassy UI", + "description": "Elegant, glossy look.", + "author": "Raymond 'Raeleus' Buckley.", + "foldername": "glassy", + "filename": "glassy-ui.json" +} diff --git a/skins/glassy/preview.png b/skins/glassy/preview.png new file mode 100755 index 0000000..406699d Binary files /dev/null and b/skins/glassy/preview.png differ