Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
ScreenList Class Reference

#include <ScreenList.h>

Inheritance diagram for ScreenList:
Collaboration diagram for ScreenList:

Public Member Functions

 ScreenList (int width=5)
void addScreenByPriority (const Screen &newScreen)
 addScreenByPriority adds a new screen according to the following priority: 1.left side of the server 2.right side of the server 3.top 4.down 5.top left-hand diagonally 6.top right-hand diagonally 7.bottom right-hand diagonally 8.bottom left-hand diagonally 9.In case all places from the list have already booked, place in any spare place
void addScreenToFirstEmpty (const Screen &newScreen)
 addScreenToFirstEmpty adds screen into the first empty place
bool operator== (const ScreenList &sc) const
 Returns true if screens are equal.

Constructor & Destructor Documentation

◆ ScreenList()

ScreenList::ScreenList ( int width = 5)
explicit

Member Function Documentation

◆ addScreenByPriority()

void ScreenList::addScreenByPriority ( const Screen & newScreen)

addScreenByPriority adds a new screen according to the following priority: 1.left side of the server 2.right side of the server 3.top 4.down 5.top left-hand diagonally 6.top right-hand diagonally 7.bottom right-hand diagonally 8.bottom left-hand diagonally 9.In case all places from the list have already booked, place in any spare place

Parameters
newScreen

◆ addScreenToFirstEmpty()

void ScreenList::addScreenToFirstEmpty ( const Screen & newScreen)

addScreenToFirstEmpty adds screen into the first empty place

Parameters
newScreen

◆ operator==()

bool ScreenList::operator== ( const ScreenList & sc) const

Returns true if screens are equal.

Parameters
sc

The documentation for this class was generated from the following files: