[Ttssh2-commit] [8197] [Tooltip] 不要な定義を整理した

アーカイブの一覧に戻る
scmno****@osdn***** scmno****@osdn*****
2019年 9月 19日 (木) 01:05:44 JST


Revision: 8197
          https://osdn.net/projects/ttssh2/scm/svn/commits/8197
Author:   yasuhide
Date:     2019-09-19 01:05:43 +0900 (Thu, 19 Sep 2019)
Log Message:
-----------
[Tooltip] 不要な定義を整理した

- 未使用のWINDOW_LONG_PTRの定義を削除した
- 関数の定義を他に揃えた

Modified Paths:
--------------
    branches/tootip_classify/teraterm/common/tipwin.cpp
    branches/tootip_classify/teraterm/common/tipwin.h

-------------- next part --------------
Modified: branches/tootip_classify/teraterm/common/tipwin.cpp
===================================================================
--- branches/tootip_classify/teraterm/common/tipwin.cpp	2019-09-18 16:05:42 UTC (rev 8196)
+++ branches/tootip_classify/teraterm/common/tipwin.cpp	2019-09-18 16:05:43 UTC (rev 8197)
@@ -66,12 +66,6 @@
 
 #include "tipwin.h"
 
-#ifdef _WIN64
-        typedef LONG_PTR WINDOW_LONG_PTR;
-#else
-        typedef LONG WINDOW_LONG_PTR;
-#endif
-
 typedef struct tagTipWinData {
 	HFONT tip_font;
 	COLORREF tip_bg;

Modified: branches/tootip_classify/teraterm/common/tipwin.h
===================================================================
--- branches/tootip_classify/teraterm/common/tipwin.h	2019-09-18 16:05:42 UTC (rev 8196)
+++ branches/tootip_classify/teraterm/common/tipwin.h	2019-09-18 16:05:43 UTC (rev 8197)
@@ -62,10 +62,10 @@
 	~CTipWin(VOID);
 	VOID SetText(TCHAR *str);
 	VOID GetTextWidthHeight(HWND src, const TCHAR *str, int *width, int *height);
-	POINT GetPos(VOID);
+	POINT GetPos();
 	VOID SetPos(int x, int y);
 	VOID SetHideTimer(int ms);
-	BOOL IsExists(VOID);
+	BOOL IsExists();
 	VOID SetVisible(BOOL bVisible);
 	BOOL IsVisible();
 private:


Ttssh2-commit メーリングリストの案内
アーカイブの一覧に戻る