Harlinn.Windows 0.1
Loading...
Searching...
No Matches
Harlinn::Windows::CursorHandle Class Reference

#include <HWHandles.h>

Inheritance diagram for Harlinn::Windows::CursorHandle:
[legend]
Collaboration diagram for Harlinn::Windows::CursorHandle:
[legend]

Public Types

using Base = Handle<CursorHandle, HCURSOR>
 
- Public Types inherited from Harlinn::Common::Core::Handle< CursorHandle, HCURSOR >
using DerivedType
 
using HandleType
 

Public Member Functions

constexpr CursorHandle () noexcept
 
constexpr CursorHandle (HCURSOR hCursor, bool closeHandle=true)
 
 CursorHandle (int resourceId, int width=0, int height=0, DWORD flags=LR_SHARED|LR_DEFAULTSIZE)
 
 CursorHandle (const wchar_t *cursorName, int width=0, int height=0, DWORD flags=LR_SHARED|LR_DEFAULTSIZE)
 
 CursorHandle (const WideString &cursorName, int width=0, int height=0, DWORD flags=LR_SHARED|LR_DEFAULTSIZE)
 
 CursorHandle (const ModuleHandle &module, int resourceId, int width=0, int height=0, DWORD flags=LR_SHARED|LR_DEFAULTSIZE)
 
 CursorHandle (const ModuleHandle &module, const wchar_t *cursorName, int width=0, int height=0, DWORD flags=LR_SHARED|LR_DEFAULTSIZE)
 
 CursorHandle (const ModuleHandle &module, const WideString &cursorName, int width=0, int height=0, DWORD flags=LR_SHARED|LR_DEFAULTSIZE)
 
 CursorHandle (const ModuleHandle &module, const char *cursorName, int width=0, int height=0, DWORD flags=LR_SHARED|LR_DEFAULTSIZE)
 
 CursorHandle (const ModuleHandle &module, const AnsiString &cursorName, int width=0, int height=0, DWORD flags=LR_SHARED|LR_DEFAULTSIZE)
 
void Close () noexcept
 
- Public Member Functions inherited from Harlinn::Common::Core::Handle< CursorHandle, HCURSOR >
 Handle (const Handle &other)=delete
 
 Handle (Handle &&other) noexcept
 
virtual ~Handle () noexcept
 
constexpr bool IsValid () const noexcept
 
Handleoperator= (Handle &other)=delete
 
Handleoperator= (Handle &&other) noexcept
 
constexpr auto operator<=> (const Handle &other) const noexcept
 
constexpr auto operator<=> (HandleType handle) const noexcept
 
constexpr bool operator== (const Handle &other) const noexcept
 
constexpr bool operator== (HandleType handle) const noexcept
 
constexpr operator HandleType () const noexcept
 
constexpr HandleType Value () const noexcept
 
constexpr bool OwnsHandle () const noexcept
 

Static Public Attributes

static HW_EXPORT const CursorHandle Normal
 
static HW_EXPORT const CursorHandle IBeam
 
static HW_EXPORT const CursorHandle Wait
 
static HW_EXPORT const CursorHandle Cross
 
static HW_EXPORT const CursorHandle Up
 
static HW_EXPORT const CursorHandle Size
 
static HW_EXPORT const CursorHandle SizeNWSE
 
static HW_EXPORT const CursorHandle SizeNESW
 
static HW_EXPORT const CursorHandle SizeWE
 
static HW_EXPORT const CursorHandle SizeNS
 
static HW_EXPORT const CursorHandle No
 
static HW_EXPORT const CursorHandle Hand
 
static HW_EXPORT const CursorHandle AppStarting
 

Additional Inherited Members

- Static Public Member Functions inherited from Harlinn::Common::Core::Handle< CursorHandle, HCURSOR >
static constexpr HandleType InvalidHandleValue () noexcept
 
- Protected Member Functions inherited from Harlinn::Common::Core::Handle< CursorHandle, HCURSOR >
constexpr Handle () noexcept
 
constexpr Handle (HandleType handle, bool ownsHandle=true) noexcept
 
void SetValue (HandleType handle, bool ownsHandle=true)
 
- Protected Attributes inherited from Harlinn::Common::Core::Handle< CursorHandle, HCURSOR >
HandleType value_
 

Member Typedef Documentation

◆ Base

Constructor & Destructor Documentation

◆ CursorHandle() [1/10]

Harlinn::Windows::CursorHandle::CursorHandle ( )
inlineconstexprnoexcept

◆ CursorHandle() [2/10]

Harlinn::Windows::CursorHandle::CursorHandle ( HCURSOR hCursor,
bool closeHandle = true )
inlineexplicitconstexpr

◆ CursorHandle() [3/10]

Harlinn::Windows::CursorHandle::CursorHandle ( int resourceId,
int width = 0,
int height = 0,
DWORD flags = LR_SHARED | LR_DEFAULTSIZE )
inline

◆ CursorHandle() [4/10]

Harlinn::Windows::CursorHandle::CursorHandle ( const wchar_t * cursorName,
int width = 0,
int height = 0,
DWORD flags = LR_SHARED | LR_DEFAULTSIZE )
inline

◆ CursorHandle() [5/10]

Harlinn::Windows::CursorHandle::CursorHandle ( const WideString & cursorName,
int width = 0,
int height = 0,
DWORD flags = LR_SHARED | LR_DEFAULTSIZE )
inline

◆ CursorHandle() [6/10]

Harlinn::Windows::CursorHandle::CursorHandle ( const ModuleHandle & module,
int resourceId,
int width = 0,
int height = 0,
DWORD flags = LR_SHARED | LR_DEFAULTSIZE )
inline

◆ CursorHandle() [7/10]

Harlinn::Windows::CursorHandle::CursorHandle ( const ModuleHandle & module,
const wchar_t * cursorName,
int width = 0,
int height = 0,
DWORD flags = LR_SHARED | LR_DEFAULTSIZE )
inline

◆ CursorHandle() [8/10]

Harlinn::Windows::CursorHandle::CursorHandle ( const ModuleHandle & module,
const WideString & cursorName,
int width = 0,
int height = 0,
DWORD flags = LR_SHARED | LR_DEFAULTSIZE )
inline

◆ CursorHandle() [9/10]

Harlinn::Windows::CursorHandle::CursorHandle ( const ModuleHandle & module,
const char * cursorName,
int width = 0,
int height = 0,
DWORD flags = LR_SHARED | LR_DEFAULTSIZE )
inline

◆ CursorHandle() [10/10]

Harlinn::Windows::CursorHandle::CursorHandle ( const ModuleHandle & module,
const AnsiString & cursorName,
int width = 0,
int height = 0,
DWORD flags = LR_SHARED | LR_DEFAULTSIZE )
inline

Member Function Documentation

◆ Close()

void Harlinn::Windows::CursorHandle::Close ( )
inlinenoexcept

Member Data Documentation

◆ AppStarting

const CursorHandle Harlinn::Windows::CursorHandle::AppStarting
static

◆ Cross

const CursorHandle Harlinn::Windows::CursorHandle::Cross
static

◆ Hand

const CursorHandle Harlinn::Windows::CursorHandle::Hand
static

◆ IBeam

const CursorHandle Harlinn::Windows::CursorHandle::IBeam
static

◆ No

const CursorHandle Harlinn::Windows::CursorHandle::No
static

◆ Normal

const CursorHandle Harlinn::Windows::CursorHandle::Normal
static

◆ Size

const CursorHandle Harlinn::Windows::CursorHandle::Size
static

◆ SizeNESW

const CursorHandle Harlinn::Windows::CursorHandle::SizeNESW
static

◆ SizeNS

const CursorHandle Harlinn::Windows::CursorHandle::SizeNS
static

◆ SizeNWSE

const CursorHandle Harlinn::Windows::CursorHandle::SizeNWSE
static

◆ SizeWE

const CursorHandle Harlinn::Windows::CursorHandle::SizeWE
static

◆ Up

const CursorHandle Harlinn::Windows::CursorHandle::Up
static

◆ Wait

const CursorHandle Harlinn::Windows::CursorHandle::Wait
static

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