Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Starbase Device Drivers Manual - Vol1: HP 9000 Series 700 Computers > Chapter 2 HP VMX Device Driver

Color

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Default Color Map

To initialize the current color map to the default values shown below, set the mode parameter of gopen to INIT when opening a depth 8 window. This is the Starbase CMAP_NORMAL mode. (To see the rest of the colors, use the inquire_color_map call to read the Starbase color table).

Table 2-2 Starbase Default Color Table

Index

Color

Red

Green

Blue

0

black

0.0

0.0

0.0

1

white

1.0

1.0

1.0

2

red

1.0

0.0

0.0

3

yellow

1.0

1.0

0.0

4

green

0.0

1.0

0.0

5

cyan

0.0

1.0

1.0

6

blue

0.0

0.0

1.0

7

magenta

1.0

0.0

1.0

8

10% gray

0.1

0.1

0.1

9

20% gray

0.2

0.2

0.2

10

30% gray

0.3

0.3

0.3

11

40% gray

0.4

0.4

0.4

12

50% gray

0.5

0.5

0.5

13

60% gray

0.6

0.6

0.6

14

70% gray

0.7

0.7

0.7

15

80% gray

0.8

0.8

0.8

16

90% gray

0.9

0.9

0.9

17

white

1.0

1.0

1.0

.
.
.

.
.
.

.
.
.

.
.
.

.
.
.

.
.
.

.
.
.

.
.
.

.
.
.

.
.
.

.
.
.

.
.
.

.
.
.

.
.
.

.
.
.

255

white

1.0

1.0

1.0

 

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1989 - 1995 Hewlett-Packard Development Company, L.P.