Xfce Foundation Classes
Main Page | Index | Namespace List | Alphabetical List | Class List | File List

# visual.hh File Reference

A GdkVisual C++ wrapper interface. More...

`#include <xfc/glib/object.hh>`
`#include <xfc/gdk/types.hh>`
`#include <vector>`
`#include <xfc/gdk/inline/visual.inl>`

## Namespaces

- namespace Xfc
- namespace Xfc::Gdk

## Classes

- class Xfc::Gdk::Visual
    A GdkVisual C++ wrapper class. More...

## Enumerations

- enum VisualType {
  VISUAL_STATIC_GRAY = GDK_VISUAL_STATIC_GRAY,
  VISUAL_GRAYSCALE = GDK_VISUAL_GRAYSCALE,
  VISUAL_STATIC_COLOR = GDK_VISUAL_STATIC_COLOR,
  VISUAL_PSUEDO_COLOR = GDK_VISUAL_PSEUDO_COLOR,
  VISUAL_TRUE_COLOR = GDK_VISUAL_TRUE_COLOR,
  VISUAL_DIRECT_COLOR = GDK_VISUAL_DIRECT_COLOR
  }
    A set of values that describe the manner in which the pixel values for a visual are converted into RGB values for display. More...

## Detailed Description

A GdkVisual C++ wrapper interface.

Provides Visual, an object that describes a particular video hardware display format.

## Enumeration Type Documentation

enum VisualType

A set of values that describe the manner in which the pixel values for a visual are converted into RGB values for display.

Enumeration values:

  VISUAL_STATIC_GRAY | Each pixel value indexes a grayscale value directly.
  VISUAL_GRAYSCALE | Each pixel is an index into a color map that maps pixel values into grayscale values (the color map can be changed by an application).
  VISUAL_STATIC_COLOR | Each pixel value is an index into a predefined, unmodifiable color map that maps pixel values into RGB values.
  VISUAL_PSUEDO_COLOR | Each pixel is an index into a color map that maps pixel values into rgb values (the color map can be changed by an application).
  VISUAL_TRUE_COLOR | Each pixel value directly contains red, green, and blue components (The red_mask, green_mask, and blue_mask fields of the GdkVisual structure describe how the components are assembled into a pixel value).
  VISUAL_DIRECT_COLOR | Each pixel value contains red, green, and blue components as for GDK_TRUE_COLOR, but the components are mapped via a color table into the final output table instead of being converted directly.

Xfce Foundation Classes

Copyright © 2004-2005 The XFC Development Team | XFC 4.3