Batch #4320 by eAthena: 3 byte-identical, 11 confirmed by peer review. - fn_17437 UIVideoWnd::UIVideoWnd: logic confirmed by peer review - fn_17439 UIVideoWnd::`scalar deleting destructor': logic confirmed by peer review - fn_17440 UIVideoWnd::Slot02: byte-identical - fn_17441 UIVideoWnd::Slot15: logic confirmed by peer review - fn_17442 UIVideoSkipButton::Paint: logic confirmed by peer review - fn_17443 UIVideoWnd::Paint: logic confirmed by peer review - fn_17444 UIVideoWnd::Slot19: logic confirmed by peer review - fn_17445 UIVideoWnd::SendMsg: logic confirmed by peer review - fn_17446 UIWaitDBSaveWnd::UIWaitDBSaveWnd: logic confirmed by peer review - fn_17448 UIWaitDBSaveWnd::Slot15: logic confirmed by peer review - fn_17449 UIWaitDBSaveWnd::Slot18: byte-identical - fn_17450 UIWaitDBSaveWnd::Paint: logic confirmed by peer review - fn_17451 UIWaitDBSaveWnd::Slot27: byte-identical - fn_17452 UIWaitDBSaveWnd::Slot19: logic confirmed by peer review Peer-reviewed-by: youko, Lumen, tayoba, Snow, KWDev, Bruwuno 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/Window/UIVideoWnd.cpp, Source/UI/Dialogs/UIWaitDBSaveWnd.cpp
45 lines
1.2 KiB
C++
45 lines
1.2 KiB
C++
#ifndef RAGNAROK_SOURCE_UI_WINDOW_UIVIDEOWND_H
|
|
#define RAGNAROK_SOURCE_UI_WINDOW_UIVIDEOWND_H
|
|
|
|
#include "UI/Buttons/UIButton.h"
|
|
#include "UI/Window/UIWindow.h"
|
|
|
|
#include <cstdint>
|
|
|
|
class BinkMovie;
|
|
class CTexture;
|
|
class WindowManagerWindows;
|
|
struct WindowDialogs;
|
|
|
|
struct UIVideoWndContext {
|
|
WindowManagerWindows& windows;
|
|
WindowDialogs& dialogs;
|
|
UIButtonContext& buttons;
|
|
};
|
|
|
|
class UIVideoSkipButton : public UIButton {
|
|
public:
|
|
// INLINED
|
|
UIVideoSkipButton(UIWindowContext& windowContext, UIButtonContext& buttonContext) : UIButton(windowContext, buttonContext) {
|
|
}
|
|
|
|
void Paint() override;
|
|
};
|
|
|
|
class UIVideoWnd : public UIWindow {
|
|
public:
|
|
UIVideoWnd(UIWindowContext& windowContext, UIVideoWndContext& videoContext);
|
|
~UIVideoWnd() override;
|
|
bool Slot02() override;
|
|
void Slot15(int width, int height) override;
|
|
void Slot19() override;
|
|
void Paint() override;
|
|
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
|
|
|
|
/* 007C */ BinkMovie* m_movie;
|
|
/* 0080 */ CTexture* m_texture;
|
|
/* 0084 */ int m_savedVolume;
|
|
UIVideoWndContext* m_videoContext;
|
|
};
|
|
|
|
#endif
|