visual-settings

Visual Settings for MUGS-UI-TUI

Overview

Visual settings will be modifiable from the top-level Settings menu. Each setting will be represented by a slider of visual fidelity ("better" at the "end" of each line, according to bidi rules). As each slider is moved, the screen will update to reflect the new setting in a sample pattern, allowing the player to confirm that the setting will work for them.

Compatibility

Symbol Repertoire

While there are intermediate glyph repertoires and additional nuance exists, this slider represents a simplified view with only the following options:

  • ASCII - Pure ASCII printables

  • VT100 - ASCII + VT100 box drawing (Default)

  • WGL4 - Windows Glyph List 4

  • UNI1 - Unicode 1.1

The "samples" for this slider will be the icon row from the MUGS logo as represented in each character set, as follows.

ASCII:

 -----    .    __,   ._
|o   o|  / \  / * \  | \
|  o  | /   \ =_,  ) =--)>
|o   o|(_,^._) /___| |_/
 -----   /_\  [____] '

VT100 (Default):

โ”Œโ”€โ”€โ”€โ”€โ”€โ”   .   โ”Œโ”€โ”€^   โ”Œโ”€.
โ”‚o   oโ”‚  / \  / * \  โ”‚  \
โ”‚  o  โ”‚ /   \ โ””โ”€/  ) โ”ผโ”€โ”€โ”€)>
โ”‚o   oโ”‚(_,^._)โ”Œโ”ดโ”€โ”€โ”€โ”ดโ”โ”‚  /
โ””โ”€โ”€โ”€โ”€โ”€โ”˜  /_\  โ””โ”€โ”€โ”€โ”€โ”€โ”˜โ””โ”€'

WGL4:

โ”Œโ”€โ”€โ”€โ”€โ”€โ”   .   โ”Œโ”€โ”€^   โ”Œโ”€.
โ”‚โ—   โ—โ”‚  / \  / โ€ข \  โ”‚  \
โ”‚  โ—  โ”‚ /   \ โ””โ”€โ”˜  ) โ•ชโ”€โ”€โ”€)โ–บ
โ”‚โ—   โ—โ”‚(_,^._)โ”Œ/โ”€โ”€โ”€โ”ดโ”โ”‚  /
โ””โ”€โ”€โ”€โ”€โ”€โ”˜  /_\  โ””โ”€โ”€โ”€โ”€โ”€โ”˜โ””โ”€ยด

UNI1:

โ”Œโ”€โ”€โ”€โ”€โ”€โ”   โˆง   โ•ญโ”€โ”€โˆง   โ”Œโ”€.
โ”‚โ—   โ—โ”‚  โ•ฑ โ•ฒ  / โ€ข โ•ฒ  โ”‚  โ•ฒ
โ”‚  โ—  โ”‚ โ•ฑ   โ•ฒ โ•ฐโ”€โ•ฏ  ) โ•ชโ”€โ”€โ”€)โ–บ
โ”‚โ—   โ—โ”‚(_,^._)โ”Œโ•ฑโ”€โ”€โ”€โ”ดโ”โ”‚  โ•ฑ
โ””โ”€โ”€โ”€โ”€โ”€โ”˜  โ•ฑ_โ•ฒ  โ””โ”€โ”€โ”€โ”€โ”€โ”˜โ””โ”€ยด

XXXX: Idea for higher Unicodes: decompose each of the four base icons into arrays of individual Unicode icons and emoji (dice faces, card suits, chess pieces, weapons and objects).

UNI3 (Unicode 3.2):

โ”Œโ”€โ”€โ”€โ”€โ”€โ”   โ™    โ•ญโ”€โ”€โˆง   โ”Œโ”€.
โ”‚โš€   โšโ”‚  โ•ฑโ™คโ•ฒ  / โ€ข โ•ฒ  โ”‚  โ•ฒ
โ”‚  โš‚  โ”‚ โ•ฑโ™งโ™ขโ™กโ•ฒ โ•ฐโ”€โ•ฏ  ) โ•ชโ”€โ”€โ”€)โ–บ
โ”‚โšƒ   โš„โ”‚โ™ฅ_,โ™ฆ._โ™ฃโ”Œโ•ฑโ”€โ”€โ”€โ”ดโ”โ”‚  โ•ฑ
โ””โ”€โ”€โ”€โ”€โ”€โ”˜   โ˜—   โ””โ”€โ”€โ”€โ”€โ”€โ”˜โ””โ”€ยด

Color Support

It is assumed that ANSI attribute escapes are available, and that the support for additional escapes is monotonic:

  • Mono - Monochrome attributes (bold, italic, inverse, underline)

  • 4bit - 4-Bit color (8 colors + "bright" foreground variants)

  • 8bit - 8-Bit color (6x6x6 color cube + 24-value greyscale) (Default)

  • 24bit - 24-bit RGB color

Sample patterns for color support will be taken from the patterns/swatches used by Terminal::Tests.

XXXX: May need to individually check for support of mono attributes; support for these is rather spotty, unfortunately.

MUGS::UI::TUI v0.1.4

Fullscreen Terminal UI for MUGS, including App and game UIs

Authors

  • Geoffrey Broadwell

License

Artistic-2.0

Dependencies

MUGS::Core:ver<0.1.4>MUGS::Games:ver<0.1.4>Terminal::Capabilities:auth<zef:japhb>:ver<0.0.3+>Terminal::Print:auth<zef:terminal-printers>:ver<0.976+>Terminal::Widgets:auth<zef:japhb>:ver<0.1.4+>Text::MiscUtils:auth<zef:japhb>:ver<0.0.9+>

Test Dependencies

Provides

  • MUGS::App::TUI
  • MUGS::App::TUI::A11yMenu
  • MUGS::App::TUI::AvailableGames
  • MUGS::App::TUI::Icons
  • MUGS::App::TUI::MainMenu
  • MUGS::App::TUI::OptionalUI
  • MUGS::App::TUI::SettingsMenu
  • MUGS::App::TUI::TerminalMenu
  • MUGS::App::TUI::Translations::Test
  • MUGS::App::TUI::UIPrefsMenu
  • MUGS::UI::TUI
  • MUGS::UI::TUI::Game::PFX
  • MUGS::UI::TUI::Layout::PrimaryMenu
  • MUGS::UI::TUI::Layout::StandardScreen
  • MUGS::UI::TUI::Logo

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.

Built with Podlite โ€” the markup and publishing tools behind this site.