From 46542b4d64565fcf46a4d92f63e1bcd4e4b9ccd8 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 10 Sep 2012 20:27:39 +0000 Subject: Changed Fmt to use lower case by default and added more helpers. --- src/stable/fmt.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/stable/fmt.h') diff --git a/src/stable/fmt.h b/src/stable/fmt.h index 15d8efc..bcc5240 100644 --- a/src/stable/fmt.h +++ b/src/stable/fmt.h @@ -17,7 +17,7 @@ namespace Bu uRadix( 10 ), uAlign( Right ), bPlus( false ), - bCaps( true ), + bCaps( false ), bTokenize( true ) { } @@ -47,7 +47,7 @@ namespace Bu { } - static Fmt hex( unsigned int uWidth=0, bool bCaps=true ) + static Fmt hex( unsigned int uWidth=0, bool bCaps=false ) { return Fmt( uWidth, 16, Right, false, bCaps, '0' ); } @@ -73,6 +73,8 @@ namespace Bu Fmt &align( Alignment eAlign ); Fmt &plus( bool bPlus=true ); Fmt &caps( bool bCaps=true ); + Fmt &upper(); + Fmt &lower(); Fmt &tokenize( bool bTokenize=true ); Fmt &left(); -- cgit v1.2.3