Changeset 161 for trunk/include/helpers


Ignore:
Timestamp:
May 2, 2002, 5:17:26 PM (23 years ago)
Author:
umoeller
Message:

Misc fixes.

Location:
trunk/include/helpers
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/helpers/dialog.h

    r159 r161  
    279279            id, CTL_COMMON_FONT,  0, {cx, cy}, COMMON_SPACING }
    280280
     281    #define CONTROLDEF_TEXT_RIGHT(pcsz, id, cx, cy) { WC_STATIC, pcsz, \
     282            WS_VISIBLE | SS_TEXT | DT_RIGHT | DT_VCENTER | DT_MNEMONIC, \
     283            id, CTL_COMMON_FONT,  0, {cx, cy}, COMMON_SPACING }
     284
     285    #define LOADDEF_TEXT_RIGHT(id) CONTROLDEF_TEXT_RIGHT(LOAD_STRING, id, SZL_AUTOSIZE, SZL_AUTOSIZE)
     286
    281287    #define CONTROLDEF_TEXT_WORDBREAK(pcsz, id, cx) { WC_STATIC, pcsz, \
    282288            WS_VISIBLE | SS_TEXT | DT_LEFT | DT_TOP | DT_WORDBREAK, \
    283289            id, CTL_COMMON_FONT,  0, {cx, SZL_AUTOSIZE}, COMMON_SPACING }
     290
     291    #define LOADDEF_TEXT_WORDBREAK(id, cx) CONTROLDEF_TEXT_WORDBREAK(LOAD_STRING, id, cx)
     292
     293    #define CONTROLDEF_TEXT_WORDBREAK_MNEMONIC(pcsz, id, cx) { WC_STATIC, pcsz, \
     294            WS_VISIBLE | SS_TEXT | DT_LEFT | DT_TOP | DT_WORDBREAK | DT_MNEMONIC, \
     295            id, CTL_COMMON_FONT,  0, {cx, SZL_AUTOSIZE}, COMMON_SPACING }
     296
     297    #define LOADDEF_TEXT_WORDBREAK_MNEMONIC(id, cx) CONTROLDEF_TEXT_WORDBREAK_MNEMONIC(LOAD_STRING, id, cx)
    284298
    285299    #define CONTROLDEF_ICON(hptr, id) { WC_STATIC, (PCSZ)(hptr), \
  • trunk/include/helpers/dosh.h

    r159 r161  
    362362                #define FSYS_HPFS_JFS        2
    363363                #define FSYS_CDFS            3
     364                #define FSYS_CDWFS           6      // not used by WPS!
     365                            // added V0.9.19 (2002-04-25) [umoeller]
    364366                #define FSYS_TVFS            7      // not used by WPS!
    365367                #define FSYS_FAT32_EXT2      8      // not used by WPS!
  • trunk/include/helpers/stringh.h

    r153 r161  
    8787    #endif
    8888
    89     PSZ XWPENTRY strhExtract(PSZ pszBuf,
     89    PSZ XWPENTRY strhExtract(PCSZ pszBuf,
    9090                             CHAR cOpen,
    9191                             CHAR cClose,
    92                              PSZ *ppEnd);
     92                             PCSZ *ppEnd);
    9393
    9494    PSZ XWPENTRY strhQuote(PSZ pszBuf,
Note: See TracChangeset for help on using the changeset viewer.