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
4b37994a
Kaydet (Commit)
4b37994a
authored
Mar 22, 2016
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:constantparam in slideshow
Change-Id: I36215c1e5c698b1dd2a984163639b024739b3113
üst
b4e3f5e9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
33 deletions
+11
-33
screenupdater.cxx
slideshow/source/engine/screenupdater.cxx
+3
-6
layermanager.cxx
slideshow/source/engine/slide/layermanager.cxx
+6
-18
layermanager.hxx
slideshow/source/engine/slide/layermanager.hxx
+1
-8
shapemanagerimpl.cxx
slideshow/source/engine/slide/shapemanagerimpl.cxx
+1
-1
No files found.
slideshow/source/engine/screenupdater.cxx
Dosyayı görüntüle @
4b37994a
...
...
@@ -31,7 +31,7 @@ namespace {
class
UpdateLock
:
public
::
slideshow
::
internal
::
ScreenUpdater
::
UpdateLock
{
public
:
UpdateLock
(
::
slideshow
::
internal
::
ScreenUpdater
&
rUpdater
,
const
bool
bStartLocked
);
UpdateLock
(
::
slideshow
::
internal
::
ScreenUpdater
&
rUpdater
);
virtual
~
UpdateLock
();
virtual
void
Activate
()
override
;
private
:
...
...
@@ -214,7 +214,7 @@ namespace internal
::
std
::
shared_ptr
<
ScreenUpdater
::
UpdateLock
>
ScreenUpdater
::
createLock
()
{
return
::
std
::
shared_ptr
<
ScreenUpdater
::
UpdateLock
>
(
new
::
UpdateLock
(
*
this
,
false
/*bStartLocked*/
));
return
::
std
::
shared_ptr
<
ScreenUpdater
::
UpdateLock
>
(
new
::
UpdateLock
(
*
this
));
}
...
...
@@ -224,13 +224,10 @@ namespace internal
namespace
{
UpdateLock
::
UpdateLock
(
::
slideshow
::
internal
::
ScreenUpdater
&
rUpdater
,
const
bool
bStartLocked
)
::
slideshow
::
internal
::
ScreenUpdater
&
rUpdater
)
:
mrUpdater
(
rUpdater
),
mbIsActivated
(
false
)
{
if
(
bStartLocked
)
Activate
();
}
...
...
slideshow/source/engine/slide/layermanager.cxx
Dosyayı görüntüle @
4b37994a
...
...
@@ -93,30 +93,18 @@ namespace slideshow
this
->
viewAdded
(
rView
);
}
void
LayerManager
::
activate
(
bool
bSlideBackgoundPainted
)
void
LayerManager
::
activate
()
{
mbActive
=
true
;
maUpdateShapes
.
clear
();
// update gets forced via area, or
// has happened outside already
if
(
!
bSlideBackgoundPainted
)
{
for
(
const
auto
&
pView
:
mrViews
)
pView
->
clearAll
();
// force update of whole slide area
for
(
const
auto
&
pLayer
:
maLayers
)
pLayer
->
addUpdateRange
(
maPageBounds
);
}
else
{
// clear all possibly pending update areas - content
// is there, already
for
(
const
auto
&
pLayer
:
maLayers
)
pLayer
->
clearUpdateRanges
();
}
// clear all possibly pending update areas - content
// is there, already
for
(
const
auto
&
pLayer
:
maLayers
)
pLayer
->
clearUpdateRanges
();
updateShapeLayers
(
bSlideBackgoundPainted
);
updateShapeLayers
(
true
/*bSlideBackgoundPainted*/
);
}
void
LayerManager
::
deactivate
()
...
...
slideshow/source/engine/slide/layermanager.hxx
Dosyayı görüntüle @
4b37994a
...
...
@@ -84,15 +84,8 @@ namespace slideshow
This method activates the LayerManager. Prior to
activation, this instance will be passive, i.e. won't
render anything to any view.
@param bSlideBackgoundPainted
When true, the initial slide content on the background
layer is already rendered (e.g. from a previous slide
transition). When false, LayerManager also renders
initial content of background layer on next update()
call.
*/
void
activate
(
bool
bSlideBackgoundPainted
);
void
activate
();
/** Deactivate the LayerManager
...
...
slideshow/source/engine/slide/shapemanagerimpl.cxx
Dosyayı görüntüle @
4b37994a
...
...
@@ -72,7 +72,7 @@ void ShapeManagerImpl::activate()
this
->
cursorChanged
(
rListener
.
first
,
rListener
.
second
);
if
(
mpLayerManager
)
mpLayerManager
->
activate
(
true
/*bSlideBackgoundPainted*/
);
mpLayerManager
->
activate
();
}
}
...
...
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