Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/CToggleIcon.h

Parent Directory Parent Directory | Revision Log 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: 1162 byte(s)


1 #ifndef CTOGGLEICON_H_INCLUDED
2 #define CTOGGLEICON_H_INCLUDED
3
4 #include "CInterface.h"
5
6 class CGameMode;
7
8 /*
9 * サイドパネル・メニューアイコン
10 */
11 class CToggleIcon: public CInterface{
12 private:
13 static CToggleIcon *ms_PointIcon; // ポイントされたアイコン
14 int m_State; // 状態
15 int m_Check; // チェックフラグ
16 int m_ModeID; // モード ID
17 float m_SlideY; // スライド Y 座標
18 float m_TexPullU, m_TexPullV; // 開放時テクスチャ座標
19 float m_TexPushU, m_TexPushV; // 押下時テクスチャ座標
20 float m_TexIconU, m_TexIconV; // アイコンテクスチャ座標
21 string m_Expression; // 説明文
22 DWORD m_HotKey; // ホットキー
23 CToggleIcon *m_Prev, *m_Next; // グループリンク
24 CGameMode *m_SyncMode; // 対応モード
25 public:
26 static void RenderPopupText();
27 void Init(int, int, int, int, char *, char *,
28 CInterface *, CToggleIcon*, CGameMode *, DWORD,
29 float, float, float, float, float, float, int);
30 void ClearGroupCheck();
31 void SetCheck(bool);
32 int GetCheck(){ return m_Check; }
33 void SetSlidePos(int, int, bool fix = false);
34 bool ScanInput(bool, bool);
35 void Render(float altu = -1.0f, float altv = -1.0f);
36 };
37
38 #endif

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26