mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
28 lines
698 B
C++
28 lines
698 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include "Control.h"
|
|
#include "DrawingBase.h"
|
|
#include "CancelEventArgs.h"
|
|
|
|
namespace Forms
|
|
{
|
|
// Provides data for the on popup event.
|
|
class PopupEventArgs : public CancelEventArgs
|
|
{
|
|
public:
|
|
PopupEventArgs(Control* Window, Control* Ctrl, bool IsBalloon, Drawing::Size Size);
|
|
~PopupEventArgs() = default;
|
|
|
|
// The Associated Window for which the tooltip is being painted.
|
|
Control* AssociatedWindow;
|
|
// The control for which the tooltip is being painted.
|
|
Control* AssociatedControl;
|
|
|
|
// Whether the tooltip is Ballooned.
|
|
bool IsBalloon;
|
|
|
|
// The rectangle outlining the area in which the painting should be done.
|
|
Drawing::Size ToolTipSize;
|
|
};
|
|
} |