Batch #1968 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_12091 UIWhisperWnd::Slot43: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). Adds to the build: Source/UI/WindowOverlay.cpp
20 lines
725 B
C++
20 lines
725 B
C++
#include "Render/Primitives/AlphaRectangle.h"
|
|
#include "Render/Renderer.h"
|
|
#include "Render/TextureQuad.h"
|
|
#include "UI/Chat/UIWhisperWnd.h"
|
|
|
|
// OFFSET: 0x008D0DB0
|
|
// FUNCTION: fn_12091
|
|
void UIWhisperWnd::Slot43() {
|
|
int x = 0;
|
|
int y = 0;
|
|
this->ToScreen(x, y);
|
|
DrawAlphaRectangle(
|
|
g_renderer->primitives, this->m_context->textures, g_renderer->queues, x + 1, y + 1, this->geometry.width - 2, this->geometry.height, 0x66000000,
|
|
g_renderer->fog.supported != 0, g_depthStart, g_depthEnd
|
|
);
|
|
DrawAlphaRectangle(
|
|
g_renderer->primitives, this->m_context->textures, g_renderer->queues, x + 1, y + 1, this->geometry.width - 2, 17, 0x449EB6E4,
|
|
g_renderer->fog.supported != 0, g_depthStart, g_depthEnd
|
|
);
|
|
}
|