ReXGlue SDK
Loading...
Searching...
No Matches
rex::ui::FileDropEvent Class Reference
Inheritance diagram for rex::ui::FileDropEvent:
[legend]

Public Member Functions

 FileDropEvent (std::filesystem::path filename)
const std::filesystem::path & GetFilename () const
Public Member Functions inherited from rex::ui::UIEvent
 UIEvent (Type type)
Type GetType () const
template<typename T>
const T * As () const

Static Public Member Functions

static constexpr bool Carries (Type type)

Additional Inherited Members

Public Types inherited from rex::ui::UIEvent
enum class  Type : u8 {
  kOpened , kDPIChanged , kMonitorUpdate , kMinimized ,
  kRestored , kClosing , kFileDrop , kResize ,
  kClose , kFocus , kTouch
}

Constructor & Destructor Documentation

◆ FileDropEvent()

rex::ui::FileDropEvent::FileDropEvent ( std::filesystem::path filename)
inline

Creates an event for a file moved onto the window.

Member Function Documentation

◆ Carries()

constexpr bool rex::ui::FileDropEvent::Carries ( Type type)
inlinestaticconstexpr

Reports whether this class carries a type.

Returns
True for FileDrop.

◆ GetFilename()

const std::filesystem::path & rex::ui::FileDropEvent::GetFilename ( ) const
inline

Returns the file moved onto the window.


The documentation for this class was generated from the following file: