implemented BInputServerFilter::GetScreenRegion. Tested with R5 screen_saver filter successfully.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9225 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -165,7 +165,8 @@ public:
|
||||
static BLocker gInputMethodListLocker;
|
||||
|
||||
static DeviceManager gDeviceManager;
|
||||
|
||||
|
||||
BRect& ScreenFrame() { return fFrame;};
|
||||
private:
|
||||
status_t LoadKeymap();
|
||||
status_t LoadSystemKeymap();
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
/*****************************************************************************/
|
||||
|
||||
|
||||
#include <Region.h>
|
||||
#include <InputServerFilter.h>
|
||||
#include "InputServer.h"
|
||||
|
||||
@@ -61,7 +62,7 @@ status_t
|
||||
BInputServerFilter::InitCheck()
|
||||
{
|
||||
CALLED();
|
||||
return B_OK;
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -74,7 +75,7 @@ BInputServerFilter::Filter(BMessage *message,
|
||||
BList *outList)
|
||||
{
|
||||
CALLED();
|
||||
return B_DISPATCH_MESSAGE;
|
||||
return B_DISPATCH_MESSAGE;
|
||||
}
|
||||
|
||||
|
||||
@@ -85,9 +86,11 @@ BInputServerFilter::Filter(BMessage *message,
|
||||
status_t
|
||||
BInputServerFilter::GetScreenRegion(BRegion *region) const
|
||||
{
|
||||
status_t dummy;
|
||||
if (!region)
|
||||
return B_BAD_VALUE;
|
||||
|
||||
return dummy;
|
||||
*region = BRegion(((InputServer*)be_app)->ScreenFrame());
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user