| 1 |
#ifndef CVIDEOMODE_H_INCLUDED |
| 2 |
#define CVIDEOMODE_H_INCLUDED |
| 3 |
|
| 4 |
#include "CStaticCtrl.h" |
| 5 |
#include "CGroupBox.h" |
| 6 |
#include "CCheckBox.h" |
| 7 |
#include "CRadioButton.h" |
| 8 |
#include "CPushButton.h" |
| 9 |
#include "CInterfaceMode.h" |
| 10 |
|
| 11 |
/* |
| 12 |
* シミュレーション設定モード |
| 13 |
*/ |
| 14 |
class CVideoMode: public CInterfaceMode{ |
| 15 |
private: |
| 16 |
CWindowCtrl m_VideoWindow; // 窓 |
| 17 |
CGroupBox m_PictureGroup; // スクリーンショットグループ |
| 18 |
CStaticCtrl m_PictureExpr; // スクリーンショット説明 |
| 19 |
CStaticCtrl m_PictureInfo; // スクリーンショット状態 |
| 20 |
CStaticCtrl m_QualityLabel; // 画質ラベル |
| 21 |
CRadioButton m_Quality[4]; // 画質チェック |
| 22 |
CGroupBox m_VideoGroup; // 速度グループ |
| 23 |
CStaticCtrl m_VideoExpr; // スクリーンショット説明 |
| 24 |
CStaticCtrl m_VideoInfo; // スクリーンショット状態 |
| 25 |
CPushButton m_StartButton; // 録画開始ボタン |
| 26 |
CPushButton m_StopButton; // 録画停止ボタン |
| 27 |
CPushButton m_RewindButton; // 巻戻しボタン |
| 28 |
CPushButton m_ForwardButton; // 早送りボタン |
| 29 |
CCheckBox m_ExceptPause; // ポーズ中撮影しない |
| 30 |
CCheckBox m_OnlyPhotoMode; // 撮影モード以外撮影しない |
| 31 |
CStaticCtrl m_DownsampleLabel; // ダウンサンプルラベル |
| 32 |
CRadioButton m_Downsample[3]; // ダウンサンプルチェック |
| 33 |
CStaticCtrl m_FormatLabel; // フォーマットラベル |
| 34 |
CRadioButton m_Format[2]; // フォーマットチェック |
| 35 |
//CCheckBox m_VideoSound; // 録音チェック |
| 36 |
public: |
| 37 |
CVideoMode(); |
| 38 |
~CVideoMode(){} |
| 39 |
void WindowResized(int, int, CWindowCtrl *); |
| 40 |
char *LoadInterfaceSetting(char *); |
| 41 |
void SaveInterfaceSetting(FILE *); |
| 42 |
void EnterInterface(); |
| 43 |
void ScanInputInterface(); |
| 44 |
int GetPictureQuality(); |
| 45 |
int GetExceptPause(){ return m_ExceptPause.GetCheck(); } |
| 46 |
int GetOnlyPhotoMode(){ return m_OnlyPhotoMode.GetCheck(); } |
| 47 |
int GetDownsample(){ return m_Downsample->GetNumber(); } |
| 48 |
int GetFormat(){ return m_Format->GetNumber(); } |
| 49 |
// int GetVideoSound(){ return m_VideoSound.GetCheck(); } |
| 50 |
}; |
| 51 |
|
| 52 |
// 外部グローバル |
| 53 |
extern CVideoMode *g_VideoMode; |
| 54 |
|
| 55 |
#endif |