Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom Debugger Guide - use the paint command to define window or dialog colours. to define the http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Use the Paint command to define window or dialog colours.  To define the
colour for windows, use the following command:


     PAint [Status|<wndname>] <wndattr> <color> ON <color>

To define the colour for dialogs in the character-based version of the
debugger, use the following command:


     PAint DIalog <dlgattr> <color> ON <color>

The paint options are as follows:

<wndattr>
    allows you to define the window attributes.  You can choose from the
    following items:

    MEnu Plain
        menu text (character-based)

    MEnu STandout
        menu accelerator key (character-based)

    MEnu Disabled
        grayed menu item (character-based)

    MEnu Active
        menu item under the cursor (character-based)

    MEnu Active STandout
        menu accelerator key under the cursor (character-based)

    MEnu Frame
        frame of the menu (character-based)

    MEnu Disabled Active
        grayed menu item under the cursor (character-based)

    TItle Disabled
        a non active window's title

    Frame Active
        the frame of the active window (character-based)

    Frame Disabled
        the frame an inactive window (character-based)

    ICon
        an icon

    Plain
        normal text within a window

    Active
        window text under the cursor

    SElected
        window text being selected

    STandout
        window text the debugger wishes to highlight

    Active STandout
        window text the debugger wishes to highlight under the cursor

    BUtton
        the gadgets on the left side of a window (character-based)

<dlgattr>
    option allows you to define the dialog attributes.  The possible options
    are:

    Plain
        normal text

    Frame
        the dialog frame

    SHadow
        the shadow of a button

    BUtton Plain
        normal button text

    BUtton STandout
        button accelerator key character

    BUtton Active
        a button which has focus

    BUtton Active STandout
        button accelerator key character of a button with focus

<color>
    You can choose from the following colours:

     .  BLAck
     .  BLUe
     .  GREEn
     .  Cyan
     .  Red
     .  MAgenta
     .  BROwn
     .  White
     .  GREY
     .  GRAy
     .  BRIght BLUe
     .  BRIght GREEn
     .  BRIght Cyan
     .  BRIght Red
     .  BRIght MAgenta
     .  Yellow
     .  BRIght BROwn
     .  BRIght White


Some examples of the paint command follow:


     paint all plain black on white
     paints plain text black on white in all windows.
     paint dialog button standout bright green on yellow

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson