Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
f79a846c
Kaydet (Commit)
f79a846c
authored
Tem 19, 2011
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: cleanup Animation::Foo
üst
63bd3f53
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
47 deletions
+0
-47
animate.hxx
vcl/inc/vcl/animate.hxx
+0
-3
animate.cxx
vcl/source/gdi/animate.cxx
+0
-44
No files found.
vcl/inc/vcl/animate.hxx
Dosyayı görüntüle @
f79a846c
...
...
@@ -192,8 +192,6 @@ public:
sal_Bool
operator
!=
(
const
Animation
&
rAnimation
)
const
{
return
!
(
*
this
==
rAnimation
);
}
sal_Bool
IsEqual
(
const
Animation
&
rAnimation
)
const
;
sal_Bool
IsEmpty
()
const
;
void
SetEmpty
();
...
...
@@ -254,7 +252,6 @@ public:
);
sal_Bool
Invert
();
sal_Bool
Mirror
(
sal_uLong
nMirrorFlags
);
sal_Bool
Dither
(
sal_uLong
nDitherFlags
=
BMP_DITHER_MATRIX
);
sal_Bool
Adjust
(
short
nLuminancePercent
=
0
,
short
nContrastPercent
=
0
,
...
...
vcl/source/gdi/animate.cxx
Dosyayı görüntüle @
f79a846c
...
...
@@ -190,27 +190,6 @@ sal_Bool Animation::operator==( const Animation& rAnimation ) const
// ------------------------------------------------------------------
sal_Bool
Animation
::
IsEqual
(
const
Animation
&
rAnimation
)
const
{
const
size_t
nCount
=
maList
.
size
();
sal_Bool
bRet
=
sal_False
;
if
(
rAnimation
.
maList
.
size
()
==
nCount
&&
rAnimation
.
maBitmapEx
.
IsEqual
(
maBitmapEx
)
&&
rAnimation
.
maGlobalSize
==
maGlobalSize
&&
rAnimation
.
meCycleMode
==
meCycleMode
)
{
for
(
size_t
n
=
0
;
(
n
<
nCount
)
&&
!
bRet
;
n
++
)
if
(
maList
[
n
]
->
IsEqual
(
*
rAnimation
.
maList
[
n
]
)
)
bRet
=
sal_True
;
}
return
bRet
;
}
// ------------------------------------------------------------------
sal_Bool
Animation
::
IsEmpty
()
const
{
return
(
maBitmapEx
.
IsEmpty
()
&&
maList
.
empty
()
);
...
...
@@ -763,29 +742,6 @@ sal_Bool Animation::Mirror( sal_uLong nMirrorFlags )
// -----------------------------------------------------------------------
sal_Bool
Animation
::
Dither
(
sal_uLong
nDitherFlags
)
{
DBG_ASSERT
(
!
IsInAnimation
(),
"Animation modified while it is animated"
);
sal_Bool
bRet
;
if
(
!
IsInAnimation
()
&&
!
maList
.
empty
()
)
{
bRet
=
sal_True
;
for
(
size_t
i
=
0
,
n
=
maList
.
size
();
(
i
<
n
)
&&
bRet
;
++
i
)
bRet
=
maList
[
i
]
->
aBmpEx
.
Dither
(
nDitherFlags
);
maBitmapEx
.
Dither
(
nDitherFlags
);
}
else
bRet
=
sal_False
;
return
bRet
;
}
// -----------------------------------------------------------------------
sal_Bool
Animation
::
Adjust
(
short
nLuminancePercent
,
short
nContrastPercent
,
short
nChannelRPercent
,
short
nChannelGPercent
,
short
nChannelBPercent
,
double
fGamma
,
sal_Bool
bInvert
)
...
...
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