mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-26 19:12:07 -05:00
40 lines
No EOL
629 B
C#
40 lines
No EOL
629 B
C#
// Copyright 2014-2017 ClassicalSharp | Licensed under BSD-3
|
|
#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 |