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
15421d71
Kaydet (Commit)
15421d71
authored
Nis 06, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Avoid reserved identifier
Change-Id: I3ded47656c4e0f1c3134337bddab5713f29be27e
üst
165b087b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
PresenterScrollBar.cxx
sdext/source/presenter/PresenterScrollBar.cxx
+2
-2
PresenterScrollBar.hxx
sdext/source/presenter/PresenterScrollBar.hxx
+3
-3
No files found.
sdext/source/presenter/PresenterScrollBar.cxx
Dosyayı görüntüle @
15421d71
...
@@ -449,7 +449,7 @@ void SAL_CALL PresenterScrollBar::disposing (const css::lang::EventObject& rEven
...
@@ -449,7 +449,7 @@ void SAL_CALL PresenterScrollBar::disposing (const css::lang::EventObject& rEven
geometry
::
RealRectangle2D
PresenterScrollBar
::
GetRectangle
(
const
Area
eArea
)
const
geometry
::
RealRectangle2D
PresenterScrollBar
::
GetRectangle
(
const
Area
eArea
)
const
{
{
OSL_ASSERT
(
eArea
>=
0
&&
eArea
<
__AreaCount__
);
OSL_ASSERT
(
eArea
>=
0
&&
eArea
<
AreaCount
);
return
maBox
[
eArea
];
return
maBox
[
eArea
];
}
}
...
@@ -602,7 +602,7 @@ PresenterBitmapContainer::BitmapDescriptor::Mode PresenterScrollBar::GetBitmapMo
...
@@ -602,7 +602,7 @@ PresenterBitmapContainer::BitmapDescriptor::Mode PresenterScrollBar::GetBitmapMo
bool
PresenterScrollBar
::
IsDisabled
(
const
Area
eArea
)
const
bool
PresenterScrollBar
::
IsDisabled
(
const
Area
eArea
)
const
{
{
OSL_ASSERT
(
eArea
>=
0
&&
eArea
<
__AreaCount__
);
OSL_ASSERT
(
eArea
>=
0
&&
eArea
<
AreaCount
);
return
!
maEnabledState
[
eArea
];
return
!
maEnabledState
[
eArea
];
}
}
...
...
sdext/source/presenter/PresenterScrollBar.hxx
Dosyayı görüntüle @
15421d71
...
@@ -157,7 +157,7 @@ public:
...
@@ -157,7 +157,7 @@ public:
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
enum
Area
{
Total
,
Pager
,
Thumb
,
PagerUp
,
PagerDown
,
PrevButton
,
NextButton
,
None
,
enum
Area
{
Total
,
Pager
,
Thumb
,
PagerUp
,
PagerDown
,
PrevButton
,
NextButton
,
None
,
__AreaCount__
=
None
};
AreaCount
=
None
};
protected
:
protected
:
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
mxComponentContext
;
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
mxComponentContext
;
...
@@ -173,7 +173,7 @@ protected:
...
@@ -173,7 +173,7 @@ protected:
::
std
::
function
<
void
(
double
)
>
maThumbMotionListener
;
::
std
::
function
<
void
(
double
)
>
maThumbMotionListener
;
Area
meButtonDownArea
;
Area
meButtonDownArea
;
Area
meMouseMoveArea
;
Area
meMouseMoveArea
;
css
::
geometry
::
RealRectangle2D
maBox
[
__AreaCount__
];
css
::
geometry
::
RealRectangle2D
maBox
[
AreaCount
];
bool
mbIsNotificationActive
;
bool
mbIsNotificationActive
;
static
std
::
weak_ptr
<
PresenterBitmapContainer
>
mpSharedBitmaps
;
static
std
::
weak_ptr
<
PresenterBitmapContainer
>
mpSharedBitmaps
;
std
::
shared_ptr
<
PresenterBitmapContainer
>
mpBitmaps
;
std
::
shared_ptr
<
PresenterBitmapContainer
>
mpBitmaps
;
...
@@ -185,7 +185,7 @@ protected:
...
@@ -185,7 +185,7 @@ protected:
SharedBitmapDescriptor
mpThumbStartDescriptor
;
SharedBitmapDescriptor
mpThumbStartDescriptor
;
SharedBitmapDescriptor
mpThumbCenterDescriptor
;
SharedBitmapDescriptor
mpThumbCenterDescriptor
;
SharedBitmapDescriptor
mpThumbEndDescriptor
;
SharedBitmapDescriptor
mpThumbEndDescriptor
;
bool
maEnabledState
[
__AreaCount__
];
bool
maEnabledState
[
AreaCount
];
css
::
geometry
::
RealRectangle2D
GetRectangle
(
const
Area
eArea
)
const
;
css
::
geometry
::
RealRectangle2D
GetRectangle
(
const
Area
eArea
)
const
;
virtual
double
GetDragDistance
(
const
sal_Int32
nX
,
const
sal_Int32
nY
)
const
=
0
;
virtual
double
GetDragDistance
(
const
sal_Int32
nX
,
const
sal_Int32
nY
)
const
=
0
;
...
...
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