Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » KiCAD
  • » [Kicad-developers] eeschema colors [RSS Feed]

#1 Dec. 20, 2010 08:52:47

Lorenzo M.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[Kicad-developers] eeschema colors


A minipatch fixing a bug I found while investigating a (probably
invalid) plotting bug.The eeschema color configuration dialog didn't contain the'sheet label' color option (and got set to 0 --- not very good for whouses a black background). Also the grid color wasn't persisted in the
.eeschema file.

Sadly the grid color isn't actually set in eeschema... there is some
machinery in WinEDA_DrawFrame::LoadSettings() but I have no idea if it's
live or what (maybe it just need to be called)


--
Lorenzo Marcantonio
Logos Srl=== modified file 'eeschema/dialogs/dialog_color_config.cpp'
--- eeschema/dialogs/dialog_color_config.cpp 2010-12-02 21:41:56 +0000
+++ eeschema/dialogs/dialog_color_config.cpp 2010-12-20 08:38:47 +0000
@@ -45,6 +45,7 @@
{ _( "Sheet" ), LAYER_SHEET },
{ _( "Sheet file name" ), LAYER_SHEETFILENAME },
{ _( "Sheet name" ), LAYER_SHEETNAME },
+ { _( "Sheet label" ), LAYER_SHEETLABEL },
{ _( "Hierarchical label" ), LAYER_HIERLABEL },
{ wxT( "" ), -1 } // Sentinel marking end of
list.
};

=== modified file 'eeschema/eeschema_config.cpp'
--- eeschema/eeschema_config.cpp 2010-12-08 20:12:46 +0000
+++ eeschema/eeschema_config.cpp 2010-12-20 08:40:10 +0000
@@ -534,6 +534,9 @@
m_configSettings.push_back( new PARAM_CFG_SETCOLOR( true, wxT( "ColorErcE"
),

&g_LayerDescr.LayerColor,
RED ) );
+ m_configSettings.push_back( new PARAM_CFG_SETCOLOR( true, wxT( "ColorGrid"
),
+
&g_LayerDescr.LayerColor,
+ DARKGRAY ) );
m_configSettings.push_back( new PARAM_CFG_BOOL( true, wxT(
"PrintMonochrome" ),
&m_printMonochrome,
true ) );
m_configSettings.push_back( new PARAM_CFG_BOOL( true, wxT(
"PrintSheetReferenceAndTitleBlock" ),_______________________________________________
Mailing list:https://launchpad.net/~kicad-developersPost to : kicad-developers@lists.launchpad.net
Unsubscribe :https://launchpad.net/~kicad-developersMore help :https://help.launchpad.net/ListHelp

Offline

#2 Dec. 20, 2010 16:47:08

Wayne S.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[Kicad-developers] eeschema colors


Lorenzo,

I applied this patch (BZR 2671) with some minor changes to make the grid color
update properly. We were once again bit by a global variable. When you get a
chance, please confirm that the grid color updates correctly.

Thanks,

Wayne

On 12/20/2010 3:52 AM, Lorenzo Marcantonio wrote:
> A minipatch fixing a bug I found while investigating a (probably
> invalid) plotting bug.
>
> The eeschema color configuration dialog didn't contain the 'sheet label' color
> option (and got set to 0 --- not very good for who
> uses a black background). Also the grid color wasn't persisted in the
> .eeschema file.
>
> Sadly the grid color isn't actually set in eeschema... there is some
> machinery in WinEDA_DrawFrame::LoadSettings() but I have no idea if it's
> live or what (maybe it just need to be called)
>
>
>
>
> _______________________________________________
> Mailing list:https://launchpad.net/~kicad-developers> Post to : kicad-develop***@*ists.launchpad.net
> Unsubscribe :https://launchpad.net/~kicad-developers> More help :https://help.launchpad.net/ListHelp_______________________________________________
Mailing list:https://launchpad.net/~kicad-developersPost to : kicad-developers@lists.launchpad.net
Unsubscribe :https://launchpad.net/~kicad-developersMore help :https://help.launchpad.net/ListHelp

Offline

  • Root
  • » KiCAD
  • » [Kicad-developers] eeschema colors [RSS Feed]

Board footer

Moderator control

Enjoy the 21st of August
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support