Ignore:
Timestamp:
Aug 11, 2002, 7:07:59 PM (23 years ago)
Author:
umoeller
Message:

Major work on textview control and dialogs.

File:
1 edited

Legend:

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

    r200 r201  
    534534 *
    535535 *@@added V0.9.3 (2000-05-06) [umoeller]
     536 *@@changed V0.9.20 (2002-08-10) [umoeller]: fixed underline for bitmap fonts, which never worked
    536537 */
    537538
     
    559560            lHits = GpiCharStringPos(hps,
    560561                                     prclRect,
    561                                      flOptions,
     562                                     0, // flOptions,
    562563                                     lCountThis,
    563564                                     pchThis,
     
    567568            lCountLeft -= 512;
    568569        } while (lCountLeft > 0);
     570    }
     571
     572    // I can't get underscore to work with bitmap fonts,
     573    // so I'm doing it manually always now
     574    // V0.9.20 (2002-08-10) [umoeller]
     575    if (flOptions & CHS_UNDERSCORE)
     576    {
     577        POINTL ptl2, ptlSave;
     578        GpiQueryCurrentPosition(hps, &ptlSave);
     579        ptl2.x = pptlStart->x;
     580        ptl2.y = pptlStart->y - 2;
     581        GpiMove(hps, &ptl2);
     582        ptl2.x = ptlSave.x;
     583        GpiLine(hps, &ptl2);
     584        GpiMove(hps, &ptlSave);
    569585    }
    570586
Note: See TracChangeset for help on using the changeset viewer.