Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Andi Sardina Ramos
Okular
Commits
7a5adb99
Commit
7a5adb99
authored
Jan 11, 2005
by
Dirk Mueller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix compilation
svn path=/trunk/kdegraphics/kpdf/; revision=377446
parent
e2d888d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
ui/presentationwidget.cpp
ui/presentationwidget.cpp
+2
-3
No files found.
ui/presentationwidget.cpp
View file @
7a5adb99
...
...
@@ -505,7 +505,6 @@ void PresentationWidget::generateOverlay()
int
red
=
color
.
red
(),
green
=
color
.
green
(),
blue
=
color
.
blue
(),
pixels
=
image
.
width
()
*
image
.
height
();
unsigned
int
*
data
=
(
unsigned
int
*
)
image
.
bits
();
unsigned
char
alpha
;
for
(
int
i
=
0
;
i
<
pixels
;
++
i
)
data
[
i
]
=
qRgba
(
red
,
green
,
blue
,
data
[
i
]
&
0xFF
);
m_lastRenderedOverlay
.
convertFromImage
(
image
);
...
...
@@ -803,7 +802,7 @@ void PresentationWidget::initTransition( const KPDFPageTransition *transition )
const
int
steps
=
m_width
/
(
4
*
blinds
);
if
(
isHorizontal
)
{
int
xPosition
[
blinds
];
int
xPosition
[
8
];
for
(
int
b
=
0
;
b
<
blinds
;
b
++
)
xPosition
[
b
]
=
(
b
*
m_width
)
/
blinds
;
...
...
@@ -819,7 +818,7 @@ void PresentationWidget::initTransition( const KPDFPageTransition *transition )
}
else
{
int
yPosition
[
blinds
];
int
yPosition
[
6
];
for
(
int
b
=
0
;
b
<
blinds
;
b
++
)
yPosition
[
b
]
=
(
b
*
m_height
)
/
blinds
;
...
...
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