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:
DarkWyrm
2003-03-12 18:32:27 +00:00
parent ea4ea97733
commit c0a08539ac
3 changed files with 13 additions and 10 deletions
+3 -2
View File
@@ -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;