move default values of link aware, color out of tcontrol header
This commit is contained in:
parent
5f3dbe1d98
commit
ace04ab9ff
2 changed files with 12 additions and 8 deletions
|
@ -173,6 +173,16 @@ unsigned tcontrol::get_characters_per_line() const
|
||||||
return 0;
|
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)
|
void tcontrol::layout_initialise(const bool full_initialisation)
|
||||||
{
|
{
|
||||||
// Inherited.
|
// Inherited.
|
||||||
|
|
|
@ -151,10 +151,7 @@ public:
|
||||||
* @returns The link aware status. This impl always
|
* @returns The link aware status. This impl always
|
||||||
* always returns false.
|
* always returns false.
|
||||||
*/
|
*/
|
||||||
virtual bool get_link_aware() const
|
virtual bool get_link_aware() const;
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the color string to be used with links.
|
* Returns the color string to be used with links.
|
||||||
|
@ -165,10 +162,7 @@ public:
|
||||||
* @returns The link color string. This impl returns "#ffff00".
|
* @returns The link color string. This impl returns "#ffff00".
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
virtual std::string get_link_color() const
|
virtual std::string get_link_color() const;
|
||||||
{
|
|
||||||
return "#ffff00";
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* See @ref twidget::layout_initialise.
|
* See @ref twidget::layout_initialise.
|
||||||
|
|
Loading…
Add table
Reference in a new issue