//****************************************************************************** // MIDIシーケンサーソフト『世界樹』 // プロパティ拍子記号ダイアログクラス // (C)2002-2013 おーぷんMIDIぷろじぇくと/くず //****************************************************************************** /* This library is free software; you can redistribute it and/or */ /* modify it under the terms of the GNU Lesser General Public */ /* License as published by the Free Software Foundation; either */ /* version 2.1 of the License, or (at your option) any later version. */ /* This library is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU */ /* Lesser General Public License for more details. */ /* You should have received a copy of the GNU Lesser General Public */ /* License along with this library; if not, write to the Free Software */ /* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _PROPERTYTIMESIGNATUREDLG_H_ #define _PROPERTYTIMESIGNATUREDLG_H_ class CPropertyTimeSignatureDlg : public CDialog { //-------------------------------------------------------------------------- // アトリビュート //-------------------------------------------------------------------------- public: CString m_strTime; // タイム long m_lNN; // 分子(1〜255) int m_nDDIndex; // 分母(0=1,2=2,3=4,4=8,5=16,6=32) long m_lCC; // 4分音符当たりのクロック数(常に24,1〜255) long m_lBB; // 4分音符当たりの32分音符の数(常に8,1〜255) //-------------------------------------------------------------------------- // 構築と破壊 //-------------------------------------------------------------------------- public: CPropertyTimeSignatureDlg(); // コンストラクタ enum {IDD = IDD_PROPERTYTIMESIGNATURE}; //-------------------------------------------------------------------------- // オペレーション //-------------------------------------------------------------------------- public: BOOL CPropertyTimeSignatureDlg::SetNNRange (); BOOL CPropertyTimeSignatureDlg::FillDDIndexCombo (); BOOL CPropertyTimeSignatureDlg::SetCCRange (); BOOL CPropertyTimeSignatureDlg::SetBBRange (); //-------------------------------------------------------------------------- // オーバーライド //-------------------------------------------------------------------------- protected: virtual void DoDataExchange (CDataExchange* pDX); // DDX/DDV のサポート virtual BOOL OnInitDialog (); // ダイアログの初期化 //-------------------------------------------------------------------------- // メッセージマップ //-------------------------------------------------------------------------- protected: DECLARE_MESSAGE_MAP (); }; #endif