1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- // PicBar.h: interface for the PicBar class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_PicBar_H__9E2611E5_0E62_4671_A849_BE55510672CB__INCLUDED_)
- #define AFX_PicBar_H__9E2611E5_0E62_4671_A849_BE55510672CB__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "MyDlg.h"
- //-------------------------------------------------------------
- // 底部播放相片工具条;
- // 按钮:退出、剪裁、放大、缩小、逆时针旋转、顺时针旋转、上一张、播放幻灯片、下一张、播放速度减、播放速度加;
- // 单选框:动感、幻灯、推动、飘动;
- //-------------------------------------------------------------
- class PicBar : public MyDlg
- {
- // 4种幻灯效果单选框;
- CButton m_button1; // 动感;
- CButton m_button2; // 幻灯;
- CButton m_button3; // 推动;
- CButton m_button4; // 飘动;
- Image *m_pImageRun;
- Image *m_pImageStop;
- float g_fscalexbak;
- float g_fscaleybak;
- public:
- BOOL m_bShowCut;
- void PreLoad();
- int m_nType;
- void ChangeBtn();
- BOOL m_bInit;
- void DrawTimes();
- int m_time;
- void EffectChange();
- CDialog *m_pParent;
- PicBar();
- virtual ~PicBar();
- void BtnClick(WPARAM wParam, LPARAM lParam);
- void Init();
- void Destory();
- BOOL PreTransMsg(MSG* pMsg);
- void OnFSCommand(LPCTSTR command, LPCTSTR args);
- };
- #endif
|