|
@@ -889,6 +889,26 @@ namespace Terminal.Gui {
|
|
|
/// </summary>
|
|
|
public abstract void CookMouse ();
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// Contains information for a console font.
|
|
|
+ /// </summary>
|
|
|
+ public class ConsoleFont {
|
|
|
+ /// <summary>
|
|
|
+ /// The name of the typeface (such as Courier or Arial).
|
|
|
+ /// </summary>
|
|
|
+ public string FaceName;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// The font weight. The weight can range from 100 to 1000, in multiples of 100. For example, the normal weight is 400, while 700 is bold.
|
|
|
+ /// </summary>
|
|
|
+ public int Weight;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// Contains the width and height of each character in the font, in logical units. The X member contains the width, while the Y member contains the height.
|
|
|
+ /// </summary>
|
|
|
+ public Size Size;
|
|
|
+ }
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// Gets the current font set for the console.
|
|
|
/// </summary>
|
|
@@ -1032,25 +1052,5 @@ namespace Terminal.Gui {
|
|
|
/// <param name="back">Background.</param>
|
|
|
/// <returns></returns>
|
|
|
public abstract Attribute MakeAttribute (Color fore, Color back);
|
|
|
-
|
|
|
- /// <summary>
|
|
|
- /// Contains information for a console font.
|
|
|
- /// </summary>
|
|
|
- public class ConsoleFont {
|
|
|
- /// <summary>
|
|
|
- /// The name of the typeface (such as Courier or Arial).
|
|
|
- /// </summary>
|
|
|
- public string FaceName;
|
|
|
-
|
|
|
- /// <summary>
|
|
|
- /// The font weight. The weight can range from 100 to 1000, in multiples of 100. For example, the normal weight is 400, while 700 is bold.
|
|
|
- /// </summary>
|
|
|
- public int Weight;
|
|
|
-
|
|
|
- /// <summary>
|
|
|
- /// Contains the width and height of each character in the font, in logical units. The X member contains the width, while the Y member contains the height.
|
|
|
- /// </summary>
|
|
|
- public Size Size;
|
|
|
- }
|
|
|
}
|
|
|
}
|