View
- Documented the new layout algorithm. - Used Nibbler for decomposing fields into word chunks. - Implemented variable intra padding. - Implemented variable left margin. - Implemented variable extra padding. - Implemented colored headers. - Implemented wrappable headers. - Eliminated need to specify fixed column size.
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <Color.h>
|
||||
#include <Task.h>
|
||||
|
||||
class Column
|
||||
@@ -49,8 +50,8 @@ public:
|
||||
std::string type () const { return _type; }
|
||||
|
||||
virtual void measure (Task&, int&, int&) = 0;
|
||||
virtual void renderHeader (std::vector <std::string>&, int);
|
||||
virtual void render (std::vector <std::string>&, Task&, int) = 0;
|
||||
virtual void renderHeader (std::vector <std::string>&, int, Color&);
|
||||
virtual void render (std::vector <std::string>&, Task&, int, Color&) = 0;
|
||||
|
||||
protected:
|
||||
std::string _type;
|
||||
|
||||
Reference in New Issue
Block a user