mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-19 20:09:46 +00:00
first commit
This commit is contained in:
commit
c79c767bb8
1389 files changed
+10744
No files matched your search
@@ -0,0 +1,19 @@
|
||||
package info.jbcs.minecraft.gui;
|
||||
|
||||
public class GuiLabel extends GuiElement {
|
||||
String caption;
|
||||
|
||||
public GuiLabel(int x, int y, int w, int h, String caption) {
|
||||
super(x, y, w, h);
|
||||
this.caption = caption;
|
||||
}
|
||||
|
||||
public GuiLabel(int x, int y, String string) {
|
||||
this(x, y, 0, 0, string);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void render() {
|
||||
gui.drawString(caption, x, y, 0x404040);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user