Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7f274205
Commit
7f274205
authored
Jul 30, 2004
by
James Hawkins
Committed by
Alexandre Julliard
Jul 30, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename X11 Driver tab of winecfg to Graphics.
parent
9cb68a76
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
20 additions
and
20 deletions
+20
-20
En.rc
programs/winecfg/En.rc
+1
-1
Es.rc
programs/winecfg/Es.rc
+1
-1
It.rc
programs/winecfg/It.rc
+1
-1
Pt.rc
programs/winecfg/Pt.rc
+1
-1
Ru.rc
programs/winecfg/Ru.rc
+1
-1
Si.rc
programs/winecfg/Si.rc
+1
-1
main.c
programs/winecfg/main.c
+3
-3
resource.h
programs/winecfg/resource.h
+2
-2
winecfg.h
programs/winecfg/winecfg.h
+4
-4
x11drvdlg.c
programs/winecfg/x11drvdlg.c
+5
-5
No files found.
programs/winecfg/En.rc
View file @
7f274205
...
...
@@ -53,7 +53,7 @@ BEGIN
COMBOBOX IDC_DOSVER,83,208,158,56,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
END
IDD_
X11DRV
CFG DIALOG DISCARDABLE 0, 0, 260, 250
IDD_
GRAPH
CFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Sans Serif"
BEGIN
...
...
programs/winecfg/Es.rc
View file @
7f274205
...
...
@@ -49,7 +49,7 @@ FONT 8, "MS Sans Serif"
BEGIN
END
IDD_
X11DRV
CFG DIALOG DISCARDABLE 0, 0, 260, 250
IDD_
GRAPH
CFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Sans Serif"
BEGIN
...
...
programs/winecfg/It.rc
View file @
7f274205
...
...
@@ -52,7 +52,7 @@ BEGIN
COMBOBOX IDC_DOSVER,83,208,158,56,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
END
IDD_
X11DRV
CFG DIALOG DISCARDABLE 0, 0, 260, 250
IDD_
GRAPH
CFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Sans Serif"
BEGIN
...
...
programs/winecfg/Pt.rc
View file @
7f274205
...
...
@@ -52,7 +52,7 @@ BEGIN
COMBOBOX IDC_DOSVER,108,208,138,56,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
END
IDD_
X11DRV
CFG DIALOG DISCARDABLE 0, 0, 260, 250
IDD_
GRAPH
CFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Sans Serif"
BEGIN
...
...
programs/winecfg/Ru.rc
View file @
7f274205
...
...
@@ -62,7 +62,7 @@ FONT 8, "MS Sans Serif"
BEGIN
END
IDD_
X11DRV
CFG DIALOG DISCARDABLE 0, 0, 260, 250
IDD_
GRAPH
CFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Sans Serif"
BEGIN
...
...
programs/winecfg/Si.rc
View file @
7f274205
...
...
@@ -49,7 +49,7 @@ FONT 8, "MS Sans Serif"
BEGIN
END
IDD_
X11DRV
CFG DIALOG DISCARDABLE 0, 0, 260, 250
IDD_
GRAPH
CFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Sans Serif"
BEGIN
...
...
programs/winecfg/main.c
View file @
7f274205
...
...
@@ -129,10 +129,10 @@ doPropertySheet (HINSTANCE hInstance, HWND hOwner)
psp
[
pg
].
dwSize
=
sizeof
(
PROPSHEETPAGE
);
psp
[
pg
].
dwFlags
=
PSP_USETITLE
;
psp
[
pg
].
hInstance
=
hInstance
;
psp
[
pg
].
u
.
pszTemplate
=
MAKEINTRESOURCE
(
IDD_
X11DRV
CFG
);
psp
[
pg
].
u
.
pszTemplate
=
MAKEINTRESOURCE
(
IDD_
GRAPH
CFG
);
psp
[
pg
].
u2
.
pszIcon
=
NULL
;
psp
[
pg
].
pfnDlgProc
=
X11Drv
DlgProc
;
psp
[
pg
].
pszTitle
=
"
X11 Driver
"
;
psp
[
pg
].
pfnDlgProc
=
Graph
DlgProc
;
psp
[
pg
].
pszTitle
=
"
Graphics
"
;
psp
[
pg
].
lParam
=
0
;
pg
++
;
...
...
programs/winecfg/resource.h
View file @
7f274205
...
...
@@ -31,7 +31,7 @@
#define IDD_ABOUTCFG 107
#define IDD_APPCFG 108
#define IDD_AUDIOCFG 109
#define IDD_
X11DRVCFG
110
#define IDD_
GRAPHCFG
110
#define IDD_DLLCFG 111
#define IDD_DRIVECFG 112
#define IDD_SYSTEMCFG 113
...
...
@@ -111,7 +111,7 @@
#define IDC_BUTTON_SHOW_HIDE_ADVANCED 1076
#define IDC_STATIC_TYPE 1077
/*
x11drv
*/
/*
graphics
*/
#define IDC_ENABLE_MANAGED 1100
#define IDC_SCREEN_DEPTH 1101
#define IDC_DX_MOUSE_GRAB 1102
...
...
programs/winecfg/winecfg.h
View file @
7f274205
...
...
@@ -96,11 +96,11 @@ char *getConfigValue (const char *subkey, const char *valueName, const char *def
HRESULT
doesConfigValueExist
(
const
char
*
subkey
,
const
char
*
valueName
);
HRESULT
removeConfigValue
(
const
char
*
subkey
,
const
char
*
valueName
);
/*
X11DRV
*/
/*
Graphics
*/
void
init
X11Drv
Dlg
(
HWND
hDlg
);
void
save
X11Drv
DlgSettings
(
HWND
hDlg
);
INT_PTR
CALLBACK
X11Drv
DlgProc
(
HWND
hDlg
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
);
void
init
Graph
Dlg
(
HWND
hDlg
);
void
save
Graph
DlgSettings
(
HWND
hDlg
);
INT_PTR
CALLBACK
Graph
DlgProc
(
HWND
hDlg
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
);
/* Drive management */
void
initDriveDlg
(
HWND
hDlg
);
...
...
programs/winecfg/x11drvdlg.c
View file @
7f274205
/*
*
X11DRV
configuration code
*
Graphics
configuration code
*
* Copyright 2003 Mark Westcott
* Copyright 2003 Mike Hearn
...
...
@@ -35,7 +35,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
winecfg
);
#define RES_MAXLEN 5
/* the maximum number of characters in a screen dimension. 5 digits should be plenty, what kind of crazy person runs their screen >10,000 pixels across? */
#define section (appSettings == EDITING_GLOBAL ? "
x11drv" : (getSectionForApp("x11drv
")))
#define section (appSettings == EDITING_GLOBAL ? "
graphics" : (getSectionForApp("graphics
")))
int
updatingUI
;
...
...
@@ -84,7 +84,7 @@ void updateGUIForDesktopMode(HWND dialog) {
}
/* pokes the win32 api to setup the dialog from the config struct */
void
init
X11Drv
Dlg
(
HWND
hDlg
)
void
init
Graph
Dlg
(
HWND
hDlg
)
{
static
const
char
default_desktop
[]
=
"640x480"
;
char
*
buf
;
...
...
@@ -213,7 +213,7 @@ void onDoubleBufferClicked(HWND hDlg) {
}
INT_PTR
CALLBACK
X11Drv
DlgProc
(
HWND
hDlg
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
)
Graph
DlgProc
(
HWND
hDlg
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
switch
(
uMsg
)
{
case
WM_INITDIALOG
:
...
...
@@ -258,7 +258,7 @@ X11DrvDlgProc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
break
;
}
case
PSN_SETACTIVE
:
{
init
X11Drv
Dlg
(
hDlg
);
init
Graph
Dlg
(
hDlg
);
break
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment