Ignore:
Timestamp:
Sep 3, 2002, 8:17:46 PM (23 years ago)
Author:
umoeller
Message:

Minor adjustments for new static handling.

File:
1 edited

Legend:

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

    r206 r222  
    279279 */
    280280
    281 static VOID SetSubFont(HPS hps,
     281STATIC VOID SetSubFont(HPS hps,
    282282                       PXFMTFONT pFont,
    283283                       ULONG ulPointSize,
     
    344344 */
    345345
    346 static VOID SetFormatFont(HPS hps,           // in: HPS to select default font into
     346STATIC VOID SetFormatFont(HPS hps,           // in: HPS to select default font into
    347347                          PXFMTCHARACTER pxfmtc, // in/out: format data
    348348                          ULONG ulPointSize, // in: font point size (e.g. 12) or 0
     
    386386 */
    387387
    388 static VOID AppendCharNoCheck(char **ppszNew,
     388STATIC VOID AppendCharNoCheck(char **ppszNew,
    389389                              PULONG pcbNew,
    390390                              char **ppTarget,
     
    510510 */
    511511
    512 static PSZ strhFindEOL2(PSZ *ppszSearchIn,        // in: where to search
     512STATIC PSZ strhFindEOL2(PSZ *ppszSearchIn,        // in: where to search
    513513                        PULONG pulOffset)       // out: offset (ptr can be NULL)
    514514{
     
    633633 */
    634634
    635 static PTXVWORD CreateWord(HPS hps,
     635STATIC PTXVWORD CreateWord(HPS hps,
    636636                           PSZ *ppStartOfWord,
    637637                           PFORMATLINEBUF pflbuf)
     
    765765 */
    766766
    767 static PTXVWORD ProcessEscapes(char **ppCurrent,          // in/out: current position; initially points to esc char
     767STATIC PTXVWORD ProcessEscapes(char **ppCurrent,          // in/out: current position; initially points to esc char
    768768                               PXFORMATDATA pxfd,         // in/out: formatting data
    769769                               PFORMATLINEBUF pflbuf,     // in/out: formatting buffer
     
    14401440 */
    14411441
    1442 static VOID DrawListMarker(HPS hps,
     1442STATIC VOID DrawListMarker(HPS hps,
    14431443                           PRECTL prclLine,        // current line rectangle
    14441444                           PTXVWORD pWordThis,    // current word
     
    19021902 */
    19031903
    1904 static VOID UpdateTextViewPresData(HWND hwndTextView,
     1904STATIC VOID UpdateTextViewPresData(HWND hwndTextView,
    19051905                                   PTEXTVIEWWINDATA ptxvd)
    19061906{
     
    19571957 */
    19581958
    1959 static VOID AdjustViewRects(HWND hwndTextView,
     1959STATIC VOID AdjustViewRects(HWND hwndTextView,
    19601960                            PTEXTVIEWWINDATA ptxvd)
    19611961{
     
    20292029 */
    20302030
    2031 static VOID FormatText2Screen(HWND hwndTextView,
     2031STATIC VOID FormatText2Screen(HWND hwndTextView,
    20322032                              PTEXTVIEWWINDATA ptxvd,
    20332033                              BOOL fAlreadyRecursing,  // in: set this to FALSE when calling
     
    21862186 */
    21872187
    2188 static VOID PaintViewText2Screen(PTEXTVIEWWINDATA ptxvd,
     2188STATIC VOID PaintViewText2Screen(PTEXTVIEWWINDATA ptxvd,
    21892189                                 PRECTL prcl2Paint)  // in: invalid rectangle, can be NULL == paint all
    21902190{
     
    22062206 */
    22072207
    2208 static VOID PaintViewFocus(HPS hps,
     2208STATIC VOID PaintViewFocus(HPS hps,
    22092209                           PTEXTVIEWWINDATA ptxvd,
    22102210                           BOOL fFocus)
     
    22372237 */
    22382238
    2239 static VOID RepaintWord(PTEXTVIEWWINDATA ptxvd,
     2239STATIC VOID RepaintWord(PTEXTVIEWWINDATA ptxvd,
    22402240                        PTXVWORD pWordThis,
    22412241                        LONG lColor)
     
    22922292 */
    22932293
    2294 static VOID RepaintAnchor(PTEXTVIEWWINDATA ptxvd,
     2294STATIC VOID RepaintAnchor(PTEXTVIEWWINDATA ptxvd,
    22952295                          LONG lColor)
    22962296{
     
    23222322 */
    23232323
    2324 static MRESULT ProcessCreate(HWND hwndTextView, MPARAM mp1, MPARAM mp2)
     2324STATIC MRESULT ProcessCreate(HWND hwndTextView, MPARAM mp1, MPARAM mp2)
    23252325{
    23262326    PXTEXTVIEWCDATA     pcd = (PXTEXTVIEWCDATA)mp1;
     
    24682468 */
    24692469
    2470 static VOID ProcessPaint(HWND hwndTextView)
     2470STATIC VOID ProcessPaint(HWND hwndTextView)
    24712471{
    24722472    PTEXTVIEWWINDATA    ptxvd;
     
    25622562 */
    25632563
    2564 static VOID ProcessPresParamChanged(HWND hwndTextView, MPARAM mp1)
     2564STATIC VOID ProcessPresParamChanged(HWND hwndTextView, MPARAM mp1)
    25652565{
    25662566    PTEXTVIEWWINDATA    ptxvd;
     
    25922592 */
    25932593
    2594 static VOID ProcessSetFocus(HWND hwndTextView, MPARAM mp2)
     2594STATIC VOID ProcessSetFocus(HWND hwndTextView, MPARAM mp2)
    25952595{
    25962596    PTEXTVIEWWINDATA    ptxvd;
     
    26552655 */
    26562656
    2657 static MRESULT ProcessButton1Down(HWND hwndTextView, MPARAM mp1)
     2657STATIC MRESULT ProcessButton1Down(HWND hwndTextView, MPARAM mp1)
    26582658{
    26592659    MRESULT             mrc = 0;
     
    27272727 */
    27282728
    2729 static MRESULT ProcessButton1Up(HWND hwndTextView, MPARAM mp1)
     2729STATIC MRESULT ProcessButton1Up(HWND hwndTextView, MPARAM mp1)
    27302730{
    27312731    MRESULT             mrc = 0;
     
    27692769 */
    27702770
    2771 static MRESULT ProcessChar(HWND hwndTextView, MPARAM mp1, MPARAM mp2)
     2771STATIC MRESULT ProcessChar(HWND hwndTextView, MPARAM mp1, MPARAM mp2)
    27722772{
    27732773    MRESULT             mrc = 0;
     
    28922892 */
    28932893
    2894 static MRESULT ProcessJumpToAnchorName(HWND hwndTextView, MPARAM mp1)
     2894STATIC MRESULT ProcessJumpToAnchorName(HWND hwndTextView, MPARAM mp1)
    28952895{
    28962896    MRESULT             mrc = 0;
     
    29482948 */
    29492949
    2950 static MRESULT ProcessDestroy(HWND hwndTextView, MPARAM mp1, MPARAM mp2)
     2950STATIC MRESULT ProcessDestroy(HWND hwndTextView, MPARAM mp1, MPARAM mp2)
    29512951{
    29522952    PTEXTVIEWWINDATA    ptxvd;
     
    30223022 */
    30233023
    3024 static MRESULT EXPENTRY fnwpTextView(HWND hwndTextView, ULONG msg, MPARAM mp1, MPARAM mp2)
     3024STATIC MRESULT EXPENTRY fnwpTextView(HWND hwndTextView, ULONG msg, MPARAM mp1, MPARAM mp2)
    30253025{
    30263026    MRESULT             mrc = 0;
     
    35683568 */
    35693569
    3570 static PRQINFO3* prthEnumQueues(PULONG pulReturned)    // out: no. of queues found
     3570STATIC PRQINFO3* prthEnumQueues(PULONG pulReturned)    // out: no. of queues found
    35713571{
    35723572    SPLERR  rc;
     
    36103610 */
    36113611
    3612 static VOID prthFreeBuf(PVOID pprq3)
     3612STATIC VOID prthFreeBuf(PVOID pprq3)
    36133613{
    36143614    if (pprq3)
     
    36323632 */
    36333633
    3634 static HDC prthCreatePrinterDC(HAB hab,
     3634STATIC HDC prthCreatePrinterDC(HAB hab,
    36353635                               PRQINFO3 *pprq3,
    36363636                               PLONG palRes)  // out: 2 longs holding horizontal and vertical
     
    36783678 */
    36793679
    3680 static HCINFO* prthQueryForms(HDC hdc,
     3680STATIC HCINFO* prthQueryForms(HDC hdc,
    36813681                              PULONG pulCount)
    36823682{
     
    37103710 */
    37113711
    3712 static HPS prthCreatePS(HAB hab,       // in: anchor block
     3712STATIC HPS prthCreatePS(HAB hab,       // in: anchor block
    37133713                        HDC hdc,       // in: printer device context
    37143714                        ULONG ulUnits) // in: one of:
     
    37403740 */
    37413741
    3742 static VOID prthStartDoc(HDC hdc,
     3742STATIC VOID prthStartDoc(HDC hdc,
    37433743                         PSZ pszDocTitle)
    37443744{
     
    37603760 */
    37613761
    3762 static VOID prthNextPage(HDC hdc)
     3762STATIC VOID prthNextPage(HDC hdc)
    37633763{
    37643764    DevEscape(hdc,
     
    37793779 */
    37803780
    3781 static VOID prthEndDoc(HDC hdc,
     3781STATIC VOID prthEndDoc(HDC hdc,
    37823782                       HPS hps)
    37833783{
Note: See TracChangeset for help on using the changeset viewer.