Files
haiku-beta6/src/servers/app/OffscreenServerWindow.h
T
Axel Dörfler 85096c8acb Some cleanup:
* look/feel are now window_look/window_feel instead of int32.
* removed the level stuff, I don't think this is needed.
* some other minor stuff.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-01 12:07:28 +00:00

39 lines
989 B
C++

/*
* Copyright 2005, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Stephan Aßmus <[email protected]>
*/
#ifndef OFFSCREEN_SERVER_WINDOW_H
#define OFFSCREEN_SERVER_WINDOW_H
#include "ServerWindow.h"
class OffscreenServerWindow : public ServerWindow {
public:
OffscreenServerWindow(const char *title,
ServerApp *app,
port_id clientPort,
port_id looperPort,
int32 handlerID,
ServerBitmap* bitmap);
virtual ~OffscreenServerWindow();
// util methods.
virtual void SendMessageToClient(const BMessage* msg,
int32 target = B_NULL_TOKEN,
bool usePreferred = false) const;
virtual WindowLayer* MakeWindowLayer(BRect frame, const char* name,
window_look look, window_feel feel, uint32 flags,
uint32 workspace);
private:
ServerBitmap* fBitmap;
};
#endif // OFFSCREEN_SERVER_WINDOW_H