-
Notifications
You must be signed in to change notification settings - Fork 0
/
CollageLayoutManager.cpp
43 lines (32 loc) · 1.39 KB
/
CollageLayoutManager.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
///////////////////////////////////////////////////////////////////////////////////////////////
//
// Name: CollageLayoutManager.cpp
//
// Author: Mike Conway
//
// Description: Top level abstract class that defines a layout manager,
// arranging content on the display in some manner
//
///////////////////////////////////////////////////////////////////////////////////////////////
#include "CollageLayoutManager.h"
#include "CollageGraphics.h"
// default constructor takes a collageGraphics object
CollageLayoutManager::CollageLayoutManager(CollageGraphics* collageGraphics) {
this->collageGraphics = collageGraphics;
// use collageGraphics to obtain a handle to the SceneManager, which provides layouts with
// information describing the display environment
this->sceneManager = this->collageGraphics->GetSceneManager();
}
CollageLayoutManager::~CollageLayoutManager() {
}
/////////////////////////////////////////////////////////////
// CollageLayoutManagerException - general exeption for layout manager processing
/////////////////////////////////////////////////////////////
CollageLayoutManagerException::CollageLayoutManagerException(std::string message) {
this->message = message;
}
CollageLayoutManagerException::~CollageLayoutManagerException() {
}
std::string CollageLayoutManagerException::GetMessage() {
return this->message;
}