//
//  A T2 test game: 
//  		top aligned banner 
// 		status line mode
//			sized to contents
//

#include <adv.t>
#include <std.t>

startroom: room
   sdesc = "XTads T2 banner test"
   ldesc = "Should show a top aligned status line"
	statusLine =
		{
		"<banner id=StatusLine height=20 align=top> <body bgcolor=black";
		" ";
		"text=white><b></i></banner>";
		
		/*
		"<banner id=StatusLine height=previous> <body bgcolor=black";
		" ";
		"text=white><b><B>Court of Honor, In Front of Terminal Station</B></b><tab";
		" ";
		"align=right><i>Monday 10:00 a.m.  </i></banner>";
		*/
		
		/*
		"<banner id=custStatusLine height=previous>
		<b>";
		self.statusRoot;
		//"</b><tab align=right><i>";
		"<tab align=right><i>";
		say(global.score); "/";
		say(global.turnsofar); " ";
		//"</i></banner>";
		"</banner>";
		*/
		}
;

replace commonInit: function
{
    // turn on html mode
    "\H+";
}
