Logo Search packages:      
Sourcecode: rosegarden version File versions  Download package

Rosegarden::ColourMap Class Reference

#include <ColourMap.h>

List of all members.

Detailed Description

ColourMap is our table which maps the unsigned integer keys stored in segments to both a Colour and a String containing the 'name'

Definition at line 48 of file ColourMap.h.

Public Member Functions

bool addItem (Colour colour, std::string name, unsigned int id)
bool addItem (Colour colour, std::string name)
RCMap::const_iterator begin ()
 ColourMap (const Colour &input)
 ColourMap ()
bool deleteItemByIndex (unsigned int item_num)
RCMap::const_iterator end ()
Colour getColourByIndex (unsigned int item_num) const
std::string getNameByIndex (unsigned int item_num) const
bool modifyColourByIndex (unsigned int item_num, Colour colour)
bool modifyNameByIndex (unsigned int item_num, std::string name)
ColourMapoperator= (const ColourMap &input)
int size () const
bool swapItems (unsigned int item_1, unsigned int item_2)
std::string toXmlString (std::string name) const

Private Attributes

RCMap m_map

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

Generated by  Doxygen 1.6.0   Back to index