Ardour  9.0-pre0-582-g084a23a80d
Gdk::RgbCmap Class Reference

#include <rgbcmap.h>

Public Member Functions

virtual ~RgbCmap ()
 
 RgbCmap (const Glib::ArrayHandle< guint32 > &colors)
 
unsigned long size () const
 Number of colors. More...
 
guint32 & operator[] (unsigned long index)
 Access the colors. More...
 
const guint32 & operator[] (unsigned long index) const
 Access the colors. More...
 
GdkRgbCmapgobj ()
 Provides access to the underlying C GObject. More...
 
const GdkRgbCmapgobj () const
 Provides access to the underlying C GObject. More...
 

Protected Attributes

GdkRgbCmapgobject_
 

Private Member Functions

 RgbCmap (const RgbCmap &)
 
RgbCmapoperator= (const RgbCmap &)
 

Detailed Description

Definition at line 40 of file rgbcmap.h.

Constructor & Destructor Documentation

◆ ~RgbCmap()

virtual Gdk::RgbCmap::~RgbCmap ( )
virtual

◆ RgbCmap() [1/2]

Gdk::RgbCmap::RgbCmap ( const Glib::ArrayHandle< guint32 > &  colors)
explicit

◆ RgbCmap() [2/2]

Gdk::RgbCmap::RgbCmap ( const RgbCmap )
private

Member Function Documentation

◆ gobj() [1/2]

GdkRgbCmap* Gdk::RgbCmap::gobj ( )
inline

Provides access to the underlying C GObject.

Definition at line 69 of file rgbcmap.h.

◆ gobj() [2/2]

const GdkRgbCmap* Gdk::RgbCmap::gobj ( ) const
inline

Provides access to the underlying C GObject.

Definition at line 71 of file rgbcmap.h.

◆ operator=()

RgbCmap& Gdk::RgbCmap::operator= ( const RgbCmap )
private

◆ operator[]() [1/2]

guint32& Gdk::RgbCmap::operator[] ( unsigned long  index)

Access the colors.

◆ operator[]() [2/2]

const guint32& Gdk::RgbCmap::operator[] ( unsigned long  index) const

Access the colors.

◆ size()

unsigned long Gdk::RgbCmap::size ( ) const

Number of colors.

Member Data Documentation

◆ gobject_

GdkRgbCmap* Gdk::RgbCmap::gobject_
protected

Definition at line 74 of file rgbcmap.h.


The documentation for this class was generated from the following file: