* Use a good default "yellow" in case there is no decorator (otherwise yellow
isn't initialized, but also not really used currently). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28203 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d8383f234c
commit
4e59d9c7b4
|
@ -192,10 +192,10 @@ WorkspacesView::_DrawWindow(DrawingEngine* drawingEngine,
|
|||
&& !workspaceFrame.Intersects(tabFrame))
|
||||
return;
|
||||
|
||||
// ToDo: let decorator do this!
|
||||
rgb_color yellow;
|
||||
rgb_color yellow = (rgb_color){ 255, 203, 0, 255 };
|
||||
if (decorator != NULL)
|
||||
yellow = decorator->UIColor(B_WINDOW_TAB_COLOR);
|
||||
// TODO: let decorator do this!
|
||||
rgb_color frameColor = (rgb_color){ 180, 180, 180, 255 };
|
||||
rgb_color white = (rgb_color){ 255, 255, 255, 255 };
|
||||
|
||||
|
@ -293,7 +293,7 @@ WorkspacesView::_DrawWorkspace(DrawingEngine* drawingEngine,
|
|||
|
||||
BRegion backgroundRegion = redraw;
|
||||
|
||||
// ToDo: would be nice to get the real update region here
|
||||
// TODO: would be nice to get the real update region here
|
||||
|
||||
BRect screenFrame = _ScreenFrame(index);
|
||||
|
||||
|
|
Loading…
Reference in New Issue