#include <ScreenList.h>
|
| 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.
|
◆ ScreenList()
ScreenList::ScreenList |
( |
int | width = 5 | ) |
|
|
explicit |
◆ 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
-
◆ addScreenToFirstEmpty()
void ScreenList::addScreenToFirstEmpty |
( |
const Screen & | newScreen | ) |
|
addScreenToFirstEmpty adds screen into the first empty place
- Parameters
-
◆ operator==()
bool ScreenList::operator== |
( |
const ScreenList & | sc | ) |
const |
Returns true if screens are equal.
- Parameters
-
The documentation for this class was generated from the following files: