bsnes/hiro/windows/widget/viewport.hpp

20 lines
428 B
C++

#if defined(Hiro_Viewport)
namespace hiro {
struct pViewport : pWidget {
Declare(Viewport, Widget)
auto handle() const -> uintptr_t;
auto setDroppable(bool droppable) -> void override;
auto setFocusable(bool focusable) -> void override;
auto doMouseLeave() -> void override;
auto doMouseMove(int x, int y) -> void override;
auto windowProc(HWND, UINT, WPARAM, LPARAM) -> maybe<LRESULT> override;
};
}
#endif