diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-01-16 11:43:34 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-01-16 11:43:34 +0100 |
commit | 3e07e568a1ae478b89812d91438d75179c94ab35 (patch) | |
tree | 85b4a9911dcc2fa661eac15a9a40ffbf813f0e89 /Tobii-EyeX/samples/ActivatableBoardGame/ActivatableBoardGame.cpp | |
parent | c61ba8892ce9b76bae4f60986b9d6724dad53254 (diff) |
remove obsolete Tobii EyeX SDK
Diffstat (limited to 'Tobii-EyeX/samples/ActivatableBoardGame/ActivatableBoardGame.cpp')
-rwxr-xr-x | Tobii-EyeX/samples/ActivatableBoardGame/ActivatableBoardGame.cpp | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/Tobii-EyeX/samples/ActivatableBoardGame/ActivatableBoardGame.cpp b/Tobii-EyeX/samples/ActivatableBoardGame/ActivatableBoardGame.cpp deleted file mode 100755 index 4fbe055..0000000 --- a/Tobii-EyeX/samples/ActivatableBoardGame/ActivatableBoardGame.cpp +++ /dev/null @@ -1,54 +0,0 @@ -/*
- * ActivatableBoardGame sample:
- * This is an example that demonstrates the use of Activatable interactors in the context of a board game.
- *
- * Copyright 2013 Tobii Technology AB. All rights reserved.
- */
-
-#include "stdafx.h"
-#include <windows.h>
-#include <objidl.h>
-#include <gdiplus.h>
-#include "Resource.h"
-#include "Board.h"
-#include "BoardWindow.h"
-
-#pragma comment (lib, "Gdiplus.lib")
-
-// Application entry point.
-int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
- _In_opt_ HINSTANCE hPrevInstance,
- _In_ LPTSTR lpCmdLine,
- _In_ int nCmdShow)
-{
- UNREFERENCED_PARAMETER(hPrevInstance);
- UNREFERENCED_PARAMETER(lpCmdLine);
-
- // initialize the GDI+ library.
- ULONG_PTR gdiplusToken;
- Gdiplus::GdiplusStartupInput gdiplusStartupInput;
- Gdiplus::GdiplusStartup(&gdiplusToken, &gdiplusStartupInput, NULL);
-
- // initialize the Board and the BoardWindow.
- // these will be un-initialized automatically when they fall out of scope.
- Board board(8);
- BoardWindow::RegisterWindowClass(hInstance);
- BoardWindow window(board, hInstance, nCmdShow);
-
- HACCEL hAccelTable = LoadAccelerators(hInstance, MAKEINTRESOURCE(IDC_GOBANG));
-
- // Main message loop
- MSG msg;
- while (GetMessage(&msg, NULL, 0, 0))
- {
- if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg))
- {
- TranslateMessage(&msg);
- DispatchMessage(&msg);
- }
- }
-
- Gdiplus::GdiplusShutdown(gdiplusToken);
-
- return (int) msg.wParam;
-}
|