mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
* initial * basically working * removed test settings * removed extra usings * Improved API docs * Renamed glyphs to be consistent and use unicode names; use char literals * Refactored Glyphs class & Json format to not be static (startup perf) * Refactored Glyphs class & Json format to not be static (startup perf) * Fixed a bunch of API doc errors * Switched checked/selected to glyhps from box drawing range * Switched button glyphs to nicer looking ones that seem to work on standard fonts * Upgraded LineDrawing scenario * CrossHair->Cross * Fixed unit tests * Fixed unit tests; moved Glyphs from Application to ConfigurationManager; added CM global using alias * Found and replaced all other special glyphs; fixed more unit tests
This commit is contained in:
@@ -131,7 +131,7 @@ namespace Terminal.Gui {
|
||||
Driver.SetAttribute (current);
|
||||
}
|
||||
if (AllowsMarking) {
|
||||
Driver.AddRune (Source.IsMarked (item) ? (AllowsMultipleSelection ? Driver.Checked : Driver.Selected) : (AllowsMultipleSelection ? Driver.UnChecked : Driver.UnSelected));
|
||||
Driver.AddRune (Source.IsMarked (item) ? (AllowsMultipleSelection ? CM.Glyphs.Checked : CM.Glyphs.Selected) : (AllowsMultipleSelection ? CM.Glyphs.UnChecked : CM.Glyphs.UnSelected));
|
||||
Driver.AddRune (' ');
|
||||
}
|
||||
Source.Render (this, Driver, isSelected, item, col, row, f.Width - col, start);
|
||||
@@ -544,7 +544,7 @@ namespace Terminal.Gui {
|
||||
|
||||
Driver.SetAttribute (ColorScheme.Focus);
|
||||
Move (Bounds.Right - 1, 0);
|
||||
Driver.AddRune (Driver.DownArrow);
|
||||
Driver.AddRune (CM.Glyphs.DownArrow);
|
||||
}
|
||||
|
||||
///<inheritdoc/>
|
||||
|
||||
Reference in New Issue
Block a user