View | Details | Raw Unified | Return to issue 5560
Collapse All | Expand All

(-)a/svtools/source/control/tabbar.cxx (-3 / +3 lines)
Lines 1141-1147 Link Here
1141
                }
1141
                }
1142
                else
1142
                else
1143
                {
1143
                {
1144
                    if ( !pItem->IsDefaultTabBgColor() )
1144
                    if ( !pItem->IsDefaultTabBgColor() && !rStyleSettings.GetHighContrastMode() )
1145
                    {
1145
                    {
1146
                        SetFillColor( pItem->maTabBgColor );
1146
                        SetFillColor( pItem->maTabBgColor );
1147
                        SetTextColor( pItem->maTabTextColor );
1147
                        SetTextColor( pItem->maTabTextColor );
Lines 1198-1204 Link Here
1198
                if ( pItem->mbSelect || (pItem->mnId == mnCurPageId) ) {
1198
                if ( pItem->mbSelect || (pItem->mnId == mnCurPageId) ) {
1199
                    SetLineColor( rStyleSettings.GetLightColor() );
1199
                    SetLineColor( rStyleSettings.GetLightColor() );
1200
                } else {
1200
                } else {
1201
                    if ( !pItem->IsDefaultTabBgColor() )
1201
                    if ( !pItem->IsDefaultTabBgColor() && ! rStyleSettings.GetHighContrastMode() )
1202
                    {
1202
                    {
1203
                        SetLineColor( pItem->maTabBgColor );
1203
                        SetLineColor( pItem->maTabBgColor );
1204
                    } else {
1204
                    } else {
Lines 1232-1238 Link Here
1232
                     
1232
                     
1233
                if ( !pItem->IsDefaultTabBgColor() )
1233
                if ( !pItem->IsDefaultTabBgColor() )
1234
                {
1234
                {
1235
                    if ( pItem->mbSelect || (pItem->mnId == mnCurPageId) ) {
1235
                    if ( pItem->mbSelect || (pItem->mnId == mnCurPageId) || rStyleSettings.GetHighContrastMode() ) {
1236
                        SetLineColor( pItem->maTabBgColor );
1236
                        SetLineColor( pItem->maTabBgColor );
1237
                        DrawLine( Point(aPos1.X()-1, aPos1.Y()-1), Point(aPos2.X(), aPos2.Y()-1) );
1237
                        DrawLine( Point(aPos1.X()-1, aPos1.Y()-1), Point(aPos2.X(), aPos2.Y()-1) );
1238
                        if ( !pItem->mbEnable )
1238
                        if ( !pItem->mbEnable )

Return to issue 5560