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
ba9b0e9c
Kaydet (Commit)
ba9b0e9c
authored
Ock 28, 2014
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
hidpi: Set the mnDPIScale during initialization too, of course.
Change-Id: I71b4607d08c7f764670903c5c8e66f451fe2eb57
üst
780eb9f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
window.cxx
vcl/source/window/window.cxx
+3
-0
No files found.
vcl/source/window/window.cxx
Dosyayı görüntüle @
ba9b0e9c
...
@@ -977,6 +977,9 @@ void Window::ImplInit( Window* pParent, WinBits nStyle, SystemParentData* pSyste
...
@@ -977,6 +977,9 @@ void Window::ImplInit( Window* pParent, WinBits nStyle, SystemParentData* pSyste
}
}
// setup the scale factor for Hi-DPI displays
mnDPIScaleFactor
=
std
::
max
((
sal_Int32
)
1
,
(
mpWindowImpl
->
mpFrameData
->
mnDPIY
+
48
)
/
96
);
const
StyleSettings
&
rStyleSettings
=
maSettings
.
GetStyleSettings
();
const
StyleSettings
&
rStyleSettings
=
maSettings
.
GetStyleSettings
();
sal_uInt16
nScreenZoom
=
rStyleSettings
.
GetScreenZoom
();
sal_uInt16
nScreenZoom
=
rStyleSettings
.
GetScreenZoom
();
mnDPIX
=
(
mpWindowImpl
->
mpFrameData
->
mnDPIX
*
nScreenZoom
)
/
100
;
mnDPIX
=
(
mpWindowImpl
->
mpFrameData
->
mnDPIX
*
nScreenZoom
)
/
100
;
...
...
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