(ded4a3e0a) v0.9.0.7
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
// MonoGame - Copyright (C) The MonoGame Team
|
||||
// This file is subject to the terms and conditions defined in
|
||||
// file 'LICENSE.txt', which is part of this source code package.
|
||||
|
||||
using System;
|
||||
using Eto.Forms;
|
||||
|
||||
namespace MonoGame.Tools.Pipeline
|
||||
{
|
||||
public partial class BuildOutput : Pad
|
||||
{
|
||||
Panel panel;
|
||||
TextArea textArea;
|
||||
Scrollable scrollable;
|
||||
Drawable drawable;
|
||||
|
||||
private void InitializeComponent()
|
||||
{
|
||||
Title = "Build Output";
|
||||
|
||||
panel = new Panel();
|
||||
|
||||
textArea = new TextArea();
|
||||
textArea.Wrap = false;
|
||||
textArea.ReadOnly = true;
|
||||
|
||||
scrollable = new Scrollable();
|
||||
scrollable.BackgroundColor = DrawInfo.BackColor;
|
||||
scrollable.ExpandContentWidth = true;
|
||||
scrollable.ExpandContentHeight = true;
|
||||
drawable = new Drawable();
|
||||
scrollable.Content = drawable;
|
||||
|
||||
panel.Content = textArea;
|
||||
CreateContent(panel);
|
||||
|
||||
drawable.MouseDown += Drawable_MouseDown;
|
||||
drawable.MouseMove += Drawable_MouseMove;
|
||||
drawable.MouseLeave += Drawable_MouseLeave;
|
||||
drawable.SizeChanged += Drawable_SizeChanged;
|
||||
drawable.Paint += Drawable_Paint;
|
||||
scrollable.SizeChanged += Scrollable1_SizeChanged;
|
||||
scrollable.Scroll += Scrollable1_Scroll;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user