DXGL r412 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r411
|
r412
|
r413
>
Date:
01:08, 24 February 2014
Author:
admin
Status:
new
Tags:
Comment:
Create appcompat change notification window.
Modified paths:
/cfgmgr/cfgmgr.cpp
(modified) (
history
)
/ddraw/ddraw.rc
(modified) (
history
)
/ddraw/resource.h
(modified) (
history
)
Diff
[
purge
]
Index: cfgmgr/cfgmgr.cpp
—
—
@@ -18,6 +18,7 @@
19
19
#include "stdafx.h"
20
20
#include "crc32.h"
21
21
#include "cfgmgr.h"
22
+#include "../ddraw/resource.h"
22
23
#include <tchar.h>
23
24
using namespace std;
24
25
#ifdef _UNICODE
—
—
@@ -32,6 +33,11 @@
33
34
34
35
DXGLCFG defaultmask;
35
36
37
+bool AddCompatFlag(LPTSTR flag)
38
+{
39
+
40
+}
41
+
36
42
void GetDirFromPath(LPTSTR path)
37
43
{
38
44
int len = _tcslen(path);
Index: ddraw/ddraw.rc
—
—
@@ -30,6 +30,17 @@
31
31
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
32
32
IDI_ICON1 ICON "..\\common\\dxgl.ico"
33
33
34
+//
35
+// Dialog resources
36
+//
37
+LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
38
+IDD_COMPAT DIALOG 0, 0, 193, 19
39
+STYLE DS_3DLOOK | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_VISIBLE | WS_POPUP
40
+EXSTYLE WS_EX_WINDOWEDGE
41
+FONT 8, "Ms Shell Dlg"
42
+{
43
+ LTEXT "Compatibility settings applied; now restarting your program.", IDC_STATIC, 5, 5, 183, 8, SS_LEFT
44
+}
34
45
35
46
36
47
//
Index: ddraw/resource.h
—
—
@@ -3,3 +3,4 @@
4
4
#endif
5
5
6
6
#define IDI_ICON1 100
7
+#define IDD_COMPAT 101
Navigation menu
Personal tools
Log in
Namespaces
Special page
English
expanded
collapsed
Views
More
expanded
collapsed
Search
Navigation
Home
Main page
Recent changes
Random page
MediaWiki help
Introduction
Progress
Downloads
Source code
Build from source
AppDB
Bug reports
Forums
Tools
Special pages
Printable version