From f04d64869f3b1de54fb343f28f955584780001b8 Mon Sep 17 00:00:00 2001 From: mataes2007 Date: Sat, 26 Nov 2011 15:41:10 +0000 Subject: Project folders rename part 3 git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@215 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- Tooltip_Notify/src/Tooltip.h | 55 -------------------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 Tooltip_Notify/src/Tooltip.h (limited to 'Tooltip_Notify/src/Tooltip.h') diff --git a/Tooltip_Notify/src/Tooltip.h b/Tooltip_Notify/src/Tooltip.h deleted file mode 100644 index fc97348..0000000 --- a/Tooltip_Notify/src/Tooltip.h +++ /dev/null @@ -1,55 +0,0 @@ -// Tooltip.h: interface for the CTooltip class. -// -////////////////////////////////////////////////////////////////////// - -#pragma once - -class CTooltipNotify; - -class CTooltip -{ -public: - - CTooltip(CTooltipNotify *pTooltipNotify); - virtual ~CTooltip(); - - HWND GetHandle() const { return m_hWnd; } - VOID Hide(); - VOID Show(); - VOID Validate(); - VOID set_Position(INT x, INT y); - VOID get_Rect(RECT *Rect) const; - VOID set_TransparentInput(BOOL bOnOff); - VOID set_Translucency(BYTE bAlpha); - VOID set_Text(const TCHAR* szText); - VOID set_Font(const LOGFONT& Font) { m_lfFont = Font; } - VOID set_TextColor(DWORD TextColor) { m_dwTextColor = TextColor; } - VOID set_BgColor(DWORD BgColor) { m_dwBgColor = BgColor; } - - static void Initialize(HMODULE hInstance); - static void Deinitialize(HMODULE hInstance); - -private: - // prohibit copying - CTooltip(const CTooltip& rhs); - CTooltip& operator= (const CTooltip& rhs); - -private: - static LRESULT CALLBACK WindowProcWrapper(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); - LRESULT CALLBACK WindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); - - HWND m_hWnd; - HFONT m_hFont; - - // tooltip parameters - DWORD m_dwTextColor; - DWORD m_dwBgColor; - LOGFONT m_lfFont; - TCHAR *m_szText; - BYTE m_bAlpha; - BOOL m_bTranspInput; - BYTE m_bLDblClick; - - CTooltipNotify *m_pTooltipNotify; - static const TCHAR *s_szTooltipClass; -}; -- cgit v1.2.3