Files
Client/GameTools/EffectEditor/PointSlider.h
LGram16 dd97ddec92 Restructure repository to include all source folders
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>
2025-11-29 20:17:20 +09:00

73 lines
1.8 KiB
C++

#if !defined(AFX_POINTSLIDER_H__85139495_A6E7_41E1_B083_335CADF31F84__INCLUDED_)
#define AFX_POINTSLIDER_H__85139495_A6E7_41E1_B083_335CADF31F84__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PointSlider.h : header file
//
#pragma warning(disable:4786) // don't warn about browse name overflow.
#include <list>
using namespace std;
/////////////////////////////////////////////////////////////////////////////
// CPointSlider window
class CPointSlider : public CStatic
{
// Construction
public:
CPointSlider();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPointSlider)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
//}}AFX_VIRTUAL
// Implementation
public:
void DeletePoint(int nPoint);
int GetNumPoint(void) { return m_lstPoint.size(); }
void SetPointSize(int nPointSize) { m_nPointSize = nPointSize; }
void Clear(void) { m_lstPoint.clear(); }
void SetBoundary(int nMin, int nMax);
void SetPoint(int nPoint);
int GetHeight(void);
int GetWidth(void);
virtual ~CPointSlider();
// Generated message map functions
protected:
int m_nSelectPoint;
int m_nPointSize;
list<int> m_lstPoint;
int m_nBoundaryMax;
int m_nBoundaryMin;
//{{AFX_MSG(CPointSlider)
afx_msg void OnPaint();
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_POINTSLIDER_H__85139495_A6E7_41E1_B083_335CADF31F84__INCLUDED_)