(ddd.info)Using Data Themes


Next: Applying Data Themes to Several Values Up: Customizing Displays
Enter node , (file) or (file)node

7.3.5.1 Using Data Themes
.........................

DDD provides a simple method to customize displays.  DDD comes with a
number of _visual modifiers_, called _data themes_.

   Each theme modifies a particular aspect of a data display.  It can be
applied to individual displays or to a number of displays.  The themes
installed with DDD include:

`Small Titles'
     If enabled, display titles in a smaller font.

`Small Values'
     Apply this theme to display values in a smaller font.

`Tiny Values'
     If enabled, display values in a tiny font.  This could be combined
     with a pattern like `*\[*\]' to make all array members tiny.
     Apply this theme to display values in a tiny font.

`Suppress Values'
     If enabled, the given value will be suppressed.  This should be
     combined with a pattern like `*->X' to suppress all members named
     `X'.  Apply this theme to display values not at all.

`Red Background'
     Use this with a self-defined button associated with the command
     `graph apply red.vsl "()"'

`Red nil pointers'
     If enabled, show nil pointers in red.

`Green background'
     Use this with a self-defined button associated with the command
     `graph apply green.vsl "()"'.

`Intel x86 flag bits and registers'
     To use this theme, set up some data buttons like this:

             Ddd*dataButtons: \
             graph display ($eflags & 1) != 0 // c\n\
             graph display ($eflags & 64) != 0 // z\n\
             graph display ($eflags & 128) != 0 // s\n\
             graph display ($eflags & 1024) != 0 // d\n\
             graph display ($eflags & 2048) != 0 // o\n\
             graph display $eax & 255 // al\n\
             graph display $eax >> 8 & 255 // ah\n\
             graph display $eax & 65535 // ax\n\
             graph display $ebx & 255 // bl\n\
             graph display $ebx >> 8 & 255 // bh\n\
             graph display $ebx & 65535 // bx\n\
             graph display $ecx & 255 // cl\n\
             graph display $ecx >> 8 & 255 // ch\n\
             graph display $ecx & 65535 // cx\n\
             graph display $edx & 255 // dl\n\
             graph display $edx >> 8 & 255 // dh\n\
             graph display $edx & 65535 // dx

     Whenever the these displays is shown, the title will be replaced
     by a more intuitive title like "carry", or "zero" for one of the
     flag bits and "al" "ax", etc. for one of the registers.


   Each of these themes can be applied for specific displays.

   To apply a theme on a display,
  1. Press _mouse button 3_ on the display.

  2. Select `Theme'

  3. Select the theme to apply.

   For instance, to display the variable `s' in a tiny font, click
_mouse button 3_ on the display of `s', and select `Theme => Tiny
Values => Apply'.

   To unapply a theme, just click on `Undo' (if you just applied it) or
repeat the sequence as above.


automatically generated by info2www version 1.2.2.9