diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-13 17:22:01 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-13 21:01:39 +0000 |
commit | fd0a0308b1c266977beb5f331c77808c45efad7e (patch) | |
tree | 2e1ec846b68ca18a3768657b621d59a5e9c55e44 /basctl/source/basicide/baside2b.cxx | |
parent | b1a02ab487986762326f390a64e0027d516a90cc (diff) |
remove hicontrast stuff
Diffstat (limited to 'basctl/source/basicide/baside2b.cxx')
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index 8299fcfac775..601f8b99dc1b 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -937,7 +937,6 @@ 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. @@ -971,9 +970,9 @@ void __EXPORT BreakPointWindow::Paint( const Rectangle& ) long nLineHeight = GetTextHeight(); Image aBrk1(((ModulWindowLayout *) pModulWindow->GetLayoutWindow())-> - getImage(IMGID_BRKENABLED, m_bHighContrastMode)); + getImage(IMGID_BRKENABLED)); Image aBrk0(((ModulWindowLayout *) pModulWindow->GetLayoutWindow())-> - getImage(IMGID_BRKDISABLED, m_bHighContrastMode)); + getImage(IMGID_BRKDISABLED)); Size aBmpSz( aBrk1.GetSizePixel() ); aBmpSz = PixelToLogic( aBmpSz ); Point aBmpOff( 0, 0 ); @@ -1022,8 +1021,7 @@ void BreakPointWindow::ShowMarker( BOOL bShow ) Image aMarker(((ModulWindowLayout*)pModulWindow->GetLayoutWindow())-> getImage(bErrorMarker - ? IMGID_ERRORMARKER : IMGID_STEPMARKER, - m_bHighContrastMode)); + ? IMGID_ERRORMARKER : IMGID_STEPMARKER)); Size aMarkerSz( aMarker.GetSizePixel() ); aMarkerSz = PixelToLogic( aMarkerSz ); @@ -1155,7 +1153,6 @@ void BreakPointWindow::DataChanged(DataChangedEvent const & rDCEvt) != rDCEvt.GetOldSettings()->GetStyleSettings().GetFieldColor()) { setBackgroundColor(aColor); - m_bHighContrastMode = GetSettings().GetStyleSettings().GetHighContrastMode(); Invalidate(); } } |