Code::Blocks  SVN r11506
Classes | Public Types | Public Member Functions | Private Attributes | Friends | List of all members
ColourManager Class Reference

#include <cbcolourmanager.h>

Inheritance diagram for ColourManager:
Collaboration diagram for ColourManager:

Classes

struct  ColourDef
 

Public Types

typedef std::map< wxString, ColourDefColourDefMap
 

Public Member Functions

void Load ()
 
void Save ()
 
void RegisterColour (const wxString &category, const wxString &name, const wxString &id, const wxColour &defaultColour)
 
wxColour GetColour (const wxString &id) const
 
void SetColour (const wxString &id, const wxColour &colour)
 
const ColourDefMapGetColourDefinitions () const
 

Private Attributes

ColourDefMap m_colours
 

Friends

class Mgr< ColourManager >
 
class Manager
 

Additional Inherited Members

- Static Public Member Functions inherited from Mgr< ColourManager >
static bool Valid ()
 
static ColourManagerGet ()
 
static void Free ()
 
- Protected Member Functions inherited from Mgr< ColourManager >
 Mgr ()
 
virtual ~Mgr ()
 

Detailed Description

Definition at line 14 of file cbcolourmanager.h.

Member Typedef Documentation

◆ ColourDefMap

Definition at line 36 of file cbcolourmanager.h.

Member Function Documentation

◆ GetColour()

wxColour ColourManager::GetColour ( const wxString id) const

◆ GetColourDefinitions()

const ColourManager::ColourDefMap & ColourManager::GetColourDefinitions ( ) const

◆ Load()

void ColourManager::Load ( )

◆ RegisterColour()

void ColourManager::RegisterColour ( const wxString category,
const wxString name,
const wxString id,
const wxColour defaultColour 
)

◆ Save()

void ColourManager::Save ( )

◆ SetColour()

void ColourManager::SetColour ( const wxString id,
const wxColour colour 
)

Friends And Related Function Documentation

◆ Manager

friend class Manager
friend

Definition at line 17 of file cbcolourmanager.h.

◆ Mgr< ColourManager >

friend class Mgr< ColourManager >
friend

Definition at line 16 of file cbcolourmanager.h.

Member Data Documentation

◆ m_colours

ColourDefMap ColourManager::m_colours
private

Definition at line 40 of file cbcolourmanager.h.

Referenced by GetColour(), GetColourDefinitions(), Load(), RegisterColour(), Save(), and SetColour().


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