Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ec464127
Commit
ec464127
authored
Mar 17, 2003
by
Tony Lambregts
Committed by
Alexandre Julliard
Mar 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert WINE_DPRINTF calls to WINE_TRACE.
parent
f489a272
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
wineconsole.c
programs/wineconsole/wineconsole.c
+10
-10
No files found.
programs/wineconsole/wineconsole.c
View file @
ec464127
...
...
@@ -278,7 +278,7 @@ int WINECON_GrabChanges(struct inner_data* data)
}
SERVER_END_REQ
;
if
(
WINE_TRACE_ON
(
wineconsole
))
WINE_
DPRINTF
(
" active(%d)"
,
(
int
)
h
);
WINE_
TRACE
(
" active(%d)"
,
(
int
)
h
);
if
(
h
)
{
CloseHandle
(
data
->
hConOut
);
...
...
@@ -290,7 +290,7 @@ int WINECON_GrabChanges(struct inner_data* data)
data
->
curcfg
.
sb_height
!=
evts
[
i
].
u
.
resize
.
height
||
!
data
->
cells
)
{
if
(
WINE_TRACE_ON
(
wineconsole
))
WINE_
DPRINTF
(
" resize(%d,%d)"
,
evts
[
i
].
u
.
resize
.
width
,
evts
[
i
].
u
.
resize
.
height
);
WINE_
TRACE
(
" resize(%d,%d)"
,
evts
[
i
].
u
.
resize
.
width
,
evts
[
i
].
u
.
resize
.
height
);
data
->
curcfg
.
sb_width
=
evts
[
i
].
u
.
resize
.
width
;
data
->
curcfg
.
sb_height
=
evts
[
i
].
u
.
resize
.
height
;
...
...
@@ -303,7 +303,7 @@ int WINECON_GrabChanges(struct inner_data* data)
break
;
case
CONSOLE_RENDERER_UPDATE_EVENT
:
if
(
WINE_TRACE_ON
(
wineconsole
))
WINE_
DPRINTF
(
" update(%d,%d)"
,
evts
[
i
].
u
.
update
.
top
,
evts
[
i
].
u
.
update
.
bottom
);
WINE_
TRACE
(
" update(%d,%d)"
,
evts
[
i
].
u
.
update
.
top
,
evts
[
i
].
u
.
update
.
bottom
);
WINECON_FetchCells
(
data
,
evts
[
i
].
u
.
update
.
top
,
evts
[
i
].
u
.
update
.
bottom
);
break
;
case
CONSOLE_RENDERER_CURSOR_POS_EVENT
:
...
...
@@ -313,7 +313,7 @@ int WINECON_GrabChanges(struct inner_data* data)
data
->
cursor
.
Y
=
evts
[
i
].
u
.
cursor_pos
.
y
;
data
->
fnPosCursor
(
data
);
if
(
WINE_TRACE_ON
(
wineconsole
))
WINE_
DPRINTF
(
" curs-pos(%d,%d)"
,
evts
[
i
].
u
.
cursor_pos
.
x
,
evts
[
i
].
u
.
cursor_pos
.
y
);
WINE_
TRACE
(
" curs-pos(%d,%d)"
,
evts
[
i
].
u
.
cursor_pos
.
x
,
evts
[
i
].
u
.
cursor_pos
.
y
);
}
break
;
case
CONSOLE_RENDERER_CURSOR_GEOM_EVENT
:
...
...
@@ -323,7 +323,7 @@ int WINECON_GrabChanges(struct inner_data* data)
data
->
fnShapeCursor
(
data
,
evts
[
i
].
u
.
cursor_geom
.
size
,
evts
[
i
].
u
.
cursor_geom
.
visible
,
FALSE
);
if
(
WINE_TRACE_ON
(
wineconsole
))
WINE_
DPRINTF
(
" curs-geom(%d,%d)"
,
WINE_
TRACE
(
" curs-geom(%d,%d)"
,
evts
[
i
].
u
.
cursor_geom
.
size
,
evts
[
i
].
u
.
cursor_geom
.
visible
);
}
break
;
...
...
@@ -333,34 +333,34 @@ int WINECON_GrabChanges(struct inner_data* data)
data
->
fnScroll
(
data
,
evts
[
i
].
u
.
display
.
left
,
TRUE
);
data
->
fnPosCursor
(
data
);
if
(
WINE_TRACE_ON
(
wineconsole
))
WINE_
DPRINTF
(
" h-scroll(%d)"
,
evts
[
i
].
u
.
display
.
left
);
WINE_
TRACE
(
" h-scroll(%d)"
,
evts
[
i
].
u
.
display
.
left
);
}
if
(
evts
[
i
].
u
.
display
.
top
!=
data
->
curcfg
.
win_pos
.
Y
)
{
data
->
fnScroll
(
data
,
evts
[
i
].
u
.
display
.
top
,
FALSE
);
data
->
fnPosCursor
(
data
);
if
(
WINE_TRACE_ON
(
wineconsole
))
WINE_
DPRINTF
(
" v-scroll(%d)"
,
evts
[
i
].
u
.
display
.
top
);
WINE_
TRACE
(
" v-scroll(%d)"
,
evts
[
i
].
u
.
display
.
top
);
}
if
(
evts
[
i
].
u
.
display
.
width
!=
data
->
curcfg
.
win_width
||
evts
[
i
].
u
.
display
.
height
!=
data
->
curcfg
.
win_height
)
{
if
(
WINE_TRACE_ON
(
wineconsole
))
WINE_
DPRINTF
(
" win-size(%d,%d)"
,
evts
[
i
].
u
.
display
.
width
,
evts
[
i
].
u
.
display
.
height
);
WINE_
TRACE
(
" win-size(%d,%d)"
,
evts
[
i
].
u
.
display
.
width
,
evts
[
i
].
u
.
display
.
height
);
data
->
curcfg
.
win_width
=
evts
[
i
].
u
.
display
.
width
;
data
->
curcfg
.
win_height
=
evts
[
i
].
u
.
display
.
height
;
data
->
fnComputePositions
(
data
);
}
break
;
case
CONSOLE_RENDERER_EXIT_EVENT
:
if
(
WINE_TRACE_ON
(
wineconsole
))
WINE_
DPRINTF
(
". Exit!!
\n
"
);
if
(
WINE_TRACE_ON
(
wineconsole
))
WINE_
TRACE
(
". Exit!!
\n
"
);
return
0
;
default:
WINE_FIXME
(
"Unknown event type (%d)
\n
"
,
evts
[
i
].
event
);
}
}
if
(
WINE_TRACE_ON
(
wineconsole
))
WINE_
DPRINTF
(
".
\n
"
);
if
(
WINE_TRACE_ON
(
wineconsole
))
WINE_
TRACE
(
".
\n
"
);
return
1
;
}
...
...
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