#include <window.h>
|
| using | MessageHook = std::function<bool(HWND handle, UINT message, WPARAM wParam, LPARAM lParam)> |
|
| static std::expected< std::unique_ptr< Window >, std::string > | Create (std::wstring_view title, uint32_t clientWidth, uint32_t clientHeight) |
|
| static LRESULT CALLBACK | WindowProcedure (HWND handle, UINT message, WPARAM wParam, LPARAM lParam) |
Definition at line 21 of file window.h.
◆ MessageHook
◆ ~Window()
| bicameral::Window::~Window |
( |
| ) |
|
◆ Window() [1/3]
| bicameral::Window::Window |
( |
const Window & | | ) |
|
|
delete |
◆ Window() [2/3]
| bicameral::Window::Window |
( |
Window && | | ) |
|
|
delete |
◆ Window() [3/3]
| bicameral::Window::Window |
( |
| ) |
|
|
privatedefault |
◆ AddButton()
◆ AddWheel()
| void bicameral::Window::AddWheel |
( |
WPARAM | wParam | ) |
|
|
private |
◆ ClientHeight()
| uint32_t bicameral::Window::ClientHeight |
( |
| ) |
const |
|
inlinenodiscard |
◆ ClientWidth()
| uint32_t bicameral::Window::ClientWidth |
( |
| ) |
const |
|
inlinenodiscard |
◆ Create()
| std::expected< std::unique_ptr< Window >, std::string > bicameral::Window::Create |
( |
std::wstring_view | title, |
|
|
uint32_t | clientWidth, |
|
|
uint32_t | clientHeight ) |
|
staticnodiscard |
◆ Handle()
| HWND bicameral::Window::Handle |
( |
| ) |
const |
|
inlinenodiscard |
◆ HandleMessage()
| LRESULT bicameral::Window::HandleMessage |
( |
UINT | message, |
|
|
WPARAM | wParam, |
|
|
LPARAM | lParam ) |
|
private |
Definition at line 143 of file window.cpp.
References AddButton(), AddWheel(), bicameral::ButtonDown, bicameral::ButtonUp, bicameral::KeyDown, bicameral::Left, m_clientHeight, m_clientWidth, m_closed, m_handle, m_heldButtons, m_inputEvents, m_messageHook, m_resized, bicameral::Middle, bicameral::PointerMove, and bicameral::Right.
◆ IsMinimized()
| bool bicameral::Window::IsMinimized |
( |
| ) |
const |
|
inlinenodiscard |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ PumpMessages()
| bool bicameral::Window::PumpMessages |
( |
| ) |
|
◆ SetMessageHook()
| void bicameral::Window::SetMessageHook |
( |
MessageHook | hook | ) |
|
|
inline |
◆ TakeInputEvents()
| std::vector< InputEvent > bicameral::Window::TakeInputEvents |
( |
| ) |
|
|
nodiscard |
◆ TakeResized()
| bool bicameral::Window::TakeResized |
( |
| ) |
|
|
nodiscard |
◆ WindowProcedure()
| LRESULT CALLBACK bicameral::Window::WindowProcedure |
( |
HWND | handle, |
|
|
UINT | message, |
|
|
WPARAM | wParam, |
|
|
LPARAM | lParam ) |
|
staticprivate |
◆ m_clientHeight
| uint32_t bicameral::Window::m_clientHeight = 0 |
|
private |
◆ m_clientWidth
| uint32_t bicameral::Window::m_clientWidth = 0 |
|
private |
◆ m_closed
| bool bicameral::Window::m_closed = false |
|
private |
◆ m_handle
| HWND bicameral::Window::m_handle = nullptr |
|
private |
◆ m_heldButtons
| uint32_t bicameral::Window::m_heldButtons = 0 |
|
private |
◆ m_inputEvents
| std::vector<InputEvent> bicameral::Window::m_inputEvents |
|
private |
◆ m_messageHook
◆ m_resized
| bool bicameral::Window::m_resized = false |
|
private |
◆ m_wheelRemainder
| int32_t bicameral::Window::m_wheelRemainder = 0 |
|
private |
The documentation for this class was generated from the following files: