Changeset 142 for trunk/src/helpers/cctl_tooltip.c
- Timestamp:
- Feb 21, 2002, 8:24:22 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/cctl_tooltip.c
r96 r142 135 135 */ 136 136 137 BOOL LockSubclassedTools(VOID)137 static BOOL LockSubclassedTools(VOID) 138 138 { 139 139 if (!G_hmtxSubclassedTools) … … 163 163 */ 164 164 165 VOID UnlockSubclassedTools(VOID)165 static VOID UnlockSubclassedTools(VOID) 166 166 { 167 167 DosReleaseMutexSem(G_hmtxSubclassedTools); // was missing V0.9.12 (2001-05-03) [umoeller] … … 196 196 */ 197 197 198 PSUBCLASSEDTOOL FindSubclassedTool(HWND hwndTool)198 static PSUBCLASSEDTOOL FindSubclassedTool(HWND hwndTool) 199 199 { 200 200 PLISTNODE pNode = lstQueryFirstNode(&G_llSubclassedTools); … … 285 285 */ 286 286 287 BOOL SubclassTool(HWND hwndTooltip,288 HWND hwndTool)287 static BOOL SubclassTool(HWND hwndTooltip, 288 HWND hwndTool) 289 289 { 290 290 BOOL brc = FALSE; … … 325 325 */ 326 326 327 BOOL UnSubclassTool(HWND hwndTool)327 static BOOL UnSubclassTool(HWND hwndTool) 328 328 { 329 329 PSUBCLASSEDTOOL pst = FindSubclassedTool(hwndTool); … … 406 406 */ 407 407 408 VOID UpdateTooltipPresColors(HWND hwndTooltip) // in: tooltip control408 static VOID UpdateTooltipPresColors(HWND hwndTooltip) // in: tooltip control 409 409 { 410 410 PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1); … … 439 439 */ 440 440 441 MRESULT TtmCreate(HWND hwndTooltip,442 MPARAM mp2)441 static MRESULT TtmCreate(HWND hwndTooltip, 442 MPARAM mp2) 443 443 { 444 444 PTOOLTIPDATA pttd; … … 510 510 */ 511 511 512 BOOL TtmTimer(HWND hwndTooltip, MPARAM mp1)512 static BOOL TtmTimer(HWND hwndTooltip, MPARAM mp1) 513 513 { 514 514 PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1); … … 553 553 */ 554 554 555 VOID TtmPaint(HWND hwndTooltip)555 static VOID TtmPaint(HWND hwndTooltip) 556 556 { 557 557 PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1); … … 645 645 */ 646 646 647 VOID TtmDestroy(HWND hwndTooltip)647 static VOID TtmDestroy(HWND hwndTooltip) 648 648 { 649 649 PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1); … … 691 691 */ 692 692 693 MRESULT TtmAddTool(HWND hwndTooltip, MPARAM mp2)693 static MRESULT TtmAddTool(HWND hwndTooltip, MPARAM mp2) 694 694 { 695 695 PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1); … … 732 732 */ 733 733 734 VOID TtmDelTool(HWND hwndTooltip, MPARAM mp2)734 static VOID TtmDelTool(HWND hwndTooltip, MPARAM mp2) 735 735 { 736 736 PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1); … … 780 780 */ 781 781 782 VOID TtmRelayEvent(HWND hwndTooltip, MPARAM mp2)782 static VOID TtmRelayEvent(HWND hwndTooltip, MPARAM mp2) 783 783 { 784 784 PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1); … … 854 854 */ 855 855 856 MRESULT TtmGetDelayTime(HWND hwndTooltip, MPARAM mp1)856 static MRESULT TtmGetDelayTime(HWND hwndTooltip, MPARAM mp1) 857 857 { 858 858 PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1); … … 879 879 */ 880 880 881 VOID TtmSetDelayTime(HWND hwndTooltip, MPARAM mp1, MPARAM mp2)881 static VOID TtmSetDelayTime(HWND hwndTooltip, MPARAM mp1, MPARAM mp2) 882 882 { 883 883 PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1); … … 912 912 */ 913 913 914 VOID TtmGetText(HWND hwndTooltip, MPARAM mp2)914 static VOID TtmGetText(HWND hwndTooltip, MPARAM mp2) 915 915 { 916 916 PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1); … … 955 955 */ 956 956 957 MRESULT TtmEnumTools(HWND hwndTooltip, MPARAM mp1, MPARAM mp2)957 static MRESULT TtmEnumTools(HWND hwndTooltip, MPARAM mp1, MPARAM mp2) 958 958 { 959 959 PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1); … … 980 980 */ 981 981 982 MRESULT TtmGetCurrentTool(HWND hwndTooltip, MPARAM mp2)982 static MRESULT TtmGetCurrentTool(HWND hwndTooltip, MPARAM mp2) 983 983 { 984 984 PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1); … … 1003 1003 */ 1004 1004 1005 MRESULT TtmGetToolInfo(HWND hwndTooltip, MPARAM mp2)1005 static MRESULT TtmGetToolInfo(HWND hwndTooltip, MPARAM mp2) 1006 1006 { 1007 1007 PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1); … … 1042 1042 */ 1043 1043 1044 VOID FormatTooltip(HWND hwndTooltip,1045 PTOOLTIPDATA pttd,1046 PPOINTL pptlPointer) // in: current pointer pos or NULL1044 static VOID FormatTooltip(HWND hwndTooltip, 1045 PTOOLTIPDATA pttd, 1046 PPOINTL pptlPointer) // in: current pointer pos or NULL 1047 1047 { 1048 1048 // find out how much space we need … … 1162 1162 */ 1163 1163 1164 VOID TtmUpdateTipText(HWND hwndTooltip,1165 const char *pcszNewText)1164 static VOID TtmUpdateTipText(HWND hwndTooltip, 1165 const char *pcszNewText) 1166 1166 { 1167 1167 PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1); … … 1212 1212 */ 1213 1213 1214 VOID TtmShowTooltip(HWND hwndTooltip,1215 BOOL fShow) // if TRUE: show, else: HIDE1214 static VOID TtmShowTooltip(HWND hwndTooltip, 1215 BOOL fShow) // if TRUE: show, else: HIDE 1216 1216 { 1217 1217 PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1);
Note:
See TracChangeset
for help on using the changeset viewer.