From 172383b6bb86e6d31f5c66d03b18097d26ee7314 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 7 Nov 2013 16:27:06 +0100 Subject: [PATCH] CTextBox: use member getFontTextHeight() as public --- src/gui/widget/textbox.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/widget/textbox.h b/src/gui/widget/textbox.h index 0922521c8..b748e9f84 100644 --- a/src/gui/widget/textbox.h +++ b/src/gui/widget/textbox.h @@ -114,7 +114,7 @@ class CTextBox void refreshText(void); void reSizeMainFrameWidth(int maxTextWidth); void reSizeMainFrameHeight(int maxTextHeight); - int getFontTextHeight(); + bool hasChanged(int* x, int* y, int* dx, int* dy); void reInitToCompareVar(int* x, int* y, int* dx, int* dy); @@ -202,7 +202,8 @@ class CTextBox inline int getLinesPerPage(void) {return m_nLinesPerPage;}; inline int getPages(void) {return(m_nNrOfPages);}; inline void movePosition(int x, int y) {m_cFrame.iX = x; m_cFrame.iY = y;}; - + int getFontTextHeight(); + void paint (void); void hide (void); };