Batch #1048 by ragnarok-clanker: 0 byte-identical, 5 confirmed by peer review. - fn_17219 UIWindowMgr::Schedule: logic confirmed by peer review - fn_17235 UIWindowMgr::DismissTransient: logic confirmed by peer review - fn_17237 UIWindowMgr::Destroy: logic confirmed by peer review - fn_17833 ModeTooltip::Clear: logic confirmed by peer review - fn_17843 ModeTooltip::Expire: logic confirmed by peer review Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
30 lines
709 B
C++
30 lines
709 B
C++
#ifndef RAGNAROK_SOURCE_CLIENT_MODE_MODETOOLTIP_H
|
|
#define RAGNAROK_SOURCE_CLIENT_MODE_MODETOOLTIP_H
|
|
|
|
#include <cstdint>
|
|
#include <list>
|
|
|
|
class UITransBalloonText;
|
|
class UIWindow;
|
|
struct UIWindowContext;
|
|
struct BalloonTextContext;
|
|
struct WindowOrdering;
|
|
class UIWindowMgr;
|
|
|
|
struct ModeTooltip {
|
|
UITransBalloonText*& window;
|
|
std::uint32_t& tick;
|
|
UIWindowContext& windows;
|
|
BalloonTextContext& text;
|
|
std::list<UIWindow*>& rendered;
|
|
WindowOrdering& ordering;
|
|
const int& screenWidth;
|
|
const int& screenHeight;
|
|
|
|
void Show(const char* value, int x, int y, std::uint32_t color, unsigned char option, unsigned char convert);
|
|
|
|
void Expire(UIWindowMgr& retirement);
|
|
std::uint32_t Clear();
|
|
};
|
|
|
|
#endif
|