Lines Matching refs:screen
26 #include "screen.h"
62 for (const auto &screen : allScreens) {
63 if (screen == nullptr) {
66 if (!screen->IsReal() && screen->GetWidth() > 0) {
67 remoteScreens.push_back(screen);
70 cout << "-------------remote screen info---------------" << endl;
71 cout << "remote screen Num: " << remoteScreens.size() << endl;
72 for (const auto &screen : remoteScreens) {
73 if (screen == nullptr) {
77 cout << "--------screen id " << screen->GetId() << "---------" << endl;
78 cout << "screen name: " << GetAnonyString(screen->GetName()).c_str() << endl;
79 cout << "width: " << screen->GetWidth() << endl;
80 cout << "height: " << screen->GetHeight() << endl;
94 cout << "select remote screen id to mirror: " << endl;
99 for (const auto &screen : remoteScreens) {
100 if (screen == nullptr) {
103 if (screen->GetId() == mirrorId) {
116 cout << "mirror screen Id is " << mirrorId << endl;
132 cout << "select remote screen id to stop mirror: " << endl;
136 for (const auto &screen : remoteScreens) {
137 if (screen == nullptr) {
140 if (screen->GetId() == stopMirrorId) {
151 cout << "stop mirror screen id is " << stopMirrorId << endl;
165 cout << "select remote screen id to expand: " << endl;
170 for (const auto &screen : remoteScreens) {
171 if (screen == nullptr) {
174 if (screen->GetId() == expandId) {
187 cout << "expand screen Id is " << expandId << endl;
202 cout << "select remote screen id to stop expand: " << endl;
206 for (const auto &screen : remoteScreens) {
207 if (screen == nullptr) {
210 if (screen->GetId() == stopExpandId) {
221 cout << "stop expand screen id is " << stopExpandId << endl;