*CTextbox: add Member setWindowPos()

This commit is contained in:
2012-09-19 11:32:09 +02:00
parent a7bdf41dfe
commit 550300078e

View File

@@ -167,6 +167,7 @@ class CTextBox
void setTextFont(Font* font_text); void setTextFont(Font* font_text);
void setTextMode(const int text_mode){m_nMode = text_mode;}; void setTextMode(const int text_mode){m_nMode = text_mode;};
void setBackGroundColor(CFBWindow::color_t textBackgroundColor){m_textBackgroundColor = textBackgroundColor;}; void setBackGroundColor(CFBWindow::color_t textBackgroundColor){m_textBackgroundColor = textBackgroundColor;};
void setWindowPos(const CBox* position){m_cFrame = *position;};
inline bool isPainted(void) {if( frameBuffer == NULL) return (false); else return (true);}; inline bool isPainted(void) {if( frameBuffer == NULL) return (false); else return (true);};
inline CBox getWindowsPos(void) {return(m_cFrame);}; inline CBox getWindowsPos(void) {return(m_cFrame);};