rodecomp/Source/UI/Cooldowns/CooldownDrawing.h
ragnarok-clanker 8a743ea8e7 Maintenance: [forced, user-approved] R8: remove the last members of ShortcutPainting and QuickSlotPainting (RenderCommandPool& comman
Batch #10249 by ragnarok-clanker: forced by an admin (0 lower score(s), 4 changed function(s)); checked with 242 compiled unit(s), including every includer of Source/UI/Cooldowns/CooldownDrawing.h, Source/UI/Shortcuts/ShortcutCooldowns.h, Source/UI/Shortcuts/ShortcutPainting.h, Source/UI/Shortcuts/UIQuickSlotWnd.h, Source/UI/Shortcuts/UIShortCutWnd.h.
2026-11-03 12:23:10 +00:00

31 lines
934 B
C++

#ifndef RAGNAROK_SOURCE_UI_COOLDOWNS_COOLDOWNDRAWING_H
#define RAGNAROK_SOURCE_UI_COOLDOWNS_COOLDOWNDRAWING_H
#include "UI/Cooldowns/CooldownState.h"
#include <cstddef>
#include <vector>
struct RenderQueues;
struct CooldownDrawing {
/* 0004 */ std::vector<RenderCommand*> normal;
/* 0010 */ std::vector<RenderCommand*> reverse;
void Draw(
int centerX, int centerY, int radiusX, int radiusY, CooldownState& value, int limit, int offsetX, int offsetY
);
void SubmitNormal(RenderQueues& queues, bool depthAlpha, float depthStart, float depthEnd);
void SubmitReverse(RenderQueues& queues, bool depthAlpha, float depthStart, float depthEnd);
private:
void DrawReverse(CooldownState& value);
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(CooldownDrawing) == 0x18);
static_assert(offsetof(CooldownDrawing, normal) == 0x00);
static_assert(offsetof(CooldownDrawing, reverse) == 0x0C);
#endif
#endif