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

#include <HWHandles.h>

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

Public Types

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

Public Member Functions

constexpr PaletteHandle () noexcept
 
constexpr PaletteHandle (HPALETTE handle, bool ownsHandle=true) noexcept
 
void Close () noexcept
 
- Public Member Functions inherited from Harlinn::Common::Core::Handle< PaletteHandle, HPALETTE >
 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< PaletteHandle, HPALETTE >
static constexpr HandleType InvalidHandleValue () noexcept
 
- Protected Member Functions inherited from Harlinn::Common::Core::Handle< PaletteHandle, HPALETTE >
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< PaletteHandle, HPALETTE >
HandleType value_
 

Member Typedef Documentation

◆ Base

Constructor & Destructor Documentation

◆ PaletteHandle() [1/2]

Harlinn::Windows::PaletteHandle::PaletteHandle ( )
inlineconstexprnoexcept

◆ PaletteHandle() [2/2]

Harlinn::Windows::PaletteHandle::PaletteHandle ( HPALETTE handle,
bool ownsHandle = true )
inlineexplicitconstexprnoexcept

Member Function Documentation

◆ Close()

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

Friends And Related Symbol Documentation

◆ DeviceContextHandle

friend class DeviceContextHandle
friend

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