mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
ViewText: Dead code removal
This commit is contained in:
parent
f71e03ab06
commit
72b1d08a33
2 changed files with 0 additions and 12 deletions
|
@ -91,17 +91,6 @@ void ViewText::set (int row, int col, int value, Color color)
|
||||||
_color[row][col] = color;
|
_color[row][col] = color;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
void ViewText::set (int row, int col, float value, int width, int precision, Color color)
|
|
||||||
{
|
|
||||||
std::string string_value = format ((float)value, width, precision);
|
|
||||||
_data[row][col] = string_value;
|
|
||||||
|
|
||||||
if (color.nontrivial () &&
|
|
||||||
context.color ())
|
|
||||||
_color[row][col] = color;
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void ViewText::set (int row, int col, Color color)
|
void ViewText::set (int row, int col, Color color)
|
||||||
{
|
{
|
||||||
|
|
|
@ -61,7 +61,6 @@ public:
|
||||||
int addRow ();
|
int addRow ();
|
||||||
void set (int, int, const std::string&, Color color = Color::nocolor);
|
void set (int, int, const std::string&, Color color = Color::nocolor);
|
||||||
void set (int, int, int, Color color = Color::nocolor);
|
void set (int, int, int, Color color = Color::nocolor);
|
||||||
void set (int, int, float, int, int, Color color = Color::nocolor);
|
|
||||||
void set (int, int, Color);
|
void set (int, int, Color);
|
||||||
|
|
||||||
// View rendering.
|
// View rendering.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue