mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-22 13:09:47 +00:00
Start Clean Up Gui
This commit is contained in:
1 parent
1b338efca9
commit
3e3c9c30a4
59 files changed
+134
-127
No files matched your search
@@ -18,7 +18,7 @@ public class ControlColorDisplay extends Control implements IControlValue<IFlowe
|
||||
public ControlColorDisplay(IWidget parent, int x, int y, IFlowerColor value) {
|
||||
super(parent, x, y, 16, 16);
|
||||
this.value = value;
|
||||
addAttribute(Attribute.MouseOver);
|
||||
addAttribute(Attribute.MOUSE_OVER);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -27,7 +27,7 @@ public class ControlColorMixSymbol extends Control implements ITooltip {
|
||||
super(parent, x, y, 16 + type * 16, 16);
|
||||
this.value = value;
|
||||
this.type = type;
|
||||
addAttribute(Attribute.MouseOver);
|
||||
addAttribute(Attribute.MOUSE_OVER);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -20,7 +20,7 @@ public class ControlColorOption extends ControlTextOption<IFlowerColor> {
|
||||
super(controlList, option, option.getColorName(), y);
|
||||
setSize(new Point(getSize().x(), 20));
|
||||
controlBee = new ControlColorDisplay(this, 2, 2, option);
|
||||
addAttribute(Attribute.MouseOver);
|
||||
addAttribute(Attribute.MOUSE_OVER);
|
||||
CraftGUIUtil.moveWidget(textWidget, new Point(22, 0));
|
||||
textWidget.setSize(textWidget.getSize().sub(new Point(24, 0)));
|
||||
int th = CraftGUI.RENDER.textHeight(textWidget.getValue(), textWidget.getSize().x());
|
||||
|
||||
Reference in new issue
Block a user