@Environment(value=CLIENT) public class VideoOptionsScreen extends GameOptionsScreen
| Modifier and Type | Field and Description |
|---|---|
private static Text |
GRAPHICS_FABULOUS_TEXT |
private static Text |
GRAPHICS_WARNING_ACCEPT_TEXT |
private static Text |
GRAPHICS_WARNING_CANCEL_TEXT |
private static Text |
GRAPHICS_WARNING_MESSAGE_TEXT |
private static Text |
GRAPHICS_WARNING_TITLE_TEXT |
private ButtonListWidget |
list |
private int |
mipmapLevels |
private static Text |
NEWLINE_TEXT |
private static Option[] |
OPTIONS |
private VideoWarningManager |
warningManager |
gameOptions, parentbuttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthGUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
VideoOptionsScreen(Screen parent,
GameOptions options) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
init()
Called when a screen should be initialized.
|
boolean |
mouseClicked(double mouseX,
double mouseY,
int button)
Callback for when a mouse button down event
has been captured.
|
boolean |
mouseReleased(double mouseX,
double mouseY,
int button)
Callback for when a mouse button release event
has been captured.
|
void |
removed() |
void |
render(MatrixStack matrices,
int mouseX,
int mouseY,
float delta) |
getHoveredButtonTooltip, onCloseaddButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenErrorgetFocused, isDragging, setDragging, setFocuseddrawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseDragged, mouseScrolled, setInitialFocusmouseMovedprivate static final Text GRAPHICS_FABULOUS_TEXT
private static final Text GRAPHICS_WARNING_MESSAGE_TEXT
private static final Text GRAPHICS_WARNING_TITLE_TEXT
private static final Text GRAPHICS_WARNING_ACCEPT_TEXT
private static final Text GRAPHICS_WARNING_CANCEL_TEXT
private static final Text NEWLINE_TEXT
private static final Option[] OPTIONS
private ButtonListWidget list
private final VideoWarningManager warningManager
private final int mipmapLevels
public VideoOptionsScreen(Screen parent, GameOptions options)
protected void init()
This method is called when this screen is opened or resized.
public void removed()
removed in class GameOptionsScreenpublic boolean mouseClicked(double mouseX,
double mouseY,
int button)
GLFW class.mouseX - the X coordinate of the mousemouseY - the Y coordinate of the mousebutton - the mouse button numbertrue to indicate that the event handling is successful/validMouse.onMouseButton(long, int, int, int),
GLFW.GLFW_MOUSE_BUTTON_1public boolean mouseReleased(double mouseX,
double mouseY,
int button)
GLFW class.mouseX - the X coordinate of the mousemouseY - the Y coordinate of the mousebutton - the mouse button numbertrue to indicate that the event handling is successful/validMouse.onMouseButton(long, int, int, int),
GLFW.GLFW_MOUSE_BUTTON_1public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)