Changeset [39dc0ce6e74d] by hsoft

September 24th, 2012 @ 05:55 AM

[#339] Merged the two pie charts in networth and profit view.

This one pie chart per view now manages the double-pie drawing logic. This lead to a lot of simplification on the Cocoa side, but it also required a lot of changes in the chart printing logic because the old logic of painting the view directly in the print view wouldn't work (it relied on NSView copying, which can't work since the drawing is now made in the core and that copying a view in Cocoa doesn't result in copying a chart in the core).
https://bitbucket.org/hsoft/moneyguru/changeset/39dc0ce6e74d/

Committed by hsoft

  • M cocoa/controllers/MGAccountSheetView.h
  • M cocoa/controllers/MGAccountSheetView.m
  • M cocoa/controllers/MGChart.h
  • M cocoa/controllers/MGChart.m
  • M cocoa/controllers/networth/MGNetWorthView.h
  • M cocoa/controllers/networth/MGNetWorthView.m
  • M cocoa/controllers/profit/MGIncomeStatement.h
  • M cocoa/controllers/profit/MGProfitView.h
  • M cocoa/controllers/profit/MGProfitView.m
  • M cocoa/mg_cocoa.py
  • M cocoa/print/MGEntryPrint.h
  • M cocoa/print/MGEntryPrint.m
  • M cocoa/print/MGSheetPrint.h
  • M cocoa/print/MGSheetPrint.m
  • M cocoa/support/MGChartView.m
  • M cocoa/ui/account_sheet_view.py
  • M cocoa/wscript
  • M core/gui/account_pie_chart.py
  • M core/gui/networth_view.py
  • M core/gui/pie_chart.py
  • M core/gui/profit_view.py
  • M core/tests/base.py
  • M core/tests/gui/account_pie_chart_test.py
  • M core/tests/gui/gui_calls_test.py
  • M qt/controller/networth/view.py
  • M qt/controller/profit/view.py
  • D cocoa/controllers/MGPieChart.h
  • D cocoa/controllers/MGPieChart.m
  • D cocoa/support/MGDoubleView.h
  • D cocoa/support/MGDoubleView.m
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins