move default values of link aware, color out of tcontrol header

This commit is contained in:
Chris Beck 2014-10-17 05:18:14 -04:00
parent 5f3dbe1d98
commit ace04ab9ff
2 changed files with 12 additions and 8 deletions

View file

@ -173,6 +173,16 @@ unsigned tcontrol::get_characters_per_line() const
return 0;
}
bool tcontrol::get_link_aware() const
{
return false;
}
std::string tcontrol::get_link_color() const
{
return "#ffff00";
}
void tcontrol::layout_initialise(const bool full_initialisation)
{
// Inherited.

View file

@ -151,10 +151,7 @@ public:
* @returns The link aware status. This impl always
* always returns false.
*/
virtual bool get_link_aware() const
{
return false;
}
virtual bool get_link_aware() const;
/**
* Returns the color string to be used with links.
@ -165,10 +162,7 @@ public:
* @returns The link color string. This impl returns "#ffff00".
*
*/
virtual std::string get_link_color() const
{
return "#ffff00";
}
virtual std::string get_link_color() const;
/**
* See @ref twidget::layout_initialise.