diff --git a/src/splitgraphdisplay.h b/src/splitgraphdisplay.h index 57a2632..764f0fa 100644 --- a/src/splitgraphdisplay.h +++ b/src/splitgraphdisplay.h @@ -4,7 +4,7 @@ #include "display.h" #include "tftinterface.h" #include "tftcolors.h" -#include "textinterface.h" +#include "titleinterface.h" #include "widgets/label.h" #include "widgets/graph.h" #include "confirminterface.h" @@ -49,7 +49,7 @@ public: template class SplitGraphDisplay : public Display, - public virtual TextInterface, + public virtual TitleInterface, public virtual TopGraphAccessorInterface, public virtual BottomGraphAccessorInterface, public virtual ConfirmInterface, @@ -85,7 +85,7 @@ void SplitGraphDisplay::initScreen(TftInterface &tft) template void SplitGraphDisplay::redraw(TftInterface &tft) { - m_titleLabel.redraw(tft, text(), TFT_YELLOW, TFT_BLACK, 4); + m_titleLabel.redraw(tft, title(), TFT_YELLOW, TFT_BLACK, 4); m_graph0.redraw(tft, static_cast&>(*this).getTopBuffers()); m_graph1.redraw(tft, static_cast&>(*this).getBottomBuffers());