SpectrogramLayer::Palette Class Reference

#include <SpectrogramLayer.h>

List of all members.


Detailed Description

Definition at line 267 of file SpectrogramLayer.h.

Public Member Functions

QColor getColour (unsigned char index) const
void setColour (unsigned char index, QColor colour)

Private Attributes

QColor m_colours [256]


Member Function Documentation

QColor SpectrogramLayer::Palette::getColour ( unsigned char  index  )  const [inline]

Definition at line 270 of file SpectrogramLayer.h.

References m_colours.

Referenced by SpectrogramLayer::paint(), SpectrogramLayer::paintVerticalScale(), and SpectrogramLayer::rotatePalette().

void SpectrogramLayer::Palette::setColour ( unsigned char  index,
QColor  colour 
) [inline]

Definition at line 274 of file SpectrogramLayer.h.

References m_colours.

Referenced by SpectrogramLayer::initialisePalette(), and SpectrogramLayer::rotatePalette().


Member Data Documentation

QColor SpectrogramLayer::Palette::m_colours[256] [private]

Definition at line 279 of file SpectrogramLayer.h.

Referenced by getColour(), and setColour().


The documentation for this class was generated from the following file:
Generated on Wed Feb 20 15:45:36 2008 for SonicVisualiser by  doxygen 1.5.1