Ignore:
Timestamp:
Feb 21, 2002, 8:24:22 PM (24 years ago)
Author:
umoeller
Message:

misc. updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/cctl_tooltip.c

    r96 r142  
    135135 */
    136136
    137 BOOL LockSubclassedTools(VOID)
     137static BOOL LockSubclassedTools(VOID)
    138138{
    139139    if (!G_hmtxSubclassedTools)
     
    163163 */
    164164
    165 VOID UnlockSubclassedTools(VOID)
     165static VOID UnlockSubclassedTools(VOID)
    166166{
    167167    DosReleaseMutexSem(G_hmtxSubclassedTools);      // was missing V0.9.12 (2001-05-03) [umoeller]
     
    196196 */
    197197
    198 PSUBCLASSEDTOOL FindSubclassedTool(HWND hwndTool)
     198static PSUBCLASSEDTOOL FindSubclassedTool(HWND hwndTool)
    199199{
    200200    PLISTNODE pNode = lstQueryFirstNode(&G_llSubclassedTools);
     
    285285 */
    286286
    287 BOOL SubclassTool(HWND hwndTooltip,
    288                   HWND hwndTool)
     287static BOOL SubclassTool(HWND hwndTooltip,
     288                         HWND hwndTool)
    289289{
    290290    BOOL    brc = FALSE;
     
    325325 */
    326326
    327 BOOL UnSubclassTool(HWND hwndTool)
     327static BOOL UnSubclassTool(HWND hwndTool)
    328328{
    329329    PSUBCLASSEDTOOL pst = FindSubclassedTool(hwndTool);
     
    406406 */
    407407
    408 VOID UpdateTooltipPresColors(HWND hwndTooltip)      // in: tooltip control
     408static VOID UpdateTooltipPresColors(HWND hwndTooltip)      // in: tooltip control
    409409{
    410410    PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1);
     
    439439 */
    440440
    441 MRESULT TtmCreate(HWND hwndTooltip,
    442                   MPARAM mp2)
     441static MRESULT TtmCreate(HWND hwndTooltip,
     442                         MPARAM mp2)
    443443{
    444444    PTOOLTIPDATA pttd;
     
    510510 */
    511511
    512 BOOL TtmTimer(HWND hwndTooltip, MPARAM mp1)
     512static BOOL TtmTimer(HWND hwndTooltip, MPARAM mp1)
    513513{
    514514    PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1);
     
    553553 */
    554554
    555 VOID TtmPaint(HWND hwndTooltip)
     555static VOID TtmPaint(HWND hwndTooltip)
    556556{
    557557    PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1);
     
    645645 */
    646646
    647 VOID TtmDestroy(HWND hwndTooltip)
     647static VOID TtmDestroy(HWND hwndTooltip)
    648648{
    649649    PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1);
     
    691691 */
    692692
    693 MRESULT TtmAddTool(HWND hwndTooltip, MPARAM mp2)
     693static MRESULT TtmAddTool(HWND hwndTooltip, MPARAM mp2)
    694694{
    695695    PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1);
     
    732732 */
    733733
    734 VOID TtmDelTool(HWND hwndTooltip, MPARAM mp2)
     734static VOID TtmDelTool(HWND hwndTooltip, MPARAM mp2)
    735735{
    736736    PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1);
     
    780780 */
    781781
    782 VOID TtmRelayEvent(HWND hwndTooltip, MPARAM mp2)
     782static VOID TtmRelayEvent(HWND hwndTooltip, MPARAM mp2)
    783783{
    784784    PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1);
     
    854854 */
    855855
    856 MRESULT TtmGetDelayTime(HWND hwndTooltip, MPARAM mp1)
     856static MRESULT TtmGetDelayTime(HWND hwndTooltip, MPARAM mp1)
    857857{
    858858    PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1);
     
    879879 */
    880880
    881 VOID TtmSetDelayTime(HWND hwndTooltip, MPARAM mp1, MPARAM mp2)
     881static VOID TtmSetDelayTime(HWND hwndTooltip, MPARAM mp1, MPARAM mp2)
    882882{
    883883    PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1);
     
    912912 */
    913913
    914 VOID TtmGetText(HWND hwndTooltip, MPARAM mp2)
     914static VOID TtmGetText(HWND hwndTooltip, MPARAM mp2)
    915915{
    916916    PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1);
     
    955955 */
    956956
    957 MRESULT TtmEnumTools(HWND hwndTooltip, MPARAM mp1, MPARAM mp2)
     957static MRESULT TtmEnumTools(HWND hwndTooltip, MPARAM mp1, MPARAM mp2)
    958958{
    959959    PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1);
     
    980980 */
    981981
    982 MRESULT TtmGetCurrentTool(HWND hwndTooltip, MPARAM mp2)
     982static MRESULT TtmGetCurrentTool(HWND hwndTooltip, MPARAM mp2)
    983983{
    984984    PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1);
     
    10031003 */
    10041004
    1005 MRESULT TtmGetToolInfo(HWND hwndTooltip, MPARAM mp2)
     1005static MRESULT TtmGetToolInfo(HWND hwndTooltip, MPARAM mp2)
    10061006{
    10071007    PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1);
     
    10421042 */
    10431043
    1044 VOID FormatTooltip(HWND hwndTooltip,
    1045                    PTOOLTIPDATA pttd,
    1046                    PPOINTL pptlPointer)      // in: current pointer pos or NULL
     1044static VOID FormatTooltip(HWND hwndTooltip,
     1045                          PTOOLTIPDATA pttd,
     1046                          PPOINTL pptlPointer)      // in: current pointer pos or NULL
    10471047{
    10481048    // find out how much space we need
     
    11621162 */
    11631163
    1164 VOID TtmUpdateTipText(HWND hwndTooltip,
    1165                       const char *pcszNewText)
     1164static VOID TtmUpdateTipText(HWND hwndTooltip,
     1165                             const char *pcszNewText)
    11661166{
    11671167    PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1);
     
    12121212 */
    12131213
    1214 VOID TtmShowTooltip(HWND hwndTooltip,
    1215                     BOOL fShow)  // if TRUE: show, else: HIDE
     1214static VOID TtmShowTooltip(HWND hwndTooltip,
     1215                           BOOL fShow)  // if TRUE: show, else: HIDE
    12161216{
    12171217    PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1);
Note: See TracChangeset for help on using the changeset viewer.