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

#include <HWHandles.h>

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

Public Types

typedef Handle< BrushHandle, HBRUSH > Base
 
- Public Types inherited from Harlinn::Common::Core::Handle< BrushHandle, HBRUSH >
using DerivedType
 
using HandleType
 

Public Member Functions

constexpr BrushHandle () noexcept
 
constexpr BrushHandle (HBRUSH handle, bool ownsHandle=true) noexcept
 
 BrushHandle (const LOGBRUSH &logBrush)
 
 BrushHandle (COLORREF color)
 
 BrushHandle (SysColor sysColor)
 
void Close () noexcept
 
- Public Member Functions inherited from Harlinn::Common::Core::Handle< BrushHandle, HBRUSH >
 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
 

Friends

class DeviceContextHandle
 

Additional Inherited Members

- Static Public Member Functions inherited from Harlinn::Common::Core::Handle< BrushHandle, HBRUSH >
static constexpr HandleType InvalidHandleValue () noexcept
 
- Protected Member Functions inherited from Harlinn::Common::Core::Handle< BrushHandle, HBRUSH >
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< BrushHandle, HBRUSH >
HandleType value_
 

Member Typedef Documentation

◆ Base

Constructor & Destructor Documentation

◆ BrushHandle() [1/5]

Harlinn::Windows::BrushHandle::BrushHandle ( )
inlineconstexprnoexcept

◆ BrushHandle() [2/5]

Harlinn::Windows::BrushHandle::BrushHandle ( HBRUSH handle,
bool ownsHandle = true )
inlineexplicitconstexprnoexcept

◆ BrushHandle() [3/5]

Harlinn::Windows::BrushHandle::BrushHandle ( const LOGBRUSH & logBrush)
inlineexplicit

◆ BrushHandle() [4/5]

Harlinn::Windows::BrushHandle::BrushHandle ( COLORREF color)
inlineexplicit

◆ BrushHandle() [5/5]

Harlinn::Windows::BrushHandle::BrushHandle ( SysColor sysColor)
inlineexplicit

Member Function Documentation

◆ Close()

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

Friends And Related Symbol Documentation

◆ DeviceContextHandle

friend class DeviceContextHandle
friend

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