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
4bf33549
Commit
4bf33549
authored
Jun 12, 1999
by
Patrik Stridvall
Committed by
Alexandre Julliard
Jun 12, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed direct references to CLASS internals.
parent
cd3278be
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
13 additions
and
18 deletions
+13
-18
icontitle.c
controls/icontitle.c
+1
-1
menu.c
controls/menu.c
+1
-1
widgets.c
controls/widgets.c
+1
-1
dbg.y
debugger/dbg.y
+1
-2
dbgmain.c
debugger/dbgmain.c
+2
-2
module.c
loader/module.c
+0
-1
spy.c
misc/spy.c
+1
-1
message.c
windows/message.c
+2
-2
painting.c
windows/painting.c
+4
-4
scroll.c
windows/scroll.c
+0
-1
user.c
windows/user.c
+0
-1
event.c
windows/x11drv/event.c
+0
-1
No files found.
controls/icontitle.c
View file @
4bf33549
...
...
@@ -135,7 +135,7 @@ static BOOL ICONTITLE_Paint( WND* wnd, HDC hDC, BOOL bActive )
{
if
(
wnd
->
dwStyle
&
WS_CHILD
)
{
hBrush
=
wnd
->
parent
->
class
->
hbrBackground
;
hBrush
=
(
HBRUSH
)
GetClassLongA
(
wnd
->
hwndSelf
,
GCL_HBRBACKGROUND
)
;
if
(
hBrush
)
{
INT
level
;
...
...
controls/menu.c
View file @
4bf33549
...
...
@@ -2053,7 +2053,7 @@ static HMENU MENU_ShowSubPopup( HWND hwndOwner, HMENU hmenu,
if
(
IS_SYSTEM_MENU
(
menu
))
{
MENU_InitSysMenuPopup
(
item
->
hSubMenu
,
wndPtr
->
dwStyle
,
wndPtr
->
class
->
style
);
MENU_InitSysMenuPopup
(
item
->
hSubMenu
,
wndPtr
->
dwStyle
,
GetClassLongA
(
wndPtr
->
hwndSelf
,
GCL_STYLE
)
);
NC_GetSysPopupPos
(
wndPtr
,
&
rect
);
rect
.
top
=
rect
.
bottom
;
...
...
controls/widgets.c
View file @
4bf33549
...
...
@@ -115,5 +115,5 @@ BOOL WIDGETS_Init(void)
BOOL
WIDGETS_IsControl
(
WND
*
pWnd
,
BUILTIN_CLASS32
cls
)
{
assert
(
cls
<
BIC32_NB_CLASSES
);
return
(
pWnd
->
class
->
atomName
==
bicAtomTable
[
cls
]);
return
(
GetClassWord
(
pWnd
->
hwndSelf
,
GCW_ATOM
)
==
bicAtomTable
[
cls
]);
}
debugger/dbg.y
View file @
4bf33549
...
...
@@ -19,7 +19,6 @@
#endif
#include "winbase.h"
#include "class.h"
#include "module.h"
#include "task.h"
#include "options.h"
...
...
@@ -290,7 +289,7 @@ break_command:
info_command:
tINFO tBREAK tEOL { DEBUG_InfoBreakpoints(); }
| tINFO tCLASS expr_value tEOL { CLASS_DumpClass( (CLASS *)$3 );
| tINFO tCLASS expr_value tEOL { CLASS_DumpClass( (
struct tag
CLASS *)$3 );
DEBUG_FreeExprMem(); }
| tINFO tSHARE tEOL { DEBUG_InfoShare(); }
| tINFO tMODULE expr_value tEOL { NE_DumpModule( $3 );
...
...
debugger/dbgmain.c
View file @
4bf33549
...
...
@@ -11,7 +11,7 @@
#include "toolhelp.h"
#include "module.h"
#include "debugger.h"
#include "
class
.h"
#include "
win
.h"
#include "debugger.h"
#include "peexe.h"
...
...
@@ -51,7 +51,7 @@ int PROFILE_GetWineIniString( const char *section, const char *key_name,
}
void
CLASS_DumpClass
(
CLASS
*
class
)
void
CLASS_DumpClass
(
struct
tag
CLASS
*
class
)
{
exit
(
0
);
}
...
...
loader/module.c
View file @
4bf33549
...
...
@@ -14,7 +14,6 @@
#include "wine/winbase16.h"
#include "windef.h"
#include "winerror.h"
#include "class.h"
#include "file.h"
#include "global.h"
#include "heap.h"
...
...
misc/spy.c
View file @
4bf33549
...
...
@@ -647,7 +647,7 @@ const char *SPY_GetWndName( HWND hwnd )
INT
len
;
*
(
p
++
)
=
'{'
;
GlobalGetAtomNameA
(
pWnd
->
class
->
atomName
,
p
,
n
+
1
);
GlobalGetAtomNameA
(
(
ATOM
)
GetClassWord
(
pWnd
->
hwndSelf
,
GCW_ATOM
)
,
p
,
n
+
1
);
src
=
p
+=
(
len
=
lstrlenA
(
p
));
if
(
len
>=
n
)
src
=
wnd_buffer
;
/* something nonzero */
postfix
=
'}'
;
...
...
windows/message.c
View file @
4bf33549
...
...
@@ -180,7 +180,7 @@ static DWORD MSG_TranslateMouseMsg( HWND hTopWnd, DWORD first, DWORD last,
* note that ...MOUSEMOVEs can slip in between
* ...BUTTONDOWN and ...BUTTONDBLCLK messages */
if
(
pWnd
->
class
->
style
&
CS_DBLCLKS
||
ht
!=
HTCLIENT
)
if
(
GetClassLongA
(
hWnd
,
GCL_STYLE
)
&
CS_DBLCLKS
||
ht
!=
HTCLIENT
)
{
if
((
message
==
clk_message
)
&&
(
hWnd
==
clk_hwnd
)
&&
(
msg
->
time
-
dblclk_time_limit
<
doubleClickSpeed
)
&&
...
...
@@ -1091,7 +1091,7 @@ static BOOL MSG_PeekMessage( LPMSG msg, HWND hwnd, DWORD first, DWORD last,
if
((
wndPtr
=
WIN_FindWndPtr
(
msg
->
hwnd
)))
{
if
(
wndPtr
->
dwStyle
&
WS_MINIMIZE
&&
wndPtr
->
class
->
hIcon
)
(
HICON
)
GetClassLongA
(
wndPtr
->
hwndSelf
,
GCL_HICON
)
)
{
msg
->
message
=
WM_PAINTICON
;
msg
->
wParam
=
1
;
...
...
windows/painting.c
View file @
4bf33549
...
...
@@ -170,7 +170,7 @@ HDC16 WINAPI BeginPaint16( HWND16 hwnd, LPPAINTSTRUCT16 lps )
WND
*
wndPtr
=
WIN_FindWndPtr
(
hwnd
);
if
(
!
wndPtr
)
return
0
;
bIcon
=
(
wndPtr
->
dwStyle
&
WS_MINIMIZE
&&
wndPtr
->
class
->
hIcon
);
bIcon
=
(
wndPtr
->
dwStyle
&
WS_MINIMIZE
&&
GetClassWord
(
wndPtr
->
hwndSelf
,
GCW_HICON
)
);
wndPtr
->
flags
&=
~
WIN_NEEDS_BEGINPAINT
;
...
...
@@ -187,7 +187,7 @@ HDC16 WINAPI BeginPaint16( HWND16 hwnd, LPPAINTSTRUCT16 lps )
TRACE_
(
win
)(
"hrgnUpdate = %04x,
\n
"
,
hrgnUpdate
);
if
(
wndPtr
->
class
->
style
&
CS_PARENTDC
)
if
(
GetClassWord16
(
wndPtr
->
hwndSelf
,
GCW_STYLE
)
&
CS_PARENTDC
)
{
/* Don't clip the output to the update region for CS_PARENTDC window */
if
(
hrgnUpdate
)
...
...
@@ -545,7 +545,7 @@ static HRGN RDW_Paint( WND* wndPtr, HRGN hrgn, UINT flags, UINT ex )
*/
HDC
hDC
;
HWND
hWnd
=
wndPtr
->
hwndSelf
;
BOOL
bIcon
=
((
wndPtr
->
dwStyle
&
WS_MINIMIZE
)
&&
wndPtr
->
class
->
hIcon
);
BOOL
bIcon
=
((
wndPtr
->
dwStyle
&
WS_MINIMIZE
)
&&
GetClassWord
(
wndPtr
->
hwndSelf
,
GCW_HICON
)
);
/* Erase/update the window itself ... */
...
...
@@ -913,7 +913,7 @@ BOOL WINAPI GetUpdateRect( HWND hwnd, LPRECT rect, BOOL erase )
}
GetRgnBox
(
hrgn
,
rect
);
DeleteObject
(
hrgn
);
if
(
wndPtr
->
class
->
style
&
CS_OWNDC
)
if
(
GetClassLongA
(
wndPtr
->
hwndSelf
,
GCL_STYLE
)
&
CS_OWNDC
)
{
if
(
GetMapMode
(
wndPtr
->
dce
->
hDC
)
!=
MM_TEXT
)
{
...
...
windows/scroll.c
View file @
4bf33549
...
...
@@ -10,7 +10,6 @@
#include <stdlib.h>
#include "winuser.h"
#include "class.h"
#include "dc.h"
#include "win.h"
#include "gdi.h"
...
...
windows/user.c
View file @
4bf33549
...
...
@@ -25,7 +25,6 @@
#include "shell.h"
#include "callback.h"
#include "local.h"
#include "class.h"
#include "desktop.h"
#include "process.h"
#include "debugtools.h"
...
...
windows/x11drv/event.c
View file @
4bf33549
...
...
@@ -17,7 +17,6 @@
#include <assert.h>
#include <string.h>
#include "callback.h"
#include "class.h"
#include "clipboard.h"
#include "dce.h"
#include "dde_proc.h"
...
...
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