diff --git a/src/apps/debugger/user_interface/gui/team_window/SourceView.cpp b/src/apps/debugger/user_interface/gui/team_window/SourceView.cpp
index 958edb3..cfbef95 100644
a
|
b
|
private:
|
184 | 184 | MarkerManager* fMarkerManager; |
185 | 185 | StackTrace* fStackTrace; |
186 | 186 | StackFrame* fStackFrame; |
| 187 | rgb_color fBackgroundColor; |
187 | 188 | rgb_color fBreakpointOptionMarker; |
188 | 189 | }; |
189 | 190 | |
… |
… |
SourceView::MarkerView::MarkerView(SourceView* sourceView, Team* team,
|
837 | 838 | fStackFrame(NULL) |
838 | 839 | { |
839 | 840 | rgb_color background = ui_color(B_PANEL_BACKGROUND_COLOR); |
840 | | fBreakpointOptionMarker = tint_color(ui_color(B_PANEL_BACKGROUND_COLOR), |
841 | | B_DARKEN_1_TINT); |
842 | | SetViewColor(tint_color(background, B_LIGHTEN_2_TINT)); |
| 841 | fBreakpointOptionMarker = tint_color(background, B_DARKEN_1_TINT); |
| 842 | fBackgroundColor = tint_color(background, B_LIGHTEN_2_TINT); |
| 843 | SetViewColor(B_TRANSPARENT_COLOR); |
843 | 844 | } |
844 | 845 | |
845 | 846 | |
… |
… |
SourceView::MarkerView::MaxSize()
|
892 | 893 | void |
893 | 894 | SourceView::MarkerView::Draw(BRect updateRect) |
894 | 895 | { |
895 | | if (fSourceCode == NULL) |
| 896 | SetLowColor(fBackgroundColor); |
| 897 | if (fSourceCode == NULL) { |
| 898 | FillRect(updateRect, B_SOLID_LOW); |
896 | 899 | return; |
| 900 | } |
897 | 901 | |
898 | 902 | // get the lines intersecting with the update rect |
899 | 903 | int32 minLine, maxLine; |
… |
… |
SourceView::MarkerView::Draw(BRect updateRect)
|
914 | 918 | bool drawBreakpointOptionMarker = true; |
915 | 919 | |
916 | 920 | SourceView::MarkerManager::Marker* marker; |
| 921 | FillRect(LineRect(line), B_SOLID_LOW); |
917 | 922 | while ((marker = markers.ItemAt(markerIndex)) != NULL |
918 | 923 | && marker->Line() == (uint32)line) { |
919 | 924 | marker->Draw(this, LineRect(line)); |