Добавлена папка source в CristalDiskMark
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
/*---------------------------------------------------------------------------*/
|
||||
// Author : hiyohiyo
|
||||
// Mail : hiyohiyo@crystalmark.info
|
||||
// Web : https://crystalmark.info/
|
||||
// License : MIT License
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "ImageFx.h"
|
||||
|
||||
class CSliderCtrlFx : public CSliderCtrl
|
||||
{
|
||||
DECLARE_DYNAMIC(CSliderCtrlFx)
|
||||
|
||||
public:
|
||||
CSliderCtrlFx();
|
||||
virtual ~CSliderCtrlFx();
|
||||
BOOL InitControl(int x, int y, int width, int height, double zoomRatio, CDC* bkDC, int renderMode, BOOL bHighContrast, BOOL bDarkMode, int min, int max, int pos);
|
||||
|
||||
BOOL m_bHighContrast{};
|
||||
CBrush m_BkBrush;
|
||||
|
||||
protected:
|
||||
// Message Map
|
||||
DECLARE_MESSAGE_MAP()
|
||||
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
|
||||
|
||||
// Image
|
||||
void SetBkReload(void);
|
||||
void LoadCtrlBk(CDC* drawDC);
|
||||
|
||||
int m_X{};
|
||||
int m_Y{};
|
||||
CSize m_CtrlSize;
|
||||
CRect m_Margin;
|
||||
int m_RenderMode{};
|
||||
BOOL m_bDarkMode{};
|
||||
|
||||
// Image
|
||||
CDC* m_BkDC;
|
||||
CBitmap m_BkBitmap;
|
||||
BOOL m_bBkBitmapInit{};
|
||||
BOOL m_bBkLoad{};
|
||||
CBitmap m_CtrlBitmap;
|
||||
CImage m_CtrlImage;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user