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
572bbcfb
Kaydet (Commit)
572bbcfb
authored
Kas 03, 2009
tarafından
Philipp Lohmann [pl]
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#i104678# use high contrast mode setting instead of IsDark (paradigm shift begun with issue i35482)
üst
a79a4812
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
16 additions
and
19 deletions
+16
-19
baside2b.cxx
basctl/source/basicide/baside2b.cxx
+2
-1
baside3.cxx
basctl/source/basicide/baside3.cxx
+0
-0
objdlg.cxx
basctl/source/basicide/objdlg.cxx
+1
-1
tbxctl.cxx
basctl/source/basicide/tbxctl.cxx
+1
-1
toolbar.cxx
extensions/source/bibliography/toolbar.cxx
+2
-2
commonpagesdbp.cxx
extensions/source/dbpilots/commonpagesdbp.cxx
+1
-1
taborder.cxx
extensions/source/propctrlr/taborder.cxx
+1
-1
navtoolbar.cxx
forms/source/solar/control/navtoolbar.cxx
+1
-5
certificateviewer.cxx
xmlsecurity/source/dialogs/certificateviewer.cxx
+5
-5
digitalsignaturesdialog.cxx
xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
+1
-1
macrosecurity.cxx
xmlsecurity/source/dialogs/macrosecurity.cxx
+1
-1
No files found.
basctl/source/basicide/baside2b.cxx
Dosyayı görüntüle @
572bbcfb
...
...
@@ -944,6 +944,7 @@ BreakPointWindow::BreakPointWindow( Window* pParent ) :
pModulWindow
=
0
;
nCurYOffset
=
0
;
setBackgroundColor
(
GetSettings
().
GetStyleSettings
().
GetFieldColor
());
m_bHighContrastMode
=
GetSettings
().
GetStyleSettings
().
GetHighContrastMode
();
nMarkerPos
=
MARKER_NOMARKER
;
// nCurYOffset merken und nicht von EditEngine holen.
...
...
@@ -1161,6 +1162,7 @@ void BreakPointWindow::DataChanged(DataChangedEvent const & rDCEvt)
!=
rDCEvt
.
GetOldSettings
()
->
GetStyleSettings
().
GetFieldColor
())
{
setBackgroundColor
(
aColor
);
m_bHighContrastMode
=
GetSettings
().
GetStyleSettings
().
GetHighContrastMode
();
Invalidate
();
}
}
...
...
@@ -1169,7 +1171,6 @@ void BreakPointWindow::DataChanged(DataChangedEvent const & rDCEvt)
void
BreakPointWindow
::
setBackgroundColor
(
Color
aColor
)
{
SetBackground
(
Wallpaper
(
aColor
));
m_bHighContrastMode
=
aColor
.
IsDark
();
}
...
...
basctl/source/basicide/baside3.cxx
Dosyayı görüntüle @
572bbcfb
This diff is collapsed.
Click to expand it.
basctl/source/basicide/objdlg.cxx
Dosyayı görüntüle @
572bbcfb
...
...
@@ -300,7 +300,7 @@ void ObjectCatalogToolBox_Impl::DataChanged(DataChangedEvent const & rDCEvt)
void
ObjectCatalogToolBox_Impl
::
setImages
()
{
bool
bHC
=
Get
DisplayBackground
().
GetColor
().
IsDark
();
bool
bHC
=
Get
Settings
().
GetStyleSettings
().
GetHighContrastMode
();
if
(
bHC
!=
m_bHighContrast
)
{
SetImageList
(
bHC
?
m_aImagesHighContrast
:
m_aImagesNormal
);
...
...
basctl/source/basicide/tbxctl.cxx
Dosyayı görüntüle @
572bbcfb
...
...
@@ -186,7 +186,7 @@ void TbxControls::StateChanged( USHORT nSID, SfxItemState eState,
Image
aImage
=
GetImage
(
m_xFrame
,
aSlotURL
,
hasBigImages
(),
GetToolBox
().
Get
DisplayBackground
().
GetColor
().
IsDark
()
);
GetToolBox
().
Get
Settings
().
GetStyleSettings
().
GetHighContrastMode
()
);
ToolBox
&
rBox
=
GetToolBox
();
rBox
.
SetItemImage
(
GetId
(),
aImage
);
nLastSlot
=
nLastEnum
;
...
...
extensions/source/bibliography/toolbar.cxx
Dosyayı görüntüle @
572bbcfb
...
...
@@ -620,8 +620,8 @@ void BibToolBar::RebuildToolbar()
void
BibToolBar
::
ApplyImageList
()
{
ImageList
&
rList
=
(
nSymbolsSize
==
SFX_SYMBOLS_SIZE_SMALL
)
?
(
Get
DisplayBackground
().
GetColor
().
IsDark
()
?
aImgLstHC
:
aImgLst
)
:
(
Get
DisplayBackground
().
GetColor
().
IsDark
()
?
aBigImgLstHC
:
aBigImgLst
);
(
Get
Settings
().
GetStyleSettings
().
GetHighContrastMode
()
?
aImgLstHC
:
aImgLst
)
:
(
Get
Settings
().
GetStyleSettings
().
GetHighContrastMode
()
?
aBigImgLstHC
:
aBigImgLst
);
SetItemImage
(
TBC_BT_AUTOFILTER
,
rList
.
GetImage
(
SID_FM_AUTOFILTER
));
SetItemImage
(
TBC_BT_FILTERCRIT
,
rList
.
GetImage
(
SID_FM_FILTERCRIT
));
...
...
extensions/source/dbpilots/commonpagesdbp.cxx
Dosyayı görüntüle @
572bbcfb
...
...
@@ -376,7 +376,7 @@ namespace dbp
{
::
svt
::
OLocalResourceAccess
aLocalResAccess
(
ModuleRes
(
RID_PAGE_TABLESELECTION
),
RSC_TABPAGE
);
bool
bIsHiContrast
=
m_aTable
.
Get
Background
().
GetColor
().
IsDark
();
bool
bIsHiContrast
=
m_aTable
.
Get
Settings
().
GetStyleSettings
().
GetHighContrastMode
();
aTableImage
=
Image
(
ModuleRes
(
bIsHiContrast
?
IMG_TABLE_HC
:
IMG_TABLE
)
);
aQueryImage
=
Image
(
ModuleRes
(
bIsHiContrast
?
IMG_QUERY_HC
:
IMG_QUERY
)
);
}
...
...
extensions/source/propctrlr/taborder.cxx
Dosyayı görüntüle @
572bbcfb
...
...
@@ -114,7 +114,7 @@ namespace pcr
aPB_OK
.
SetClickHdl
(
LINK
(
this
,
TabOrderDialog
,
OKClickHdl
)
);
aPB_OK
.
Disable
();
sal_Bool
bIsHighContrast
=
Get
DisplayBackground
().
GetColor
().
IsDark
();
sal_Bool
bIsHighContrast
=
Get
Settings
().
GetStyleSettings
().
GetHighContrastMode
();
pImageList
=
new
ImageList
(
PcrRes
(
bIsHighContrast
?
RID_IL_FORMEXPLORER_HC
:
RID_IL_FORMEXPLORER
)
);
...
...
forms/source/solar/control/navtoolbar.cxx
Dosyayı görüntüle @
572bbcfb
...
...
@@ -72,10 +72,6 @@ namespace frm
sLabel
+=
String
::
CreateFromAscii
(
" "
);
return
sLabel
;
}
static
bool
lcl_isHighContrast
(
const
Color
&
_rColor
)
{
return
_rColor
.
IsDark
();
}
}
//=====================================================================
...
...
@@ -346,7 +342,7 @@ namespace frm
{
m_eImageSize
=
_eSize
;
::
std
::
auto_ptr
<
SfxImageManager
>
pImageManager
(
new
SfxImageManager
(
NULL
)
);
pImageManager
->
SetImagesForceSize
(
*
m_pToolbar
,
lcl_isHighContrast
(
GetBackground
().
GetColor
()
),
m_eImageSize
==
eLarge
);
pImageManager
->
SetImagesForceSize
(
*
m_pToolbar
,
GetSettings
().
GetStyleSettings
().
GetHighContrastMode
(
),
m_eImageSize
==
eLarge
);
// parts of our layout is dependent on the size of our icons
Resize
();
...
...
xmlsecurity/source/dialogs/certificateviewer.cxx
Dosyayı görüntüle @
572bbcfb
...
...
@@ -122,7 +122,7 @@ CertificateViewerGeneralTP::CertificateViewerGeneralTP( Window* _pParent, Certif
,
maKeyImg
(
this
,
XMLSEC_RES
(
IMG_KEY
)
)
,
maHintCorrespPrivKeyFI
(
this
,
XMLSEC_RES
(
FI_CORRPRIVKEY
)
)
{
if
(
GetSettings
().
GetStyleSettings
().
Get
WindowColor
().
IsDark
()
)
if
(
GetSettings
().
GetStyleSettings
().
Get
HighContrastMode
()
)
maKeyImg
.
SetImage
(
Image
(
XMLSEC_RES
(
IMG_KEY_HC
)
)
);
//Verify the certificate
...
...
@@ -139,14 +139,14 @@ CertificateViewerGeneralTP::CertificateViewerGeneralTP( Window* _pParent, Certif
sal_Int32
certErrors
=
certStatus
&
mask
;
bool
bCertValid
=
certErrors
>
0
?
false
:
true
;
bool
b
IsDark
=
(
GetSettings
().
GetStyleSettings
().
GetWindowColor
().
IsDark
()
!=
FALSE
);
bool
b
HC
=
GetSettings
().
GetStyleSettings
().
GetHighContrastMode
(
);
if
(
!
bCertValid
)
{
maCertImg
.
SetImage
(
Image
(
XMLSEC_RES
(
b
IsDark
?
IMG_STATE_NOT_VALIDATED_HC
:
IMG_STATE_NOT_VALIDATED
)
)
);
Image
(
XMLSEC_RES
(
b
HC
?
IMG_STATE_NOT_VALIDATED_HC
:
IMG_STATE_NOT_VALIDATED
)
)
);
maHintNotTrustedFI
.
SetText
(
String
(
XMLSEC_RES
(
STR_CERTIFICATE_NOT_VALIDATED
)
)
);
}
else
if
(
b
IsDark
)
else
if
(
b
HC
)
maCertImg
.
SetImage
(
Image
(
XMLSEC_RES
(
IMG_STATE_CERIFICATED_HC
)
)
);
FreeResource
();
...
...
@@ -430,7 +430,7 @@ CertificateViewerCertPathTP::CertificateViewerCertPathTP( Window* _pParent, Cert
,
msCertNotValidated
(
XMLSEC_RES
(
STR_PATH_CERT_NOT_VALIDATED
)
)
{
if
(
GetSettings
().
GetStyleSettings
().
Get
WindowColor
().
IsDark
()
)
if
(
GetSettings
().
GetStyleSettings
().
Get
HighContrastMode
()
)
{
maCertImage
=
Image
(
XMLSEC_RES
(
IMG_CERT_SMALL_HC
)
);
maCertNotValidatedImage
=
Image
(
XMLSEC_RES
(
IMG_CERT_NOTVALIDATED_SMALL_HC
)
);
...
...
xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
Dosyayı görüntüle @
572bbcfb
...
...
@@ -216,7 +216,7 @@ DigitalSignaturesDialog::DigitalSignaturesDialog(
maSigsNotvalidatedFI
.
SetText
(
String
(
XMLSEC_RES
(
STR_NO_INFO_TO_VERIFY
)
)
);
if
(
Get
Background
().
GetColor
().
IsDark
()
)
if
(
Get
Settings
().
GetStyleSettings
().
GetHighContrastMode
()
)
{
// high contrast mode needs other images
maSigsValidImg
.
SetImage
(
Image
(
XMLSEC_RES
(
IMG_STATE_VALID_HC
)
)
);
...
...
xmlsecurity/source/dialogs/macrosecurity.cxx
Dosyayı görüntüle @
572bbcfb
...
...
@@ -429,7 +429,7 @@ void MacroSecurityTrustedSourcesTP::ClosePage( void )
ReadOnlyImage
::
ReadOnlyImage
(
Window
*
pParent
,
const
ResId
rResId
)
:
FixedImage
(
pParent
,
rResId
)
{
sal_Bool
bHighContrast
=
pParent
->
Get
DisplayBackground
().
GetColor
().
IsDark
();
sal_Bool
bHighContrast
=
pParent
->
Get
Settings
().
GetStyleSettings
().
GetHighContrastMode
();
SetImage
(
Image
(
XMLSEC_RES
(
bHighContrast
?
RID_XMLSECTP_LOCK_HC
:
RID_XMLSECTP_LOCK
)));
}
...
...
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