Show
Ignore:
Timestamp:
05/09/06 22:21:53 (3 years ago)
Author:
jvw
Message:

DFSee 8.01 level; fix crash on huge PATH; History-popup improved (4OS2 compatible)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/txlib/include/txlib.h

    r10 r11  
    10481048#define TXA_O_LIST   139                        // predefined 'list' 
    10491049#define TXA_O_SCREEN 140                        // predefined 'screen' 
    1050 #define TXA_O_TEST1  141 
    1051 #define TXA_O_TEST2  142 
    1052 #define TXA_O_TEST3  143                        // predefined 'test1' .. 5 
    1053 #define TXA_O_TEST4  144 
    1054 #define TXA_O_TEST5  145 
    1055 #define TXA_O_APP0   146 
    1056 #define TXA_O_APP1   147                        // application defined 
    1057 #define TXA_O_APP2   148                        // options/switches 
    1058 #define TXA_O_APP3   149 
    1059 #define TXA_O_APP4   150 
    1060 #define TXA_O_APP5   151 
    1061  
    1062 #define TXA_LSIZE     29                        // number of long options 
    1063 #define TXA_SIZE     120                        // total number of options 
     1050#define TXA_O_LABEL  141                        // predefined 'label' 
     1051#define TXA_O_TEST1  142 
     1052#define TXA_O_TEST2  143 
     1053#define TXA_O_TEST3  144                        // predefined 'test1' .. 5 
     1054#define TXA_O_TEST4  145 
     1055#define TXA_O_TEST5  146 
     1056#define TXA_O_APP0   147 
     1057#define TXA_O_APP1   148                        // application defined 
     1058#define TXA_O_APP2   149                        // options/switches 
     1059#define TXA_O_APP3   150 
     1060#define TXA_O_APP4   151 
     1061#define TXA_O_APP5   152 
     1062 
     1063#define TXA_LSIZE     30                        // number of long options 
     1064#define TXA_SIZE     121                        // total number of options 
    10641065 
    10651066#define TXA_O_LEN     31                        // maximum length long name 
     
    13431344 
    13441345//- definitions for flags that apply to the whole list (list->flags) 
     1346 
    13451347#define TXSL_MULTI_QUICK       0x00000001       // use itemtext for quickselect 
    13461348                                                // not just the item-index char 
     1349                                                // (used in directory listing) 
     1350 
     1351#define TXSL_ITEM_DELETE       0x00000010       // allow item delete  (Ctrl-D) 
     1352                                                // del from list, send Ctrl-D 
     1353                                                // to the owner as well ... 
    13471354 
    13481355//- definitions for Alloc-Status of selist objects (Static/Shared or Dynamic) 
     
    15481555); 
    15491556 
     1557// Delete current item from the list (like Ctrl-D on a history :-) 
     1558ULONG TxSelDeleteCurrent                        // RET   resulting selected 
     1559( 
     1560   TXSELIST           *list                     // INOUT selection list 
     1561); 
     1562 
    15501563// Create static selist from existing Txt list 
    15511564ULONG TxSelistFromTxt                           // RET   result 
     
    17511764   char               *text,                    // IN    leading string 
    17521765   LLONG               data,                    // IN    size data 
     1766   char               *trail                    // IN    trailing text 
     1767); 
     1768 
     1769// Format time in seconds in an HHH:MM:SS string (Elapsed/ETA) 
     1770char *txStrSec2hms                              // RET   resulting string 
     1771( 
     1772   char               *str,                     // OUT   resulting string 
     1773   char               *text,                    // IN    leading string 
     1774   ULONG               sec,                     // IN    seconds 
    17531775   char               *trail                    // IN    trailing text 
    17541776);