2011-09-30 18:15:37 +00:00
|
|
|
/**
|
|
|
|
* @file pcbnew_config.h
|
|
|
|
* @brief Cconfiguration parameters for Pcbnew.
|
|
|
|
*/
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2011-09-23 13:57:12 +00:00
|
|
|
#ifndef _PCBNEW_CONFIG_H_
|
|
|
|
#define _PCBNEW_CONFIG_H_
|
|
|
|
|
2009-03-28 20:02:34 +00:00
|
|
|
#include "param_config.h"
|
2010-01-29 20:36:12 +00:00
|
|
|
#include "colors_selection.h"
|
2009-03-28 20:02:34 +00:00
|
|
|
|
2011-09-23 13:57:12 +00:00
|
|
|
|
|
|
|
class BOARD_DESIGN_SETTINGS;
|
|
|
|
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
#define GROUP wxT( "/pcbnew" )
|
|
|
|
#define GROUPLIB wxT( "/pcbnew/libraries" )
|
|
|
|
#define GROUPCOMMON wxT( "/common" )
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2010-01-29 20:36:12 +00:00
|
|
|
/* Useful macro : */
|
|
|
|
#define LOC_COLOR(layer) &g_ColorsSettings.m_LayersColors[layer]
|
|
|
|
#define ITEM_COLOR(item_visible) &g_ColorsSettings.m_ItemsColors[item_visible]
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-11-18 12:52:19 +00:00
|
|
|
/* Configuration parameters. */
|
2010-01-31 20:01:46 +00:00
|
|
|
extern BOARD_DESIGN_SETTINGS boardDesignSettings;
|
2011-09-23 13:57:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
#endif // _PCBNEW_CONFIG_H_
|