#include <display_monitor.h>
Public Member Functions | |
| DisplayMonitor (FlutterWindowsEngine *engine) | |
| ~DisplayMonitor () | |
| void | UpdateDisplays () |
| bool | HandleWindowMessage (HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam, LRESULT *result) |
| std::optional< FlutterEngineDisplay > | FindById (FlutterEngineDisplayId id) |
| std::vector< FlutterEngineDisplay > | GetDisplays () const |
Definition at line 18 of file display_monitor.h.
|
explicit |
Definition at line 24 of file display_monitor.cc.
| flutter::DisplayMonitor::~DisplayMonitor | ( | ) |
Definition at line 27 of file display_monitor.cc.
| std::optional< FlutterEngineDisplay > flutter::DisplayMonitor::FindById | ( | FlutterEngineDisplayId | id | ) |
Definition at line 96 of file display_monitor.cc.
References GetDisplays().
| std::vector< FlutterEngineDisplay > flutter::DisplayMonitor::GetDisplays | ( | ) | const |
Definition at line 107 of file display_monitor.cc.
References displays.
Referenced by FindById(), and UpdateDisplays().
| bool flutter::DisplayMonitor::HandleWindowMessage | ( | HWND | hwnd, |
| UINT | message, | ||
| WPARAM | wparam, | ||
| LPARAM | lparam, | ||
| LRESULT * | result | ||
| ) |
| void flutter::DisplayMonitor::UpdateDisplays | ( | ) |
Definition at line 77 of file display_monitor.cc.
References displays, GetDisplays(), and flutter::FlutterWindowsEngine::UpdateDisplay().
Referenced by HandleWindowMessage().