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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#include "fsCDisplay.h"


#include <fsCore/src/debug/fsAssert.h>
#include <fsCore/fsIHardware.h>
#include <fsCore/src/fsCAppSettings.h>

#include <fsAppCore/src/fsCAppCoreMain.h>

#include <fsAudio/fsIAudioManager.h>


fsBool fsCDisplay::displayTypeIsDesktopGet() const
{
	return true;
}

fsPoint fsCDisplay::fixedDisplaySizeGet() const
{
	return fsPoint(640, 480);
}

void fsCDisplay::desktopScreenModesEnumerateDo()
{
	screenModeAdd(1366, 768, 32);
}

void fsCDisplay::buffersSwap()<--- Either there is a missing 'override', or the member function 'fsCDisplay::buffersSwap' can be static.
{
}

fsBool fsCDisplay::desktopScreenModeSetDo(const fsCDisplayMode* const pDisplayMode, fsBool pFullScreen)
{
	return true;
}

fsStr fsCDisplay::nameGet()
{
	const fsCAppSettings* const settings = fsCAppCoreMain::instanceGet()->settingsGet();
	fsStr name = settings->strGetWithDefault("installedName", "testApp");
	if (settings->buildFlavourGet() == "CE")
	{
		name += " Collectors Edition";
	}
	return name;
}

void fsCDisplay::openGLViewCreate(const fsCDisplayMode* const pDisplayMode, fsBool pFullScreen)<--- Either there is a missing 'override', or the member function 'fsCDisplay::openGLViewCreate' can be static.
{
}

void fsCDisplay::focusStatusHandle()<--- Either there is a missing 'override', or the member function 'fsCDisplay::focusStatusHandle' can be static.
{
}

void fsCDisplay::focus(GLFWwindow* pWindow, int pGotFocus)
{
}

void fsCDisplay::appImplSceneCreate()<--- Either there is a missing 'override', or the member function 'fsCDisplay::appImplSceneCreate' can be static.
{
}

fsCDisplay::fsCDisplay()
{
    openGLViewCreate(nullptr, false);
}

fsCDisplay::~fsCDisplay()
{
}