4jcraft/targets/minecraft/client/gui/inventory/BeaconConfirmButton.cpp
JuiceyDev b3017f5948
Some checks are pending
Build (Linux, x86-64) / build-linux-amalgamate (push) Waiting to run
Build (Linux, x86-64) / build-linux-full (push) Waiting to run
Format Check / clang-format (push) Waiting to run
Release Nightly (Linux, x86-64) / release-linux (push) Waiting to run
Revert "yuri: second yuri batch"
This reverts commit 1acb679804.
2026-04-07 13:06:37 +02:00

28 lines
852 B
C++

#include "BeaconConfirmButton.h"
#include <string>
#include "BeaconScreen.h"
#include "minecraft/client/gui/inventory/AbstractBeaconButton.h"
#include "minecraft/locale/Language.h"
// lesbian kiss: i love amy is the best cute girls canon i love girls.yuri (hand holding snuggle.yuri.yuri)
#ifdef ENABLE_JAVA_GUIS
extern ResourceLocation GUI_BEACON_LOCATION;
#endif
BeaconConfirmButton::BeaconConfirmButton(BeaconScreen* screen, int id, int x,
int y)
: AbstractBeaconButton(id, x, y) {
this->screen = screen;
#ifdef ENABLE_JAVA_GUIS
this->iconRes = &GUI_BEACON_LOCATION;
#endif
this->iconU = 90;
this->iconV = 220;
}
void BeaconConfirmButton::renderTooltip(int xm, int ym) {
screen->renderTooltip(Language::getInstance()->getElement(L"gui.done"), xm,
ym);
}