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
edabf0c5
Kaydet (Commit)
edabf0c5
authored
Kas 04, 2014
tarafından
Jennifer Liebel
Kaydeden (comit)
Michael Meeks
Kas 05, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
changed some timer to idle
Change-Id: Ifd5e2d87732d3e537c7754e52be24ef768ecb8d9
üst
d6e89e75
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
28 additions
and
33 deletions
+28
-33
DrawViewWrapper.cxx
chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
+2
-2
impedit.hxx
editeng/source/editeng/impedit.hxx
+1
-1
impedit2.cxx
editeng/source/editeng/impedit2.cxx
+1
-1
svdpntv.hxx
include/svx/svdpntv.hxx
+1
-1
Navigator.cxx
reportdesign/source/ui/dlg/Navigator.cxx
+16
-21
svdibrow.hxx
svx/inc/svdibrow.hxx
+1
-1
svdibrow.cxx
svx/source/svdraw/svdibrow.cxx
+1
-1
svdpntv.cxx
svx/source/svdraw/svdpntv.cxx
+5
-5
No files found.
chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
Dosyayı görüntüle @
edabf0c5
...
...
@@ -154,8 +154,8 @@ void DrawViewWrapper::ReInit()
DrawViewWrapper
::~
DrawViewWrapper
()
{
aComeBack
Timer
.
Stop
();
//@todo this should be done in destructor of base class
UnmarkAllObj
();
//necessary to a
a
void a paint call during the destructor hierarchy
aComeBack
Idle
.
Stop
();
//@todo this should be done in destructor of base class
UnmarkAllObj
();
//necessary to avoid a paint call during the destructor hierarchy
}
SdrPageView
*
DrawViewWrapper
::
GetPageView
()
const
...
...
editeng/source/editeng/impedit.hxx
Dosyayı görüntüle @
edabf0c5
...
...
@@ -182,7 +182,7 @@ struct FormatterFontMetric
sal_uInt16
GetHeight
()
const
{
return
nMaxAscent
+
nMaxDescent
;
}
};
class
IdleFormattter
:
public
Timer
class
IdleFormattter
:
public
Idle
{
private
:
EditView
*
pView
;
...
...
editeng/source/editeng/impedit2.cxx
Dosyayı görüntüle @
edabf0c5
...
...
@@ -145,7 +145,7 @@ ImpEditEngine::ImpEditEngine( EditEngine* pEE, SfxItemPool* pItemPool ) :
aStatusTimer
.
SetTimeout
(
200
);
aStatusTimer
.
SetTimeoutHdl
(
LINK
(
this
,
ImpEditEngine
,
StatusTimerHdl
)
);
aIdleFormatter
.
Set
Timeout
(
5
);
aIdleFormatter
.
Set
Priority
(
VCL_IDLE_PRIORITY_REPAINT
);
aIdleFormatter
.
SetTimeoutHdl
(
LINK
(
this
,
ImpEditEngine
,
IdleFormatHdl
)
);
aOnlineSpellTimer
.
SetTimeout
(
100
);
...
...
include/svx/svdpntv.hxx
Dosyayı görüntüle @
edabf0c5
...
...
@@ -152,7 +152,7 @@ protected:
SdrDragStat
aDragStat
;
Rectangle
aMaxWorkArea
;
SfxItemSet
aDefaultAttr
;
Timer
aComeBackTimer
;
Idle
aComeBackIdle
;
SdrAnimationMode
eAnimationMode
;
...
...
reportdesign/source/ui/dlg/Navigator.cxx
Dosyayı görüntüle @
edabf0c5
...
...
@@ -423,29 +423,24 @@ IMPL_LINK_NOARG(NavigatorTree, OnDropActionTimer)
switch
(
m_aDropActionType
)
{
case
DA_EXPANDNODE
:
{
SvTreeListEntry
*
pToExpand
=
GetEntry
(
m_aTimerTriggered
);
if
(
pToExpand
&&
(
GetChildCount
(
pToExpand
)
>
0
)
&&
!
IsExpanded
(
pToExpand
))
// tja, eigentlich muesste ich noch testen, ob die Node nicht schon expandiert ist, aber ich
// habe dazu weder in den Basisklassen noch im Model eine Methode gefunden ...
// aber ich denke, die BK sollte es auch so vertragen
Expand
(
pToExpand
);
// nach dem Expand habe ich im Gegensatz zum Scrollen natuerlich nix mehr zu tun
m_aDropActionTimer
.
Stop
();
}
break
;
case
DA_SCROLLUP
:
ScrollOutputArea
(
1
);
m_nTimerCounter
=
DROP_ACTION_TIMER_SCROLL_TICKS
;
case
DA_EXPANDNODE
:
{
SvTreeListEntry
*
pToExpand
=
GetEntry
(
m_aTimerTriggered
);
if
(
pToExpand
&&
(
GetChildCount
(
pToExpand
)
>
0
)
&&
!
IsExpanded
(
pToExpand
))
Expand
(
pToExpand
);
m_aDropActionTimer
.
Stop
();
}
break
;
case
DA_SCROLLDOWN
:
ScrollOutputArea
(
-
1
);
m_nTimerCounter
=
DROP_ACTION_TIMER_SCROLL_TICKS
;
break
;
case
DA_SCROLLUP
:
ScrollOutputArea
(
1
);
m_nTimerCounter
=
DROP_ACTION_TIMER_SCROLL_TICKS
;
break
;
case
DA_SCROLLDOWN
:
ScrollOutputArea
(
-
1
);
m_nTimerCounter
=
DROP_ACTION_TIMER_SCROLL_TICKS
;
break
;
}
...
...
svx/inc/svdibrow.hxx
Dosyayı görüntüle @
edabf0c5
...
...
@@ -114,7 +114,7 @@ public:
class
SdrView
;
class
SdrItemBrowser
:
public
_SdrItemBrowserWindow
{
Timer
aIdleTimer
;
Idle
aIdleTimer
;
SdrView
*
pView
;
bool
bDirty
;
private
:
...
...
svx/source/svdraw/svdibrow.cxx
Dosyayı görüntüle @
edabf0c5
...
...
@@ -1107,7 +1107,7 @@ void SdrItemBrowser::SetDirty()
{
if
(
!
bDirty
)
{
bDirty
=
true
;
aIdleTimer
.
Set
Timeout
(
1
);
aIdleTimer
.
Set
Priority
(
VCL_IDLE_PRIORITY_HIGH
);
aIdleTimer
.
Start
();
}
}
...
...
svx/source/svdraw/svdpntv.cxx
Dosyayı görüntüle @
edabf0c5
...
...
@@ -190,8 +190,8 @@ void SdrPaintView::ImpClearVars()
pDefaultStyleSheet
=
NULL
;
bSomeObjChgdFlag
=
false
;
nGraphicManagerDrawMode
=
GRFMGR_DRAW_STANDARD
;
aComeBack
Timer
.
SetTimeout
(
1
);
aComeBack
Timer
.
SetTimeoutHdl
(
LINK
(
this
,
SdrPaintView
,
ImpComeBackHdl
));
aComeBack
Idle
.
SetPriority
(
VCL_IDLE_PRIORITY_HIGH
);
aComeBack
Idle
.
SetTimeoutHdl
(
LINK
(
this
,
SdrPaintView
,
ImpComeBackHdl
));
if
(
pMod
)
SetDefaultStyleSheet
(
pMod
->
GetDefaultStyleSheet
(),
true
);
...
...
@@ -269,7 +269,7 @@ void SdrPaintView::Notify(SfxBroadcaster& rBC, const SfxHint& rHint)
if
(
eKind
==
HINT_OBJCHG
||
eKind
==
HINT_OBJINSERTED
||
eKind
==
HINT_OBJREMOVED
)
{
if
(
bObjChg
)
{
bSomeObjChgdFlag
=
true
;
aComeBack
Timer
.
Start
();
aComeBack
Idle
.
Start
();
}
}
if
(
eKind
==
HINT_PAGEORDERCHG
)
{
...
...
@@ -309,8 +309,8 @@ void SdrPaintView::FlushComeBackTimer() const
{
if
(
bSomeObjChgdFlag
)
{
// casting to nonconst
((
SdrPaintView
*
)
this
)
->
ImpComeBackHdl
(
&
((
SdrPaintView
*
)
this
)
->
aComeBack
Timer
);
((
SdrPaintView
*
)
this
)
->
aComeBack
Timer
.
Stop
();
((
SdrPaintView
*
)
this
)
->
ImpComeBackHdl
(
&
((
SdrPaintView
*
)
this
)
->
aComeBack
Idle
);
((
SdrPaintView
*
)
this
)
->
aComeBack
Idle
.
Stop
();
}
}
...
...
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