~john-j-beard/kicad:unit_updates

Last commit made on 2017-02-10
Get this branch:
git clone -b unit_updates https://git.launchpad.net/~john-j-beard/kicad
Only John Beard can upload to this branch. If you are John Beard please log in for upload directions.

Branch merges

Branch information

Name:
unit_updates
Repository:
lp:~john-j-beard/kicad

Recent commits

f3960e8... by John Beard

Use events to manage unit changes in EDA_FRAMES

This avoids having to have a hierarchy of virtual functions - each
interested frame class can register with the SETTINGS_MANGER for
updates. This makes the inheritance interface of the EDA_FRAME classes a
little bit simpler, as each is merely a private consumer of the update
events instead.

This avoids having to call the parent class virtual function, but you do
still have to Skip() the event to allow other listeners to see it.

77ad86a... by John Beard

Update router tool menu units when changed

Make the router tool submenu listen for the user unit change event and
update acoordingly.

Fixes: lp:1485941
* https://bugs.launchpad.net/kicad/+bug/1485941

ee0f66e... by John Beard

Propagate unit change commands by events

This introduces a wxEVENT that is Post'ed when the user changes the
units. This can be used to update parts of the UI which need updating.

The event is managed by a simple class with static accessors that
wraps the global unit variable. The idea here is to separate the
management of the global units (and in future, other settings) from
the EDA_FRAME, while still allowing the EDA_FRAME to drive the unit
changes.

This way, clients of the EVT_SETTINGS_CHANGE event do not need to know
about any kind of FRAME class.

1bcbbb4... by Maciej Suminski

Fixed double menu entries in context menus

5f90c0e... by Maciej Suminski

Capitalized menu labels to follow the UI policy

060e163... by Maciej Suminski

Fixed invoking TOOL_ACTIONs in submenus

Fixes: lp:1663101
* https://bugs.launchpad.net/kicad/+bug/1663101

6dec72b... by Maciej Suminski

Added const modifier to strings in pcb_calculator xpm files

When there is no const modifier gcc warns:
warning: ISO C++11 does not allow conversion from string literal to
'char *' [-Wwritable-strings]

c9b7647... by CKO

pcb_calculator: make color code tolerance selection top aligned.

Signed-off-by: Clemens Koller <email address hidden>

0a95028... by CKO

pcb_calculator: delete obsolete sources of binary bitmaps (.pngs)

The bitmaps/*.xpm files can be edited as regular pictures
(i.e. using GIMP), so, bitmaps/sources/color_code/* don't need to be
kept as well.

Fixes: lp:1005383

Signed-off-by: Clemens Koller <email address hidden>

1161a23... by CKO

pcb_calculator: Cleanup color code bitmaps and remove Ohm sign.

Fixes: lp:1005383

Signed-off-by: Clemens Koller <email address hidden>