On Tue, 2002-03-12 at 18:56, Richard Sharpe wrote:
> Hi,
> 
> I want to add an item to a tree like the following:
> 
>     DataSegmentLength: 0x00000670 (Decimal equivalent)
> 
> At the moment, I have to add a text item and format the string myself. It 
> would be really nice if the FT structures could do this for us :-)
> 
> Since it might be hard to modify the actual formatted text stuff, perhaps 
> it would be simple to allow additional text on a special call like:
> proto_tree_add_append_uint(..., "(formatting string)", ...)
> 
> Or, am I simply getting too lazy?
> 
> "I weep for you the walrus said,
>       I deeply sympathize"
> 

Is your filed an FT_UINT* ? What would be nice would be to add
some bases, like BASE_HEX_DEC, or BASE_DEC_HEX, to have it
formatted in both bases.

--gilbert



Reply via email to