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
087f0d5f
Kaydet (Commit)
087f0d5f
authored
Agu 16, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
mbParentIsBorder is always false, follow logical consequences of that
Change-Id: I6283a3d4df91447d15b62e738be07961ac00ef56
üst
ce043bb4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
56 deletions
+0
-56
SidebarToolBox.hxx
include/sfx2/sidebar/SidebarToolBox.hxx
+0
-8
SidebarToolBox.cxx
sfx2/source/sidebar/SidebarToolBox.cxx
+0
-48
No files found.
include/sfx2/sidebar/SidebarToolBox.hxx
Dosyayı görüntüle @
087f0d5f
...
@@ -53,13 +53,6 @@ public:
...
@@ -53,13 +53,6 @@ public:
virtual
void
Paint
(
const
Rectangle
&
rRect
);
virtual
void
Paint
(
const
Rectangle
&
rRect
);
virtual
Point
GetPosPixel
(
void
)
const
;
virtual
void
setPosSizePixel
(
long
nX
,
long
nY
,
long
nWidth
,
long
nHeight
,
sal_uInt16
nFlags
);
virtual
long
Notify
(
NotifyEvent
&
rEvent
);
virtual
long
Notify
(
NotifyEvent
&
rEvent
);
cssu
::
Reference
<
css
::
frame
::
XToolbarController
>
GetControllerForItemId
(
cssu
::
Reference
<
css
::
frame
::
XToolbarController
>
GetControllerForItemId
(
...
@@ -73,7 +66,6 @@ public:
...
@@ -73,7 +66,6 @@ public:
const
::
rtl
::
OUString
&
rsCommandName
);
const
::
rtl
::
OUString
&
rsCommandName
);
private
:
private
:
bool
mbParentIsBorder
;
Image
maItemSeparator
;
Image
maItemSeparator
;
class
ItemDescriptor
class
ItemDescriptor
{
{
...
...
sfx2/source/sidebar/SidebarToolBox.cxx
Dosyayı görüntüle @
087f0d5f
...
@@ -41,7 +41,6 @@ namespace sfx2 { namespace sidebar {
...
@@ -41,7 +41,6 @@ namespace sfx2 { namespace sidebar {
SidebarToolBox
::
SidebarToolBox
(
Window
*
pParentWindow
)
SidebarToolBox
::
SidebarToolBox
(
Window
*
pParentWindow
)
:
ToolBox
(
pParentWindow
,
0
),
:
ToolBox
(
pParentWindow
,
0
),
mbParentIsBorder
(
false
),
maItemSeparator
(
Theme
::
GetImage
(
Theme
::
Image_ToolBoxItemSeparator
)),
maItemSeparator
(
Theme
::
GetImage
(
Theme
::
Image_ToolBoxItemSeparator
)),
maControllers
(),
maControllers
(),
mbAreHandlersRegistered
(
false
)
mbAreHandlersRegistered
(
false
)
...
@@ -120,53 +119,6 @@ void SidebarToolBox::Paint (const Rectangle& rRect)
...
@@ -120,53 +119,6 @@ void SidebarToolBox::Paint (const Rectangle& rRect)
Point
SidebarToolBox
::
GetPosPixel
(
void
)
const
{
if
(
mbParentIsBorder
)
{
const
Point
aParentPoint
(
GetParent
()
->
GetPosPixel
());
const
Point
aChildPoint
(
ToolBox
::
GetPosPixel
());
return
Point
(
aParentPoint
.
X
()
+
aChildPoint
.
X
(),
aParentPoint
.
Y
()
+
aChildPoint
.
Y
());
}
else
return
ToolBox
::
GetPosPixel
();
}
void
SidebarToolBox
::
setPosSizePixel
(
long
nX
,
long
nY
,
long
nWidth
,
long
nHeight
,
sal_uInt16
nFlags
)
{
if
(
mbParentIsBorder
)
{
const
Point
aRelativePosition
(
static_cast
<
ToolBoxBackground
*>
(
GetParent
())
->
SetToolBoxChild
(
this
,
nX
,
nY
,
nWidth
,
nHeight
,
nFlags
));
ToolBox
::
setPosSizePixel
(
aRelativePosition
.
X
(),
aRelativePosition
.
Y
(),
nWidth
,
nHeight
,
nFlags
);
}
else
ToolBox
::
setPosSizePixel
(
nX
,
nY
,
nWidth
,
nHeight
,
nFlags
);
}
long
SidebarToolBox
::
Notify
(
NotifyEvent
&
rEvent
)
long
SidebarToolBox
::
Notify
(
NotifyEvent
&
rEvent
)
{
{
if
(
rEvent
.
GetType
()
==
EVENT_KEYINPUT
)
if
(
rEvent
.
GetType
()
==
EVENT_KEYINPUT
)
...
...
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