Commented out RenameRefactor status box (unneeded)

This commit is contained in:
bigguy345 committed 2025-12-22 03:05:42 +02:00
1 parent 2e8b96fe3a
commit 3fb3b1dad3
2 files changed
+24 -22

No files matched your search

@@ -1,6 +1,7 @@
package noppes.npcs.client.gui.util.script;
import net.minecraft.client.gui.GuiScreen;
import noppes.npcs.client.ClientProxy;
import noppes.npcs.client.gui.util.script.JavaTextContainer.LineData;
import org.lwjgl.input.Keyboard;
@@ -948,4 +949,24 @@ public class RenameRefactorHandler {
public int getOccurrenceCount() {
return allOccurrences.size();
}
public void drawStatusBox() {
// String status = renameHandler.getScopeDescription();
// String hint = "Enter \u2713 | Esc \u2715"; // Enter to confirm, Esc to cancel
// int statusWidth = Math.max(ClientProxy.Font.width(status), ClientProxy.Font.width(hint)) + 8;
// int statusX = x + width - statusWidth - 8;
// int statusY = y + height - 30;
// // Semi-transparent background
// drawRect(statusX - 2, statusY - 2, statusX + statusWidth + 2, statusY + 24, 0xDD1a1a2e);
// // Border (purple/blue for rename mode)
// int borderColor = 0xFF6677dd;
// drawRect(statusX - 2, statusY - 2, statusX + statusWidth + 2, statusY - 1, borderColor);
// drawRect(statusX - 2, statusY + 23, statusX + statusWidth + 2, statusY + 24, borderColor);
// drawRect(statusX - 2, statusY - 2, statusX - 1, statusY + 24, borderColor);
// drawRect(statusX + statusWidth + 1, statusY - 2, statusX + statusWidth + 2, statusY + 24, borderColor);
// // Status text (top line)
// ClientProxy.Font.drawString(status, statusX + 4, statusY + 2, 0xFFccddff);
// // Hint text (bottom line - dimmer)
// ClientProxy.Font.drawString(hint, statusX + 4, statusY + 13, 0xAA88aacc);
}
}