opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
window_event.h
Go to the documentation of this file.
1#pragma once
2
6
7#include <cstdint>
8
9namespace osc
10{
11 // Represents a possible change in a single application window.
12 class WindowEvent final : public Event {
13 public:
14 explicit WindowEvent(
17
18 type_{type},
19 window_id_{window_id}
20 {}
21
22 WindowEventType type() const { return type_; }
23 WindowID window_id() const { return window_id_; }
24 private:
26 WindowID window_id_;
27 };
28}
Definition event.h:13
Definition window_event.h:12
WindowEventType type() const
Definition window_event.h:22
WindowID window_id() const
Definition window_event.h:23
WindowEvent(WindowEventType type, WindowID window_id)
Definition window_event.h:14
Definition window_id.h:7
Definition custom_decoration_generator.h:5
WindowEventType
Definition window_event_type.h:6
constexpr U to(T &&value)
Definition conversion.h:56