Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
68 lines
1.6 KiB
C++
68 lines
1.6 KiB
C++
#if !defined(AFX_CUSEDIT_H__CD4D8BC1_C9B7_4CA0_A75C_D61D9C79F29F__INCLUDED_)
|
|
#define AFX_CUSEDIT_H__CD4D8BC1_C9B7_4CA0_A75C_D61D9C79F29F__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// CusEdit.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CCusEdit window
|
|
|
|
class CCusEdit : public CEdit
|
|
{
|
|
// Construction
|
|
public:
|
|
CCusEdit();
|
|
|
|
// Attributes
|
|
public:
|
|
|
|
// Operations
|
|
public:
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CCusEdit)
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
public:
|
|
void SetValue(unsigned long dwValue);
|
|
void SetValue(unsigned char cValue);
|
|
void SetValue(float fValue);
|
|
void DisableBkColor(void);
|
|
void SetBkColor(COLORREF BkABGR = 0x00FFFFFF, COLORREF TextABGR = 0x00000000);
|
|
virtual ~CCusEdit();
|
|
|
|
operator float(void) const;
|
|
operator unsigned char(void) const;
|
|
operator unsigned long(void) const;
|
|
operator const char *(void) const;
|
|
|
|
void operator=(float const &rhs);
|
|
void operator=(unsigned char const &rhs);
|
|
|
|
// Generated message map functions
|
|
protected:
|
|
COLORREF m_TextABGR;
|
|
BOOL m_bEnableBkColor;
|
|
COLORREF m_BkABGR;
|
|
HBRUSH m_br;
|
|
//{{AFX_MSG(CCusEdit)
|
|
afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
|
|
afx_msg void OnSetFocus(CWnd* pOldWnd);
|
|
afx_msg void OnKillFocus(CWnd* pNewWnd);
|
|
//}}AFX_MSG
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_CUSEDIT_H__CD4D8BC1_C9B7_4CA0_A75C_D61D9C79F29F__INCLUDED_)
|