Commit Graph

51 Commits

Author SHA1 Message Date
Andrew Borodin
e5e0a77bc9 Ticket #3050: don't use bright colors as background ones.
Only following colors can be used in 16-color skins:
black, red, green, brown, blue, magenta, cyan, lightgray.

Following colors are replaced in 16-color skins:

white -> lightgray
yellow -> brown
brightgreen -> green

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-10-17 09:28:19 +04:00
Andrew Borodin
97e37308b9 Ticket #2737: set of 256-color skins from Oliver Lange <modarin@bloody.in-berlin.de>.
modarin256: a moderate-dark-independent 256-color skin for Midnight Commander.

This skin is using colors independent from the default 16 terminal colors,
i.e., no matter how the 16 standard colors are configured, the appearance
of Midnight Commander will not be affected.

There are 4 variants of this skin:

modarin256
  - default skin, no standard colors used.

modarin256-defbg
  - like modarin256, but using the default background color for core, editor,
    viewer, menu and popupmenu backgrounds, for use with (semi-)transparent
    background colors.

modarin256root
modarin256root-defbg
  - like the other two skins, but for the root user, with red colors used
    instead of green colors for things like select/focus/statusbar etc.,
    to keep reminding the user that mc is running as root.

Fallback skins for 16-color terminals (poor man's skins):

modarcon16
modarcon16-defbg
modarcon16root
modarcon16root-defbg
  - like everything running in a 16-color terminal, these skins look ugly
    and are no subsitute for the 256-color versions. As some terminals don't
    support using dark gray as background color, i used a black background
    and adjusted the remaining colors accordingly.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-06-17 13:53:14 +04:00
Andrew Borodin
ba79784948 Add icons to close window and toggle window state using mouse.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:26:10 +04:00
Andrew Borodin
4fa4e7568d Skin support for window frames.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:26:10 +04:00
Egmont Koblinger
75febfe7c7 Ticket #2807: incomplete sand256 skin.
When using the sand256 skin, selected element is not highlighted in
pop-up menus.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-05-13 14:39:11 +04:00
Ilia Maslakov
0a192e51c7 added scroll indication
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-02-21 22:20:27 +04:00
Egmont Koblinger
14973a6b02 Ticket #2640: sand256 skin update
Seems that the previous patch was incomplete. Especially the "Delete file?" dialog
sucks because the colors of the Yes and No buttons are the same, it's only the mouse
cursor that shows which one is active.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-11-08 10:46:31 +03:00
Egmont Koblinger
57de35ceb7 Ticket #2640: sand256 skin update.
When reorganizing skins, two values in the sand256 skin got lost: the
header is boring black instead of interesting red, and the header in
viewer/editor is not highlighted.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-10-23 10:45:53 +04:00
Egmont Koblinger
0ab3044665 Ticket #2641: URL inside the xoria256 skin definition file is obviously broken.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-10-23 10:38:35 +04:00
Jan Engelhardt
d78cbcac15 Ticket #2524: added mc-4.6 skin.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-04-09 18:20:36 +04:00
Lee Bigelow
15458a0ff5 Ticket #1791: a nice dark skin created by Lee Bigelow (update)
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2011-02-20 23:57:20 +01:00
Slava Zanko
2712ec2ca8 Changes for respect new 'HARDLINK' highlight type.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-02-18 15:20:34 +02:00
Slava Zanko
5b167ccc9e fail back to standard skin if 256-colors skin used on non256 colors terminal
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-01-24 15:46:10 +02:00
Slava Zanko
4e02246c6f skin xoria256.ini: changed version requirements
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-01-13 11:28:36 +02:00
Alexander Glyzov
331a7c1711 Added 'Xoria256' skin.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-01-12 14:29:44 +02:00
Andrew Borodin
90de8381e4 Added dark skin to the list of skins.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-01-11 14:25:49 +03:00
Andrew Borodin
da2c82e8d3 Ticket #2170: color of panel header cannot be set in the command line
...using --colors option.

Grammar in default skin description.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-12-29 13:58:28 +03:00
Egmont Koblinger
6582b89c63 Added skin for demonstrate how to use 256 colors in mc
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-12-29 12:04:56 +02:00
Ilia Maslakov
5267c9dcc3 added new skin 'dark'
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-04 11:45:03 +00:00
Andrew Borodin
380d9bd885 Ticket #2171: colors for popup menu:
... for menu items, selected menu item and for menu title.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-12-02 09:55:59 +03:00
Andrew Borodin
3e7d76eb13 Ticket #2197: added new color for status bar
...and added missed colors for button bar.

Updated EN and RU man pages.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-22 16:07:17 +03:00
Egmont Koblinger
aa9cb6d320 Ticket #2170: Color collisions
Midnight Commander's color/skin engine often reuses the same color definition for multiple elements on the UI.
This unnecessarily limits the possibilities when playing with colors.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-13 13:21:10 +03:00
Andres Farfan
18322a0121 fixed skin - darkfar.ini
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-07-18 07:57:03 +00:00
Andrew Borodin
298e83f40b Added color for disabled widget.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-17 15:27:21 +04:00
Ilia Maslakov
a4e4378861 initial step to do mark in inpun fields
added selection with mouse

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>

    Code cleanup: make visibility of some functions as static

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>

fixed skins

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-05-27 22:26:59 +03:00
Tomasz Pala
7dc6d62d4a Ticket #2179: gotar.ini update
Update the skin after the advent of mcdiff.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-05-06 15:13:35 +02:00
Ilia Maslakov
329ef3846a Ticket #120 (View diff files)
added src/diffviewer/ydiff.[ch] into project tree
    added entry 'View diff files' into 'Command' menu
    added 'diffviewer' color pairs
    fixed Makefile and configure.am
    added new binding CmdDiffView into '[main]' section
    Big thanx to 'Daniel Borca <dborca@yahoo.com>' for ydiff

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>

    Added diffviewer own library

Signed-off-by: Slava Zanko <slavazanko@gmail.com>

    Fixed CFLAGS for diffviewer.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>

    changed skins, added section
        [diffviewer]
            added=
            changedline=
            changednew=
            changed=
            removed=
            folder=
            error=

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>

Reimplementation of hardcoded shortcuts to keybindings.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-26 11:44:15 +04:00
Andrew Borodin
c0c744ba08 Ticket #1660: color keyword names unification.
Changed name of following color keywords:

menu -> menunormal
linestate -> editlinestate

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-22 16:09:52 +04:00
Andrew Borodin
4e57b599cc Renamed frame symbol names.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-06 10:30:58 +04:00
Sergei E. Ovsyannikov
d8fb069e85 Ticket #1648: implemented single-line boxes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-06 10:30:58 +04:00
Andrew Borodin
4e44d4f7ce Ticket #1791: a nice dark skin created by Lee Bigelow.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-03 13:54:18 +00:00
Andrew Borodin
492ccbe0ee Ticket #1999: changed color of inactive visible main menu.
Added 'menuinactive' skin item to draw incative visible
main menu.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-23 19:01:56 +03:00
Serhiy Storchaka
633dd8153b Ticket #1995: Indicating sort order
In "featured" skin sorting order from up to down indicated by arrow «↑» (up),
and vica verse reversed order from down to up indicated by arrow «↓» (down).
This is contrintuitive and contradicts to behavior of other programs
(file managers, mail clients, etc).

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-09 12:30:05 +02:00
Ilia Maslakov
1da2c4113f Ticket #1559 (Search results highlighting in mcedit is too subtle)
changed default color pair for 'editbold' for more sensible.

    original issue:
    "It's a bit tricky to *search results of a search* in mcedit when default blue background is set.
    Default colour for search results highlighting should be probably changed to something more sensible;
    to my mind orange or red would be OK."

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-01-21 16:15:49 +03:00
Ilia Maslakov
c3755f0c50 added keybind CK_Toggle_Show_Margin for toggle show right margin (with empty default key)
added new color pair for right margin (editrightmargin) into skins

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-01-06 14:31:40 +03:00
Ilia Maslakov
5203d6739d Ticket #1514 (show right margin)
* added new color pair EDITOR_RIGHT_MARGIN_COLOR
    * show right margin. Used EDITOR_RIGHT_MARGIN_COLOR color for drawing text beyond rigth edge.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-01-06 14:26:01 +03:00
Tomasz Pala
2e97cf7fb7 Ticket #1659: Darker color style
Some fixies for skin.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-27 09:45:01 +02:00
Slava Zanko
742eae18d2 Ticket #1703: SKIN: Make own colorpairs for buttonbar widget
Now buttonbar have own colorpairs:

[buttonbar]
    hotkey=red;black
    button=yellow;cyan

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-28 17:50:46 +02:00
Ilia Maslakov
ca79091215 added skin 'Dark FAR' darkfar.ini
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-10-28 08:28:54 +00:00
Tomasz Pala
6d5cccc623 Ticket #1659: Darker color style (gotar.ini)
This is raw commit into master.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-27 22:45:34 +02:00
Ilia Maslakov
cb5836c2e0 Ticket #1667: Hardcoded colours
Problem:
BOOK_MARK_COLOR and BOOK_MARK_FOUND_COLOR are hardcoded
in edit/edit-widget.h and so cannot be changed via skin.

Solution:
Now these colors will configure via skin-file. Like:

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-10-24 16:42:04 +03:00
Slava Zanko
8fe4dc26c2 Cosmetic changes of panel interfase (relative to history list):
* Panel widget: History list button  changed  from v to [^]
 * Change drawing of history control elements for panel. Now if panel is active, show in reverse color just panel path.
 * Add reaction on mouse click on [] chars at top of panel
 * Added call of repaint_screen() function for correctly show panels content after click by mouse on 'hidden files' indicator.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-15 14:51:30 +03:00
Slava Zanko
d11de35343 Ticket #1716: Adding fully featured skin
As David Martin proposed, this skin support all newest features
May be used as modern skin, but with some restrictions (must be UTF-8 system codepage)

Also, changed src/screen.c for demonstrate skin features :)

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-15 14:51:16 +03:00
Slava Zanko
08e6e1caf4 Added indicators for current sort type and sort direction.
Added parameters into skin-files for showing sort indicator.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-06 10:18:55 +03:00
Slava Zanko
21d339c5be misc/skins/Makefile.am: Add skin files into EXTRA_DIST list.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-22 16:27:39 +03:00
Andrew Borodin
3f4b0ee311 Fixed menu colors for BW mode.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-22 16:27:38 +03:00
Slava Zanko
bf55805409 Added Russian and English docs for skins.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-18 11:57:35 +03:00
Slava Zanko
bdfc9adf39 Continue development of skins
* Remove highlight of hidden filenames.
 * Fixed colors with ncurses screen library
 * Fix lines drawing with ncurses screen library.
 * Fix drawing of lines in slang with non-utf codepages.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>

 * Code cleanup.
 * Code cleanup, refactoring and optimization.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-18 11:56:12 +03:00
Slava Zanko
2216332c0c continue develop of skins.
* Compile with option --with-screen=ncurses
 * Added default init of colors (if color description is null)
 * Renamed some color pairs. All static color pairs now cached.
 * Fix cursor show in panel over selected files in b&w color scheme.
 * Fix editor highlight
 * Handle old-style colors definitions.
 * Fix showing box lines in onebyte codepages.
 * Fix segfault with:
 * mc -C 'menu=blue,white:'
 * Fix reading of color backgrounds from old-style color definition strings.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>

 * Fixed typos.
 * Added ACS_PLUS char and related stuff.
 * Changed order of colors.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>

 * Fixed pseudo-graphics drawing for S-Lang library and 8-bit locale.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-18 11:54:20 +03:00
Slava Zanko
d0457bbe9f Add hardcoded skins.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-18 11:49:44 +03:00