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
f0ee8ed4
Kaydet (Commit)
f0ee8ed4
authored
Şub 13, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
see if we can merge floating window and dialog child size/pos setting
Change-Id: Idda1a5fbfec7d10fab4fcef47ee0d10945510d50
üst
a541aab2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
16 deletions
+3
-16
floatwin.hxx
include/vcl/floatwin.hxx
+0
-1
syswin.hxx
include/vcl/syswin.hxx
+1
-1
floatwin.cxx
vcl/source/window/floatwin.cxx
+0
-12
syswin.cxx
vcl/source/window/syswin.cxx
+2
-2
No files found.
include/vcl/floatwin.hxx
Dosyayı görüntüle @
f0ee8ed4
...
@@ -94,7 +94,6 @@ private:
...
@@ -94,7 +94,6 @@ private:
SAL_DLLPRIVATE
void
ImplCallPopupModeEnd
();
SAL_DLLPRIVATE
void
ImplCallPopupModeEnd
();
DECL_DLLPRIVATE_LINK
(
ImplEndPopupModeHdl
,
void
*
);
DECL_DLLPRIVATE_LINK
(
ImplEndPopupModeHdl
,
void
*
);
virtual
void
setPosSizeOnContainee
(
Size
aSize
,
Window
&
rBox
)
SAL_OVERRIDE
;
FloatingWindow
(
const
FloatingWindow
&
)
SAL_DELETED_FUNCTION
;
FloatingWindow
(
const
FloatingWindow
&
)
SAL_DELETED_FUNCTION
;
FloatingWindow
&
operator
=
(
const
FloatingWindow
&
)
SAL_DELETED_FUNCTION
;
FloatingWindow
&
operator
=
(
const
FloatingWindow
&
)
SAL_DELETED_FUNCTION
;
...
...
include/vcl/syswin.hxx
Dosyayı görüntüle @
f0ee8ed4
...
@@ -158,7 +158,7 @@ public:
...
@@ -158,7 +158,7 @@ public:
private
:
private
:
SAL_DLLPRIVATE
void
Init
();
SAL_DLLPRIVATE
void
Init
();
SAL_DLLPRIVATE
void
ImplMoveToScreen
(
long
&
io_rX
,
long
&
io_rY
,
long
i_nWidth
,
long
i_nHeight
,
vcl
::
Window
*
i_pConfigureWin
);
SAL_DLLPRIVATE
void
ImplMoveToScreen
(
long
&
io_rX
,
long
&
io_rY
,
long
i_nWidth
,
long
i_nHeight
,
vcl
::
Window
*
i_pConfigureWin
);
virtual
void
setPosSizeOnContainee
(
Size
aSize
,
Window
&
rBox
);
SAL_DLLPRIVATE
void
setPosSizeOnContainee
(
Size
aSize
,
Window
&
rBox
);
DECL_DLLPRIVATE_LINK
(
ImplHandleLayoutTimerHdl
,
void
*
);
DECL_DLLPRIVATE_LINK
(
ImplHandleLayoutTimerHdl
,
void
*
);
protected
:
protected
:
...
...
vcl/source/window/floatwin.cxx
Dosyayı görüntüle @
f0ee8ed4
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
#include <window.h>
#include <window.h>
#include <salframe.hxx>
#include <salframe.hxx>
#include <vcl/layout.hxx>
#include <vcl/svapp.hxx>
#include <vcl/svapp.hxx>
#include <vcl/wrkwin.hxx>
#include <vcl/wrkwin.hxx>
#include <vcl/event.hxx>
#include <vcl/event.hxx>
...
@@ -808,15 +807,4 @@ void FloatingWindow::AddPopupModeWindow( vcl::Window* pWindow )
...
@@ -808,15 +807,4 @@ void FloatingWindow::AddPopupModeWindow( vcl::Window* pWindow )
mpFirstPopupModeWin
=
pWindow
;
mpFirstPopupModeWin
=
pWindow
;
}
}
void
FloatingWindow
::
setPosSizeOnContainee
(
Size
aSize
,
Window
&
rBox
)
{
sal_Int32
nBorderWidth
=
get_border_width
();
aSize
.
Width
()
-=
mpWindowImpl
->
mnLeftBorder
+
mpWindowImpl
->
mnRightBorder
+
2
*
nBorderWidth
;
aSize
.
Height
()
-=
nBorderWidth
+
mpWindowImpl
->
mnTopBorder
+
mpWindowImpl
->
mnBottomBorder
+
2
*
nBorderWidth
;
Point
aPos
(
nBorderWidth
,
nBorderWidth
);
VclContainer
::
setLayoutAllocation
(
rBox
,
aPos
,
aSize
);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
vcl/source/window/syswin.cxx
Dosyayı görüntüle @
f0ee8ed4
...
@@ -1032,8 +1032,8 @@ void SystemWindow::setPosSizeOnContainee(Size aSize, Window &rBox)
...
@@ -1032,8 +1032,8 @@ void SystemWindow::setPosSizeOnContainee(Size aSize, Window &rBox)
{
{
sal_Int32
nBorderWidth
=
get_border_width
();
sal_Int32
nBorderWidth
=
get_border_width
();
aSize
.
Width
()
-=
2
*
nBorderWidth
;
aSize
.
Width
()
-=
mpWindowImpl
->
mnLeftBorder
+
mpWindowImpl
->
mnRightBorder
+
2
*
nBorderWidth
;
aSize
.
Height
()
-=
2
*
nBorderWidth
;
aSize
.
Height
()
-=
nBorderWidth
+
mpWindowImpl
->
mnTopBorder
+
mpWindowImpl
->
mnBottomBorder
+
2
*
nBorderWidth
;
Point
aPos
(
nBorderWidth
,
nBorderWidth
);
Point
aPos
(
nBorderWidth
,
nBorderWidth
);
VclContainer
::
setLayoutAllocation
(
rBox
,
aPos
,
aSize
);
VclContainer
::
setLayoutAllocation
(
rBox
,
aPos
,
aSize
);
...
...
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