public class RealmsSliderButton extends RealmsButton
Modifier and Type | Field and Description |
---|---|
boolean |
sliding |
float |
value |
WIDGETS_LOCATION
Constructor and Description |
---|
RealmsSliderButton(int buttonId,
int x,
int y,
int width,
int maxValueIn,
int p_i1056_6_) |
RealmsSliderButton(int buttonId,
int x,
int y,
int width,
int p_i1057_5_,
int valueIn,
float minValueIn,
float maxValueIn) |
Modifier and Type | Method and Description |
---|---|
float |
clamp(float p_clamp_1_) |
protected float |
clampSteps(float p_clampSteps_1_) |
void |
clicked(float p_clicked_1_) |
void |
clicked(int p_clicked_1_,
int p_clicked_2_) |
java.lang.String |
getMessage() |
int |
getYImage(boolean p_getYImage_1_) |
void |
released(int p_released_1_,
int p_released_2_) |
void |
renderBg(int p_renderBg_1_,
int p_renderBg_2_) |
float |
toPct(float p_toPct_1_) |
float |
toValue(float p_toValue_1_) |
public RealmsSliderButton(int buttonId, int x, int y, int width, int maxValueIn, int p_i1056_6_)
public RealmsSliderButton(int buttonId, int x, int y, int width, int p_i1057_5_, int valueIn, float minValueIn, float maxValueIn)
public java.lang.String getMessage()
public float toPct(float p_toPct_1_)
public float toValue(float p_toValue_1_)
public float clamp(float p_clamp_1_)
protected float clampSteps(float p_clampSteps_1_)
public int getYImage(boolean p_getYImage_1_)
getYImage
in class RealmsButton
public void renderBg(int p_renderBg_1_, int p_renderBg_2_)
renderBg
in class RealmsButton
public void clicked(int p_clicked_1_, int p_clicked_2_)
clicked
in class RealmsButton
public void clicked(float p_clicked_1_)
public void released(int p_released_1_, int p_released_2_)
released
in class RealmsButton