2009-11-25 19:39:18 +00:00
|
|
|
#include "inifile.h"
|
2009-11-26 10:38:37 +00:00
|
|
|
#include "colour.h"
|
2009-11-25 19:39:18 +00:00
|
|
|
|
|
|
|
class Config
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
IniFile ini;
|
|
|
|
std::string m_filename;
|
|
|
|
|
|
|
|
public:
|
|
|
|
void Read();
|
|
|
|
void Write();
|
|
|
|
|
|
|
|
int CellPadding;
|
|
|
|
int FontSize;
|
|
|
|
std::string FontFace;
|
|
|
|
|
2009-11-27 23:02:08 +00:00
|
|
|
bool UseConnections;
|
|
|
|
bool UseAliases;
|
2009-11-27 17:18:46 +00:00
|
|
|
bool LocalAliases;
|
2009-11-26 17:19:03 +00:00
|
|
|
bool SeparateByPortType;
|
2009-11-25 19:39:18 +00:00
|
|
|
bool ExpandClients;
|
|
|
|
bool ExpandGroups;
|
2009-11-26 10:38:37 +00:00
|
|
|
|
|
|
|
Colour Background;
|
|
|
|
Colour GridLinesClient;
|
|
|
|
Colour GridLinesGroup;
|
|
|
|
Colour GridLinesPort;
|
|
|
|
Colour Text;
|
|
|
|
Colour TabClient;
|
|
|
|
Colour TabGroup;
|
|
|
|
Colour TabPortAudio;
|
|
|
|
Colour TabPortMidi;
|
2009-11-25 19:39:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extern Config cfg;
|