mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-25 18:42:08 -05:00
40 lines
No EOL
689 B
C#
40 lines
No EOL
689 B
C#
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
|
|
#if ANDROID
|
|
using System;
|
|
|
|
namespace ClassicalSharp {
|
|
|
|
// TODO: Actually apply this to the text
|
|
public class Font : IDisposable {
|
|
|
|
public int Size;
|
|
|
|
public FontStyle Style;
|
|
|
|
public Font( string name, int size, FontStyle style ) {
|
|
Size = size;
|
|
Style = style;
|
|
}
|
|
|
|
public Font( Font font, FontStyle style ) {
|
|
Size = font.Size;
|
|
Style = style;
|
|
}
|
|
|
|
public Font( string name, int size ) {
|
|
Size = size;
|
|
Style = FontStyle.Regular;
|
|
}
|
|
|
|
public void Dispose() {
|
|
}
|
|
}
|
|
|
|
public enum FontStyle {
|
|
Regular,
|
|
Italic,
|
|
Bold,
|
|
Underline,
|
|
}
|
|
}
|
|
#endif |