Example #1
0
		public MainUiBlock(int _width, int _height)
			: base(new Rct(0, 0, _width, _height), null, FColor.White)
		{
			m_messages = new TurnMessageUiBlock(new Rct(Rct.Left, 0, Rct.Width, MESSAGES_HEIGHT)) {BackgroundColor = FColor.FromArgb(255, 30, 30, 30)};
			m_map = new MapUiBlock(new Rct(ContentRct.Left, m_messages.Rct.Height, Rct.Width, Rct.Height - m_messages.Rct.Height - STAT_HEIGHT));
			m_stats = new StatsBlock(new Rct(0, Rct.Bottom - STAT_HEIGHT + 1, Rct.Width, STAT_HEIGHT)) {BackgroundColor = FColor.FromArgb(255, 0, 30, 30)};
		}
Example #2
0
 public MainUiBlock(int _width, int _height)
     : base(new Rct(0, 0, _width, _height), null, FColor.White)
 {
     m_messages = new TurnMessageUiBlock(new Rct(Rct.Left, 0, Rct.Width, MESSAGES_HEIGHT))
     {
         BackgroundColor = FColor.FromArgb(255, 30, 30, 30)
     };
     m_map   = new MapUiBlock(new Rct(ContentRct.Left, m_messages.Rct.Height, Rct.Width, Rct.Height - m_messages.Rct.Height - STAT_HEIGHT));
     m_stats = new StatsBlock(new Rct(0, Rct.Bottom - STAT_HEIGHT + 1, Rct.Width, STAT_HEIGHT))
     {
         BackgroundColor = FColor.FromArgb(255, 0, 30, 30)
     };
 }
Example #3
0
		public OpenUIBlockMessage(UIBlock _block) { UIBlock = _block; }
Example #4
0
 public OpenUIBlockMessage(UIBlock _block)
 {
     UIBlock = _block;
 }