mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-10-08 13:34:54 -04:00
30 lines
720 B
C#
30 lines
720 B
C#
using System;
|
|
using System.Drawing;
|
|
|
|
namespace ClassicalSharp {
|
|
|
|
public struct DrawTextArgs {
|
|
|
|
public Color TextColour;
|
|
public string Text;
|
|
|
|
public bool UseShadow;
|
|
public Color ShadowColour;
|
|
internal bool SkipPartsCheck;
|
|
|
|
public DrawTextArgs( string text, Color col, bool useShadow ) :
|
|
this( text, col, useShadow, Color.Black ) { }
|
|
|
|
public DrawTextArgs( string text, bool useShadow ) :
|
|
this( text, Color.White, useShadow, Color.Black ) { }
|
|
|
|
public DrawTextArgs( string text, Color col, bool useShadow, Color shadowCol ) {
|
|
Text = text;
|
|
TextColour = col;
|
|
UseShadow = useShadow;
|
|
ShadowColour = shadowCol;
|
|
SkipPartsCheck = false;
|
|
}
|
|
}
|
|
}
|