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

#include <HWHandles.h>

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

Public Types

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

Public Member Functions

constexpr IconHandle () noexcept
 
constexpr IconHandle (HICON hIcon, bool closeHandle=true)
 
 IconHandle (int resourceId, int width=0, int height=0, DWORD flags=LR_SHARED|LR_DEFAULTSIZE)
 
 IconHandle (const wchar_t *iconName, int width=0, int height=0, DWORD flags=LR_SHARED|LR_DEFAULTSIZE)
 
 IconHandle (const WideString &iconName, int width=0, int height=0, DWORD flags=LR_SHARED|LR_DEFAULTSIZE)
 
 IconHandle (const ModuleHandle &module, int resourceId, int width=0, int height=0, DWORD flags=LR_SHARED|LR_DEFAULTSIZE)
 
 IconHandle (const ModuleHandle &module, const wchar_t *iconName, int width=0, int height=0, DWORD flags=LR_SHARED|LR_DEFAULTSIZE)
 
 IconHandle (const ModuleHandle &module, const WideString &iconName, int width=0, int height=0, DWORD flags=LR_SHARED|LR_DEFAULTSIZE)
 
 IconHandle (const ModuleHandle &module, const char *iconName, int width=0, int height=0, DWORD flags=LR_SHARED|LR_DEFAULTSIZE)
 
 IconHandle (const ModuleHandle &module, const AnsiString &iconName, int width=0, int height=0, DWORD flags=LR_SHARED|LR_DEFAULTSIZE)
 
void Close () noexcept
 
- Public Member Functions inherited from Harlinn::Common::Core::Handle< IconHandle, HICON >
 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 IconHandle Question
 
static HW_EXPORT const IconHandle WinLogo
 
static HW_EXPORT const IconHandle Warning
 
static HW_EXPORT const IconHandle Error
 
static HW_EXPORT const IconHandle Information
 
static HW_EXPORT const IconHandle Shield
 
static HW_EXPORT const IconHandle Question16x16
 
static HW_EXPORT const IconHandle WinLogo16x16
 
static HW_EXPORT const IconHandle Warning16x16
 
static HW_EXPORT const IconHandle Error16x16
 
static HW_EXPORT const IconHandle Information16x16
 
static HW_EXPORT const IconHandle Shield16x16
 
static HW_EXPORT const IconHandle Question24x24
 
static HW_EXPORT const IconHandle WinLogo24x24
 
static HW_EXPORT const IconHandle Warning24x24
 
static HW_EXPORT const IconHandle Error24x24
 
static HW_EXPORT const IconHandle Information24x24
 
static HW_EXPORT const IconHandle Shield24x24
 
static HW_EXPORT const IconHandle Question32x32
 
static HW_EXPORT const IconHandle WinLogo32x32
 
static HW_EXPORT const IconHandle Warning32x32
 
static HW_EXPORT const IconHandle Error32x32
 
static HW_EXPORT const IconHandle Information32x32
 
static HW_EXPORT const IconHandle Shield32x32
 

Additional Inherited Members

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

Member Typedef Documentation

◆ Base

Constructor & Destructor Documentation

◆ IconHandle() [1/10]

Harlinn::Windows::IconHandle::IconHandle ( )
inlineconstexprnoexcept

◆ IconHandle() [2/10]

Harlinn::Windows::IconHandle::IconHandle ( HICON hIcon,
bool closeHandle = true )
inlineexplicitconstexpr

◆ IconHandle() [3/10]

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

◆ IconHandle() [4/10]

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

◆ IconHandle() [5/10]

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

◆ IconHandle() [6/10]

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

◆ IconHandle() [7/10]

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

◆ IconHandle() [8/10]

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

◆ IconHandle() [9/10]

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

◆ IconHandle() [10/10]

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

Member Function Documentation

◆ Close()

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

Member Data Documentation

◆ Error

const IconHandle Harlinn::Windows::IconHandle::Error
static

◆ Error16x16

const IconHandle Harlinn::Windows::IconHandle::Error16x16
static

◆ Error24x24

const IconHandle Harlinn::Windows::IconHandle::Error24x24
static

◆ Error32x32

const IconHandle Harlinn::Windows::IconHandle::Error32x32
static

◆ Information

const IconHandle Harlinn::Windows::IconHandle::Information
static

◆ Information16x16

const IconHandle Harlinn::Windows::IconHandle::Information16x16
static

◆ Information24x24

const IconHandle Harlinn::Windows::IconHandle::Information24x24
static

◆ Information32x32

const IconHandle Harlinn::Windows::IconHandle::Information32x32
static

◆ Question

const IconHandle Harlinn::Windows::IconHandle::Question
static

◆ Question16x16

const IconHandle Harlinn::Windows::IconHandle::Question16x16
static

◆ Question24x24

const IconHandle Harlinn::Windows::IconHandle::Question24x24
static

◆ Question32x32

const IconHandle Harlinn::Windows::IconHandle::Question32x32
static

◆ Shield

const IconHandle Harlinn::Windows::IconHandle::Shield
static

◆ Shield16x16

const IconHandle Harlinn::Windows::IconHandle::Shield16x16
static

◆ Shield24x24

const IconHandle Harlinn::Windows::IconHandle::Shield24x24
static

◆ Shield32x32

const IconHandle Harlinn::Windows::IconHandle::Shield32x32
static

◆ Warning

const IconHandle Harlinn::Windows::IconHandle::Warning
static

◆ Warning16x16

const IconHandle Harlinn::Windows::IconHandle::Warning16x16
static

◆ Warning24x24

const IconHandle Harlinn::Windows::IconHandle::Warning24x24
static

◆ Warning32x32

const IconHandle Harlinn::Windows::IconHandle::Warning32x32
static

◆ WinLogo

const IconHandle Harlinn::Windows::IconHandle::WinLogo
static

◆ WinLogo16x16

const IconHandle Harlinn::Windows::IconHandle::WinLogo16x16
static

◆ WinLogo24x24

const IconHandle Harlinn::Windows::IconHandle::WinLogo24x24
static

◆ WinLogo32x32

const IconHandle Harlinn::Windows::IconHandle::WinLogo32x32
static

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