ViewText: Dead code removal

This commit is contained in:
Paul Beckingham 2015-07-17 14:13:31 -04:00
parent f71e03ab06
commit 72b1d08a33
2 changed files with 0 additions and 12 deletions

View file

@ -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)
{ {

View file

@ -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.