Class ObjectTooltip.LayoutItem
java.lang.Object
zombie.ui.ObjectTooltip.LayoutItem
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloat
float
float
float
float
float
boolean
int
int
float
int
float
float
boolean
int
int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
render
(int x, int y, int mid, int right, ObjectTooltip ui) void
reset()
void
void
setProgress
(float fraction, float r, float g, float b, float a) void
void
setValueRight
(int _value, boolean highGood) void
setValueRightNoPlus
(float _value) void
setValueRightNoPlus
(int _value)
-
Field Details
-
label
-
r0
public float r0 -
g0
public float g0 -
b0
public float b0 -
a0
public float a0 -
hasValue
public boolean hasValue -
value
-
rightJustify
public boolean rightJustify -
r1
public float r1 -
g1
public float g1 -
b1
public float b1 -
a1
public float a1 -
progressFraction
public float progressFraction -
labelWidth
public int labelWidth -
valueWidth
public int valueWidth -
valueWidthRight
public int valueWidthRight -
progressWidth
public int progressWidth -
height
public int height
-
-
Constructor Details
-
LayoutItem
public LayoutItem()
-
-
Method Details
-
reset
public void reset() -
setLabel
-
setValue
-
setValueRight
public void setValueRight(int _value, boolean highGood) -
setValueRightNoPlus
public void setValueRightNoPlus(float _value) -
setValueRightNoPlus
public void setValueRightNoPlus(int _value) -
setProgress
public void setProgress(float fraction, float r, float g, float b, float a) -
calcSizes
public void calcSizes() -
render
-