diff options
author | John Wiegley <johnw@newartisans.com> | 2009-06-16 16:57:10 +0100 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-06-16 16:57:10 +0100 |
commit | 298a4faef371cae8f308c0b729a1a34ea7aa927c (patch) | |
tree | 277f3125c4e03f7c80c8187c6165a66286131a9b /src/balance.h | |
parent | 995c94ef178d143c2458ebf66ddb084aa782e975 (diff) | |
download | fork-ledger-298a4faef371cae8f308c0b729a1a34ea7aa927c.tar.gz fork-ledger-298a4faef371cae8f308c0b729a1a34ea7aa927c.tar.bz2 fork-ledger-298a4faef371cae8f308c0b729a1a34ea7aa927c.zip |
Move amount colorization deeper into the core
This is necessary in order to redden negative amounts correctly under
all circumstances, such as component amounts of a multi-commodity
balance.
Fixes 727B2DF8-A2A1-4716-9C15-547F20D5F933
Diffstat (limited to 'src/balance.h')
-rw-r--r-- | src/balance.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/balance.h b/src/balance.h index 85c6b1ff..142621f8 100644 --- a/src/balance.h +++ b/src/balance.h @@ -483,7 +483,8 @@ public: void print(std::ostream& out, const int first_width = -1, const int latter_width = -1, - const bool right_justify = true) const; + const bool right_justify = true, + const bool colorize = true) const; /** * Debugging methods. There are two methods defined to help with |