Ethereal-dev: RE: [Ethereal-dev] how to set color or bold to text in the protocoltree window

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Vladimir Zherdenovsky" <Vladimir.Zherdenovsky@xxxxxxxxxxxxxx>
Date: Sun, 21 Aug 2005 13:30:30 +0300
I want to separate the protocol tree item name from its value. It will
be fine use the bold font or set the color.
Its will help to people, using the ethereal as analyzer, see the name
and values. Because now its looks too gray and monotone.

-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx] On Behalf Of Guy Harris
Sent: Sunday, August 21, 2005 12:51 PM
To: Ethereal development
Subject: Re: [Ethereal-dev] how to set color or bold to text in the
protocoltree window

Vladimir Zherdenovsky wrote:
> Is it possible to set color or change font (bold) to text in the
> protocol tree window?
> Please see the attached picture for example
> How I can do it in my dissector?

Given that dissectors run as part of Tethereal, they include no GUI 
code, and thus don't know about colors or fonts.

What is the purpose of setting the color?  Is there some particular 
characteristic of a protocol tree item you want to indicate?  If so, we 
could add an API to set a characteristic on a protocol tree item, and 
have that protocol item, when displayed in Ethereal, be displayed with, 
for example, a given font or color (either hardwired into Ethereal, or 
configurable by the user as a preference item).

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev