Browse Subversion Repository
Contents of /trunk/CMultiStatic.h
Parent Directory
| Revision Log
Revision 1 -
( show annotations)
( download)
( as text)
Sun Aug 15 01:53:13 2010 UTC
(13 years, 9 months ago)
by okadu
File MIME type: text/x-chdr
File size: 687 byte(s)
| 1 |
#ifndef CMULTISTATIC_H_INCLUDED |
| 2 |
#define CMULTISTATIC_H_INCLUDED |
| 3 |
|
| 4 |
#include "CInterface.h" |
| 5 |
#include "CScrollBarV.h" |
| 6 |
|
| 7 |
/* |
| 8 |
* マルチラインスタティックコントロール |
| 9 |
*/ |
| 10 |
class CMultiStatic: public CInterface{ |
| 11 |
private: |
| 12 |
int m_State; // 状態 |
| 13 |
int m_Lines; // 表示可能行数 |
| 14 |
int m_LineHeight; // 列高 |
| 15 |
int m_FocusIndex; // フォーカス位置 |
| 16 |
int m_LineNum; // データ数 |
| 17 |
list<string> m_LineText; // 行ごとのテキスト |
| 18 |
CScrollBarV m_ScrollV; // スクロールバー |
| 19 |
public: |
| 20 |
void Init(int, int, int, int, CInterface *, int); |
| 21 |
void SetSize(int, int); |
| 22 |
void SetText(char *); |
| 23 |
void SetScroll(); |
| 24 |
bool IsInsideList(int, int); |
| 25 |
bool ScanInput(); |
| 26 |
void Render(); |
| 27 |
}; |
| 28 |
|
| 29 |
#endif |
|