Remove all orange buttons! They are flat red now

This commit is contained in:
fgnm
2020-07-04 19:26:38 +02:00
parent 39ef458d31
commit a23259a23b
14 changed files with 186 additions and 188 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 235 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 386 B

After

Width:  |  Height:  |  Size: 3.6 KiB

+175 -178
View File
File diff suppressed because it is too large Load Diff
+6 -6
View File
@@ -358,13 +358,13 @@
fontColor: hyperlap2d-button-text-black,
disabledFontColor: grey
},
orange: {
down: button-orange-down,
up: button-orange,
over: button-orange-over,
disabled: button-orange,
red: {
down: button-flat-red-down,
up: button-flat-red,
over: button-flat-red-over,
disabled: button-flat-red-over,
font: big-font-normal,
fontColor: hyperlap2d-button-text-black,
fontColor: white,
disabledFontColor: grey
},
tagBtn: {
Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 KiB

After

Width:  |  Height:  |  Size: 140 KiB

@@ -18,7 +18,7 @@ public class UILivePreviewBox extends UIBaseBox {
private void init() {
addSeparator(true).padRight(13).padLeft(13);
VisTextButton liveButton = StandardWidgetsFactory.createTextButton("Live Preview", "orange");
VisTextButton liveButton = StandardWidgetsFactory.createTextButton("Live Preview", "red");
add(liveButton).width(110);
}
}
@@ -85,7 +85,7 @@ public class UIResolutionBox extends UIBaseBox {
add(deleteBtn).padRight(11).height(25);
VisTextButton repackBtn = StandardWidgetsFactory.createTextButton("Repack", "orange");
VisTextButton repackBtn = StandardWidgetsFactory.createTextButton("Repack", "red");
repackBtn.addListener(new UIResolutionBoxButtonClickListener(REPACK_BTN_CLICKED));
add(repackBtn).width(93);
}
@@ -27,6 +27,7 @@ import com.kotcrab.vis.ui.widget.VisRadioButton;
import com.kotcrab.vis.ui.widget.VisTable;
import com.kotcrab.vis.ui.widget.VisTextButton;
import com.kotcrab.vis.ui.widget.VisTextField;
import games.rednblack.editor.utils.StandardWidgetsFactory;
import games.rednblack.h2d.common.H2DDialog;
import games.rednblack.editor.HyperLap2DFacade;
import games.rednblack.editor.renderer.data.ResolutionEntryVO;
@@ -56,7 +57,7 @@ public class CreateNewResolutionDialog extends H2DDialog {
mainTable.add("Resolution:").padRight(5).right().top();
mainTable.add(getDimensionsTable()).left();
mainTable.row().padTop(20);
VisTextButton createBtn = new VisTextButton("Create", "orange");
VisTextButton createBtn = StandardWidgetsFactory.createTextButton("Create", "red");
createBtn.addListener(new CrateButtonClickListener());
getButtonsTable().add(createBtn).width(93).height(24).colspan(2);
getContentTable().add(mainTable);
@@ -77,7 +77,7 @@ public class NewProjectDialog extends H2DDialog {
getContentTable().add(mainTable);
VisTextButton createBtn = new VisTextButton("Create", "orange");
VisTextButton createBtn = StandardWidgetsFactory.createTextButton("Create", "red");
createBtn.addListener(new BtnClickListener(CREATE_BTN_CLICKED));
getButtonsTable().add(createBtn).width(93).height(25).colspan(2);
}