Sparkle 0.0.1
Loading...
Searching...
No Matches
spk::Win32::Window Class Reference

RAII wrapper over a Win32 HWND handle created by spk::Win32::Class. More...

#include <spk_window.hpp>

Collaboration diagram for spk::Win32::Window:
Collaboration graph

Public Types

using Handle = HWND
 Native Win32 handle type.

Public Member Functions

 ~Window ()
 Destroys the underlying window handle.
void show () const
 Shows the window using SW_SHOW.
 Window (const Window &)=delete
Windowoperator= (const Window &)=delete
 Window (Window &&)=delete
Windowoperator= (Window &&)=delete
Handle handle () const noexcept
 Retrieves the underlying HWND.

Friends

class Class

Detailed Description

RAII wrapper over a Win32 HWND handle created by spk::Win32::Class.

Member Function Documentation

◆ handle()

Window::Handle spk::Win32::Window::handle ( ) const
noexcept

Retrieves the underlying HWND.

Returns
Platform window handle.
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files:
  • includes/structure/win32/spk_window.hpp
  • srcs/structure/win32/spk_window.cpp