Documented some more files

ScreenDriver's Get methods return proper values
Server with ViewDriver now operates as well as prototype 3


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2736 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm
2003-02-17 16:24:27 +00:00
parent bfc47a9d3b
commit 7d4ea3a3a3
9 changed files with 89 additions and 11 deletions
+5 -1
View File
@@ -28,6 +28,8 @@
#include <View.h>
#include "RootLayer.h"
#include "Desktop.h"
#include "PatternHandler.h" // for pattern_union
/*!
\brief Sets up internal variables needed by the RootLayer
@@ -67,12 +69,14 @@ void RootLayer::RequestDraw(void)
{
if(!_is_dirty)
return;
pattern_union low;
low.type64=0LL;
// Redraw the base
for(int32 i=0; _invalid->CountRects();i++)
{
if(_invalid->RectAt(i).IsValid())
_driver->FillRect(_invalid->RectAt(i),_layerdata, 0LL);
_driver->FillRect(_invalid->RectAt(i),_layerdata, (int8*)low.type8);
else
break;
}