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
016cf9b2
Kaydet (Commit)
016cf9b2
authored
Haz 19, 2015
tarafından
László Németh
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix tabpage rendering
Change-Id: I2448787c306a8a4ba531c0560e0435fefadb4dc8
üst
af7cbebd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
paraprev.cxx
svx/source/dialog/paraprev.cxx
+1
-1
tabpage.cxx
vcl/source/window/tabpage.cxx
+2
-2
No files found.
svx/source/dialog/paraprev.cxx
Dosyayı görüntüle @
016cf9b2
...
...
@@ -204,7 +204,7 @@ void SvxParaPrevWindow::DrawParagraph(vcl::RenderContext& rRenderContext, bool b
rRenderContext
.
DrawRect
(
Lines
[
i
]);
rRenderContext
.
SetFillColor
(
aFillCol
);
}
DrawRect
(
aRect
);
rRenderContext
.
DrawRect
(
aRect
);
Lines
[
i
]
=
aRect
;
}
...
...
vcl/source/window/tabpage.cxx
Dosyayı görüntüle @
016cf9b2
...
...
@@ -126,7 +126,7 @@ void TabPage::DataChanged( const DataChangedEvent& rDCEvt )
}
}
void
TabPage
::
Paint
(
vcl
::
RenderContext
&
/*rRenderContext*/
,
const
Rectangle
&
)
void
TabPage
::
Paint
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
)
{
// draw native tabpage only inside tabcontrols, standalone tabpages look ugly (due to bad dialog design)
if
(
IsNativeControlSupported
(
CTRL_TAB_BODY
,
PART_ENTIRE_CONTROL
)
&&
GetParent
()
&&
(
GetParent
()
->
GetType
()
==
WINDOW_TABCONTROL
)
)
...
...
@@ -143,7 +143,7 @@ void TabPage::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& )
// pass the whole window region to NWF as the tab body might be a gradient or bitmap
// that has to be scaled properly, clipping makes sure that we do not paint too much
Rectangle
aCtrlRegion
(
aPoint
,
GetOutputSizePixel
()
);
DrawNativeControl
(
CTRL_TAB_BODY
,
part
,
aCtrlRegion
,
nState
,
rRenderContext
.
DrawNativeControl
(
CTRL_TAB_BODY
,
part
,
aCtrlRegion
,
nState
,
aControlValue
,
OUString
()
);
}
}
...
...
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