mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
indent
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1969 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -67,19 +67,19 @@
|
|||||||
|
|
||||||
class CBox
|
class CBox
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/* Constructor */
|
/* Constructor */
|
||||||
inline CBox(){;};
|
inline CBox(){;};
|
||||||
inline CBox( const int _iX, const int _iY, const int _iWidth, const int _iHeight){iX=_iX; iY=_iY; iWidth=_iWidth; iHeight=_iHeight;};
|
inline CBox( const int _iX, const int _iY, const int _iWidth, const int _iHeight){iX=_iX; iY=_iY; iWidth=_iWidth; iHeight=_iHeight;};
|
||||||
inline ~CBox(){;};
|
inline ~CBox(){;};
|
||||||
/* Functions */
|
/* Functions */
|
||||||
/* Variables */
|
/* Variables */
|
||||||
int iX;
|
int iX;
|
||||||
int iY;
|
int iY;
|
||||||
int iWidth;
|
int iWidth;
|
||||||
int iHeight;
|
int iHeight;
|
||||||
};
|
};
|
||||||
|
|
||||||
class CTextBox
|
class CTextBox
|
||||||
@@ -112,7 +112,7 @@ class CTextBox
|
|||||||
int m_nNrOfPages;
|
int m_nNrOfPages;
|
||||||
int m_nNrOfLines;
|
int m_nNrOfLines;
|
||||||
int m_nNrOfNewLine;
|
int m_nNrOfNewLine;
|
||||||
int m_nMaxLineWidth;
|
int m_nMaxLineWidth;
|
||||||
int m_nLinesPerPage;
|
int m_nLinesPerPage;
|
||||||
int m_nCurrentLine;
|
int m_nCurrentLine;
|
||||||
int m_nCurrentPage;
|
int m_nCurrentPage;
|
||||||
@@ -140,29 +140,27 @@ class CTextBox
|
|||||||
void scrollPageDown(const int pages);
|
void scrollPageDown(const int pages);
|
||||||
void scrollPageUp(const int pages);
|
void scrollPageUp(const int pages);
|
||||||
bool setText(const std::string* newText, int _max_width = 0);
|
bool setText(const std::string* newText, int _max_width = 0);
|
||||||
inline bool isPainted(void){if( frameBuffer == NULL) return (false); else return (true);};
|
|
||||||
|
|
||||||
inline CBox getWindowsPos(void) {return(m_cFrame);};
|
inline bool isPainted(void) {if( frameBuffer == NULL) return (false); else return (true);};
|
||||||
inline int getMaxLineWidth(void) {return(m_nMaxLineWidth);};
|
inline CBox getWindowsPos(void) {return(m_cFrame);};
|
||||||
inline int getLines(void) {return(m_nNrOfLines);};
|
inline int getMaxLineWidth(void) {return(m_nMaxLineWidth);};
|
||||||
inline int getPages(void) {return(m_nNrOfPages);};
|
inline int getLines(void) {return(m_nNrOfLines);};
|
||||||
inline void movePosition(int x, int y){m_cFrame.iX = x; m_cFrame.iY = y;};
|
inline int getPages(void) {return(m_nNrOfPages);};
|
||||||
|
inline void movePosition(int x, int y) {m_cFrame.iX = x; m_cFrame.iY = y;};
|
||||||
|
|
||||||
void paint (void);
|
void paint (void);
|
||||||
void hide (void);
|
void hide (void);
|
||||||
|
|
||||||
|
|
||||||
/* Variables */
|
/* Variables */
|
||||||
typedef enum mode_
|
typedef enum mode_
|
||||||
{
|
{
|
||||||
AUTO_WIDTH = 0x01,
|
AUTO_WIDTH = 0x01,
|
||||||
AUTO_HIGH = 0x02,
|
AUTO_HIGH = 0x02,
|
||||||
SCROLL = 0x04,
|
SCROLL = 0x04,
|
||||||
CENTER = 0x40,
|
CENTER = 0x40,
|
||||||
NO_AUTO_LINEBREAK = 0x80
|
NO_AUTO_LINEBREAK = 0x80
|
||||||
}mode;
|
} mode;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif // !defined(AFX_TEXTBOX_H__208DED01_ABEC_491C_A632_5B21057DC5D8__INCLUDED_)
|
#endif // !defined(AFX_TEXTBOX_H__208DED01_ABEC_491C_A632_5B21057DC5D8__INCLUDED_)
|
||||||
|
Reference in New Issue
Block a user