namespace BizHawk.Client.EmuHawk
{
public class RollColumn
{
public string Group { get; set; }
public int Width { get; set; }
public int Left { get; set; }
public int Right { get; set; }
public string Name { get; set; }
public string Text { get; set; }
public ColumnType Type { get; set; }
public bool Visible { get; set; } = true;
///
/// Column will be drawn with an emphasized look, if true
///
public bool Emphasis { get; set; }
///
/// Column header text will be drawn rotated, if true
///
public bool Rotatable { get; set; }
///
/// If drawn rotated, specifies the desired height, or null to auto-size
///
public int? RotatedHeight { get; set; }
///
/// Sets the desired width as appropriate for a display with no scaling. If display
/// scaling is enabled, the actual column width will be scaled accordingly.
///
public int UnscaledWidth
{
set => Width = UIHelper.ScaleX(value);
}
}
}