unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
Cc: bob@rattlesnake.com, Luc Teirlinck <teirllm@dms.auburn.edu>,
	emacs-devel@gnu.org
Subject: Re: Changing the no-toolkit scrollbar thumb color. (minor issue)
Date: Sat, 04 Oct 2003 20:36:51 +0200	[thread overview]
Message-ID: <3F7F1343.2020208@swipnet.se> (raw)
In-Reply-To: <E1A4R3V-0002k6-2F@fencepost.gnu.org>

Richard Stallman wrote:
>        This would be documenting the bug.  That would be an improovement, but
>        what we really should do if at all feasible is fix the bug.  This face
>        should have its special effect for all toolkits.
> 
>     The _same_ special effect?
> 
> Yes, to the extent it makes sense.
> 
>     Native scrollbar:
> 
>     Has a thumb and a trough.  Thumb is blue, trough is red.  Wonderful.
> 
>     Xaw3d scrollbar:  The default scroll bar.
> 
>     Has a thumb and a trough.  Both are red.  :foreground does not seem to
>     have any effect on anything.  
> 
>     Is this a bug or is it quite simply not possible to give both
>     different colors?
> 
> That's a bug.
> 
>     Motif:
> 
>     Has a thumb, a trough and two arrows.  Thumb and arrows are red.  Color
>     of trough is still the same old grey. :foreground does not seem to
>     have any effect on anything. 
> 
> That's a bug.

This is possible to fix in Emacs.  The trough can be set in Motif.

> 
>     Only one of the four I did not try out myself, but Bob tried it and
>     found that it had no effect whatsoever.  things do not seem easy,
>     however.
> 
> That's a bug.

Yes, but where?  It may be a bug that Emacs gives the impression that this can 
be changed, or it may be a limitation in the theme used, for not letting the 
user change things.  It can also be a limitation in GTK itself.  Some 
customizations possible to do in GTK can lead to things being drawn 
incorrectly, this happens for scrollbars with pixmaps.

Maybe we should go the "official" GTK way and tell people to use themes for 
cuatomizations?


> 
>     {
>       fg[NORMAL] = "red"     # The arrow color.
>       bg[NORMAL] = "yellow"  # The thumb and background around the arrow.
>       bg[ACTIVE] = "blue"    # The trough color.
>       bg[PRELIGHT] = "white" # The thumb color when the mouse is over it.
>     }
> 
>     Those are four colors to customize.  If we want full customizability
>     through Custom, we would have to allow the user to specify four
>     colors.
> 
> Maybe we want two or three faces to specify all these colors.

What sould those faces mean in other toolkits?  This still will not change the 
fact that pixmap based themes may not use these colours.

	Jan D.

  reply	other threads:[~2003-10-04 18:36 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-26 20:13 Changing the no-toolkit scrollbar thumb color. (minor issue) Rob Browning
2003-09-26 21:23 ` Luc Teirlinck
2003-09-26 21:32   ` Rob Browning
2003-09-27 18:16   ` Robert J. Chassell
2003-09-27 21:55     ` Luc Teirlinck
2003-09-28 13:08       ` Robert J. Chassell
2003-09-28 16:38         ` Jan D.
2003-09-28 21:17           ` Robert J. Chassell
2003-09-29 16:01             ` Jan D.
2003-09-29 19:05               ` Robert J. Chassell
2003-09-29 19:23                 ` Jan D.
2003-09-28 16:42         ` Luc Teirlinck
2003-09-28 18:01           ` Luc Teirlinck
2003-09-28 21:38             ` Robert J. Chassell
2003-09-28 23:47               ` Luc Teirlinck
2003-09-29  0:52                 ` Robert J. Chassell
2003-09-29  1:30                   ` Luc Teirlinck
2003-09-29 11:58                     ` Robert J. Chassell
2003-09-30 12:22                       ` Richard Stallman
2003-09-29 19:31               ` Richard Stallman
2003-09-30  0:11                 ` Luc Teirlinck
2003-09-30 13:55                   ` Stefan Monnier
2003-09-30 14:25                     ` Miles Bader
2003-09-30 15:16                       ` Stefan Monnier
2003-10-04 18:29                     ` Jan D.
2003-09-30 20:25                   ` Richard Stallman
2003-10-04 18:36                     ` Jan D. [this message]
2003-10-05  3:24                       ` Richard Stallman
2003-10-05 17:56                       ` Luc Teirlinck
2003-10-05 18:12                         ` Jan D.
2003-10-05 18:27                           ` Luc Teirlinck
2003-10-05 19:16                             ` Luc Teirlinck
2003-10-05 20:57                             ` Jan D.
2003-10-05 22:09                               ` Luc Teirlinck
2003-10-06  0:14                                 ` Miles Bader
2003-10-06  2:22                         ` Miles Bader
2003-10-06  4:15                           ` Luc Teirlinck
2003-10-06  4:34                             ` Luc Teirlinck
2003-10-12 15:04                               ` Jan D.
2003-09-30  0:27                 ` Robert J. Chassell
2003-09-30 20:24                   ` Richard Stallman
2003-10-01  0:35                   ` Danilo Segan
2003-10-04  0:35                     ` Robert J. Chassell
2003-10-04 18:55                       ` Jan D.
2003-10-04 18:43                     ` Jan D.
2003-10-04 19:35                       ` Danilo Segan
2003-10-04 18:11                   ` Jan D.
2003-10-05  0:25                     ` Miles Bader
2003-10-05  7:23                       ` Jan D.
2003-10-05  7:59                         ` Miles Bader
2003-09-28 21:25           ` Robert J. Chassell
2003-09-28 17:37     ` Luc Teirlinck
2003-09-28 21:33       ` Robert J. Chassell
2003-09-28 22:03         ` Luc Teirlinck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F7F1343.2020208@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=bob@rattlesnake.com \
    --cc=emacs-devel@gnu.org \
    --cc=teirllm@dms.auburn.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).