Files
Client/GameTools/EffectEditor/Bubble.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

82 lines
1.9 KiB
C++

#if !defined(AFX_BUBBLE_H__BC6DC093_229B_11D1_8F0A_00A0C93A70EC__INCLUDED_)
#define AFX_BUBBLE_H__BC6DC093_229B_11D1_8F0A_00A0C93A70EC__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// Bubble.h : header file
//
#ifndef __AFXCMN_H__
#include <afxcmn.h>
#endif // __AFXCMN_H__
/////////////////////////////////////////////////////////////////////////////
// CBubble window
class CBubble : public CWnd
{
// Construction
public:
CBubble();
// Attributes
private:
static CString m_strClassName; // bubble window class name
CStringList m_strTextRows; // text rows
CString m_strLastText;
CPoint m_ptLastPoint;
CImageList m_Images;
int m_iRowHeight;
int m_iImageWidth;
int m_iImageHeight;
BOOL m_bShadow;
// Operations
public:
BOOL Create(CWnd* pWndParent = NULL, BOOL bShadow = FALSE); // create the bubble window
// request the bubble window to track with the specified text and string resource ID
void Track(CPoint pt, const CString& string);
void Hide(); // hide the bubble window
void SetTextFormat (int iFormat)
{
m_iTextFormat = iFormat;
}
int GetTextFormat () const
{
return m_iTextFormat;
}
BOOL SetImageList (UINT uiId, int iImageWidth = 15, COLORREF cltTransparent = RGB (255, 0, 255));
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBubble)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CBubble();
// Generated message map functions
protected:
//{{AFX_MSG(CBubble)
afx_msg void OnPaint();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
//}}AFX_MSG
afx_msg LONG OnSetText(UINT, LONG lParam);
DECLARE_MESSAGE_MAP()
int m_iTextFormat;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BUBBLE_H__BC6DC093_229B_11D1_8F0A_00A0C93A70EC__INCLUDED_)