Ticket #1511 (new enhancement)

Opened 15 years ago

Last modified 4 years ago

User-defined user interface themes

Reported by: sergey-feo Owned by:
Priority: minor Milestone: Future Releases
Component: mc-skin Version: 4.7.0-pre3
Keywords: Cc: gotar@…, ales.janda@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description (last modified by andrew_b) (diff)

(Excuse me for my bad English :-) )

QT- and GTK-based programs can have "skins". Window managers can have themes.

I suggest make such feature in mc and make some default themes:
— theme without pseudographics for users that have problems with locale and use mc to solve it;
— default Borland Turbo Vision-like theme that uses only pseudographics from CP437 encoding. This pseudographics symbols can be used with many 8-bit encodings;
— enchanced theme wich uses all power of Unicode pseudographics.
In this theme we can do following replacements:
[x] → ☑ / ✓⃞ ;
[ ] → ☐ / ⃞ ;
(*) → ◉ / •⃝ ;
( ) → ○ / ⃝ ;
With Unicode we also can add "✓" to "OK" buttons and "✗" to "Cancel" buttons. It will be like pictograms. Also "⚠"/" !⃤ " and " ?⃝ " can be used as pictograms for some dialogs, "⌨" in keyboard settings. If mc somedays will use DeviceKit?-disks then "⏏" symbol can be used for ejecting media.


Regards, Sergey

Attachments

dn640_screenshots.tar (270.0 KB) - added by sergey-feo 15 years ago.

Change History

comment:1 Changed 15 years ago by slyfox

Cool. Which fonts support such stuff and how to detect it?

comment:2 follow-up: ↓ 3 Changed 15 years ago by andrew_b

  • Description modified (diff)

You still talking about TYU, not GUI?

comment:3 in reply to: ↑ 2 Changed 15 years ago by andrew_b

Replying to andrew_b:

TYU

TUI, sorry...

comment:4 Changed 15 years ago by angel_il

it's no good :)

Changed 15 years ago by sergey-feo

comment:5 follow-up: ↓ 7 Changed 15 years ago by sergey-feo

Cool. Which fonts support such stuff and how to detect it?

Unicode stuff is supported at least by DejaVu? and Liberation fonts family that presents in all major modern distros.

We should not detect what fonts terminal uses for mc. In place of it we should detect current locale and encoding used in this locale. This detection is trivial task.

You still talking about TUI, not GUI?

I still talking about TUI, yes :-)
It can be much more interesting that current.

Please look at http://en.wikipedia.org/wiki/File:Norton_Utilities_6.01_UI.png
This is real TUI, not GUI! It used its own special fonts.

I attach an tar with screenshots of DN. The TUI of this program IMHO is one of the best TUIs. One of mc themes can follow it.

comment:6 Changed 15 years ago by angel_il

attach your patches.

comment:7 in reply to: ↑ 5 ; follow-up: ↓ 8 Changed 15 years ago by andrew_b

Replying to sergey-feo:

Please look at http://en.wikipedia.org/wiki/File:Norton_Utilities_6.01_UI.png
This is real TUI, not GUI! It used its own special fonts.

I attach an tar with screenshots of DN. The TUI of this program IMHO is one of the best TUIs. One of mc themes can follow it.

How many platforms those programs are run on?

comment:8 in reply to: ↑ 7 Changed 15 years ago by angel_il

Replying to andrew_b:

Replying to sergey-feo:

Please look at http://en.wikipedia.org/wiki/File:Norton_Utilities_6.01_UI.png

How many platforms those programs are run on?

you know this :)

comment:9 Changed 15 years ago by sergey-feo

How many platforms those programs are run on?

NC 5 and NU 8 run only under DOS.
DN runs on DOS, OS/2 and in alpha stage on GNU/Linux.

Please note that application interface should not consist of minimum set of elements that available on all platforms. Many supported platforms should not mean that TUI must be primitive on all platforms.

comment:10 Changed 14 years ago by andrew_b

  • Version changed from 4.7.0-pre1 to 4.7.0-pre3
  • Component changed from mc-config-ini to mc-skin

comment:11 Changed 14 years ago by gotar

  • Cc gotar@… added

comment:12 Changed 4 years ago by kybl

  • Cc ales.janda@… added
  • Branch state set to no branch
Note: See TracTickets for help on using tickets.