summaryrefslogtreecommitdiff
path: root/src/value.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-06-16 16:57:10 +0100
committerJohn Wiegley <johnw@newartisans.com>2009-06-16 16:57:10 +0100
commit298a4faef371cae8f308c0b729a1a34ea7aa927c (patch)
tree277f3125c4e03f7c80c8187c6165a66286131a9b /src/value.h
parent995c94ef178d143c2458ebf66ddb084aa782e975 (diff)
downloadfork-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/value.h')
-rw-r--r--src/value.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/value.h b/src/value.h
index 1e972558..a2b9c07f 100644
--- a/src/value.h
+++ b/src/value.h
@@ -915,6 +915,7 @@ public:
const int first_width = -1,
const int latter_width = -1,
const bool right_justify = false,
+ const bool colorize = false,
const optional<string>& date_format = none) const;
void dump(std::ostream& out, const bool relaxed = true) const;