Implemented *very* basic server-side window creation code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2904 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -53,13 +53,14 @@ ServerWindow::ServerWindow(BRect rect, const char *string, uint32 wlook,
|
||||
uint32 wfeel, uint32 wflags, ServerApp *winapp, port_id winport, uint32 index)
|
||||
{
|
||||
_title=new BString;
|
||||
_title->SetTo( (string)?string:"Window" );
|
||||
if(string)
|
||||
_title->SetTo(string);
|
||||
_frame=rect;
|
||||
_flags=wflags;
|
||||
_look=wlook;
|
||||
_feel=wfeel;
|
||||
|
||||
_winborder=new WinBorder(_frame,_title->String(),0,wflags,this);
|
||||
_winborder=new WinBorder(_frame,_title->String(),wlook,wfeel,wflags,this);
|
||||
|
||||
// _sender is the monitored window's event port
|
||||
_sender=winport;
|
||||
|
||||
Reference in New Issue
Block a user