start a LuaText object
This commit is contained in:
parent
db98f67772
commit
b53b9f7a42
|
@ -279,6 +279,7 @@
|
|||
<DependentUpon>LuaConsole.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="tools\LuaFiles.cs" />
|
||||
<Compile Include="tools\LuaText.cs" />
|
||||
<Compile Include="tools\LuaWindow.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
//using Font = SlimDX.Direct3D9.Font;
|
||||
using System.Drawing;
|
||||
using SlimDX;
|
||||
using SlimDX.Direct3D9;
|
||||
|
||||
namespace BizHawk.MultiClient.tools
|
||||
{
|
||||
class LuaText
|
||||
{
|
||||
public int x;
|
||||
public int y;
|
||||
// public Font font;
|
||||
public Color color;
|
||||
public Color outline;
|
||||
public String message;
|
||||
private Device device;
|
||||
|
||||
public LuaText()
|
||||
{
|
||||
x = 0;
|
||||
y = 0;
|
||||
// font = new Font(device, 16, 0, FontWeight.Bold, 1, false, CharacterSet.Default, Precision.Default, FontQuality.Default, PitchAndFamily.Default | PitchAndFamily.DontCare, "Arial");
|
||||
color = Color.White;
|
||||
outline = Color.Black;
|
||||
message = "";
|
||||
}
|
||||
}
|
||||
}
|
|
@ -69,7 +69,7 @@ namespace BizHawk.MultiClient.tools
|
|||
|
||||
private void IDB_RUN_Click(object sender, EventArgs e)
|
||||
{
|
||||
LuaImp.DoLuaFile(IDT_SCRIPTFILE.Text);
|
||||
//LuaImp.DoLuaFile(IDT_SCRIPTFILE.Text);
|
||||
}
|
||||
|
||||
private void LuaWindow_Load(object sender, EventArgs e)
|
||||
|
|
Loading…
Reference in New Issue