Initial commit: ROW Client source code
Game client codebase including: - CharacterActionControl: Character and creature management - GlobalScript: Network, items, skills, quests, utilities - RYLClient: Main client application with GUI and event handlers - Engine: 3D rendering engine (RYLGL) - MemoryManager: Custom memory allocation - Library: Third-party dependencies (DirectX, boost, etc.) - Tools: Development utilities 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
72
Tools/LauncherMY/GradientStatic.h
Normal file
72
Tools/LauncherMY/GradientStatic.h
Normal file
@@ -0,0 +1,72 @@
|
||||
#if !defined(AFX_GRADIENTSTATIC_H__0709E3A1_C8B6_11D6_B74E_004033A0FB96__INCLUDED_)
|
||||
#define AFX_GRADIENTSTATIC_H__0709E3A1_C8B6_11D6_B74E_004033A0FB96__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
// GradientStatic.h : header file
|
||||
//
|
||||
|
||||
#include "afxwin.h"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CGradientStatic window
|
||||
typedef UINT (CALLBACK* LPFNDLLFUNC1)(HDC,CONST PTRIVERTEX,DWORD,CONST PVOID,DWORD,DWORD);
|
||||
|
||||
class CGradientStatic : public CStatic
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
CGradientStatic();
|
||||
virtual ~CGradientStatic();
|
||||
void SetColor(COLORREF cl) {clLeft=cl;};
|
||||
void SetGradientColor(COLORREF cl) {clRight=cl;};
|
||||
void SetTextColor(COLORREF cl) {clText=cl;};
|
||||
CString GetWindowText();
|
||||
void SetWindowText(LPCSTR lpszString);
|
||||
void SetLeftSpacing(int iNoOfPixels) { m_iLeftSpacing = iNoOfPixels; };
|
||||
void SetCenterText(BOOL bCenter = TRUE) { m_bCenter = bCenter; };
|
||||
void SetFont(CFont* pF, BOOL bRedraw = TRUE) { pFont = pF; };
|
||||
|
||||
// Attributes
|
||||
public:
|
||||
|
||||
// Operations
|
||||
public:
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CGradientStatic)
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
public:
|
||||
|
||||
|
||||
// Generated message map functions
|
||||
protected:
|
||||
CString m_sTEXT;
|
||||
int m_iLeftSpacing;
|
||||
CFont* pFont;
|
||||
long clLeft;
|
||||
long clRight;
|
||||
long clText;
|
||||
BOOL m_bCenter;
|
||||
HINSTANCE hinst_msimg32;
|
||||
BOOL m_bCanDoGradientFill;
|
||||
LPFNDLLFUNC1 dllfunc_GradientFill;
|
||||
|
||||
//{{AFX_MSG(CGradientStatic)
|
||||
afx_msg void OnPaint();
|
||||
afx_msg void OnLButtonDown(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_GRADIENTSTATIC_H__0709E3A1_C8B6_11D6_B74E_004033A0FB96__INCLUDED_)
|
||||
Reference in New Issue
Block a user