File encoding preservation + content structure to help browse the code
This commit is contained in:
@@ -34,9 +34,9 @@ typedef struct { WORD X1 ; /* size/pos pixel box */
|
||||
WORD Y2 ;
|
||||
|
||||
WORD Type ;
|
||||
WORD Flags ; /* texte centr‚... */
|
||||
WORD Flags ; /* texte centré... */
|
||||
|
||||
WORD Handle ; /* info retourn‚e si != -1 */
|
||||
WORD Handle ; /* info retournée si != -1 */
|
||||
UBYTE *PtrString ;
|
||||
|
||||
WORD *PtrVar ; /* info switch */
|
||||
@@ -75,7 +75,7 @@ typedef struct { WORD WindowX1 ;
|
||||
|
||||
} T_WINLIST ;
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
|
||||
#define B_GRIS 1
|
||||
#define B_ROUGE 4
|
||||
@@ -88,12 +88,12 @@ typedef struct { WORD WindowX1 ;
|
||||
#define JAUNE 14
|
||||
#define BLANC 15
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
/* asm_sort.asm */
|
||||
|
||||
extern int MySortCompFunc( char**, char** ) ;
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
/* menu.c */
|
||||
|
||||
extern void SetMenuAutoPal(short );
|
||||
@@ -124,7 +124,7 @@ extern void ClearMenu(T_MENU *);
|
||||
extern short ScanListClick(T_MENU *);
|
||||
extern long GereMenu(T_MENU *);
|
||||
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
/* menufunc.c */
|
||||
|
||||
extern T_CLICK_BOX *GetPtrLcb(T_MENU *,short );
|
||||
@@ -136,7 +136,7 @@ extern void InputString(T_MENU *,short ,short );
|
||||
extern void Message(unsigned char *,long );
|
||||
extern long Confirm(unsigned char *,unsigned char *,unsigned char *);
|
||||
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
/* selector.c */
|
||||
|
||||
extern void CutFileName(unsigned char *);
|
||||
@@ -148,7 +148,7 @@ extern void ScanDrives(void);
|
||||
extern long NumDrive(unsigned char *);
|
||||
extern short FileSelector(unsigned char *,unsigned char *,unsigned char *,long );
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
#include <mem.h>
|
||||
#endif
|
||||
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
UBYTE PalMenu[16*3] = { 0,0,0,
|
||||
71,71,119,
|
||||
@@ -41,14 +41,14 @@ WORD FlagAutoPal = FALSE ;
|
||||
|
||||
char InputValueString[64] ;
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
|
||||
void SetMenuAutoPal( WORD flag )
|
||||
{
|
||||
FlagAutoPal = flag ;
|
||||
}
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
|
||||
void InitPalMenu()
|
||||
{
|
||||
@@ -70,7 +70,7 @@ void CopyPalMenu( UBYTE *ptrpal )
|
||||
}
|
||||
}
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
|
||||
void DrawWindow( LONG x1, LONG y1, LONG x2, LONG y2,
|
||||
LONG flags )
|
||||
@@ -115,12 +115,12 @@ void DrawWindow( LONG x1, LONG y1, LONG x2, LONG y2,
|
||||
RestoreClip() ;
|
||||
}
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*
|
||||
Û Û Û ÛÛÜ Û ÛßßßÜ ÛßßßÛ Û Û ÛÛßßß
|
||||
ÛÛßÜÛ ÛÛ ÛÛßÛÛ ÛÛ Û ÛÛ Û ÛÛßÜÛ ßßßßÛ
|
||||
ß ß ßß ßß ß ßßßß ßßßßß ß ß ßßßßß
|
||||
*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*
|
||||
█ █ █ ██▄ █ █▀▀▀▄ █▀▀▀█ █ █ ██▀▀▀
|
||||
██▀▄█ ██ ██▀██ ██ █ ██ █ ██▀▄█ ▀▀▀▀█
|
||||
▀ ▀ ▀▀ ▀▀ ▀ ▀▀▀▀ ▀▀▀▀▀ ▀ ▀ ▀▀▀▀▀
|
||||
*══════════════════════════════════════════════════════════════════════════*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
void OpenWindow( T_WINLIST *wlist, WORD x1, WORD y1, WORD largeur, WORD hauteur )
|
||||
{
|
||||
@@ -169,7 +169,7 @@ void OpenWindow( T_WINLIST *wlist, WORD x1, WORD y1, WORD largeur, WORD hauteur
|
||||
CoulText( 0, -1 ) ;
|
||||
}
|
||||
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
void GetWindowButton( T_MENU *ptrmenu, WORD handle, T_WINLIST *wlist )
|
||||
{
|
||||
@@ -206,7 +206,7 @@ void GetWindowButton( T_MENU *ptrmenu, WORD handle, T_WINLIST *wlist )
|
||||
CoulText( 0, -1 ) ;
|
||||
}
|
||||
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
void WinText( T_WINLIST *wlist, UBYTE *string, LONG value )
|
||||
{
|
||||
@@ -214,7 +214,7 @@ void WinText( T_WINLIST *wlist, UBYTE *string, LONG value )
|
||||
wlist->WindowLig += SizeCar+1 ;
|
||||
}
|
||||
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
void WinList( T_WINLIST *wlist, UBYTE **index, WORD nb, WORD size )
|
||||
{
|
||||
@@ -243,7 +243,7 @@ void WinList( T_WINLIST *wlist, UBYTE **index, WORD nb, WORD size )
|
||||
}
|
||||
}
|
||||
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
void WinSelect( T_WINLIST *wlist, WORD selected, WORD coul )
|
||||
{
|
||||
@@ -277,7 +277,7 @@ void WinSelect( T_WINLIST *wlist, WORD selected, WORD coul )
|
||||
}
|
||||
}
|
||||
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
void WinSepar( T_WINLIST *wlist )
|
||||
{
|
||||
@@ -286,14 +286,14 @@ void WinSepar( T_WINLIST *wlist )
|
||||
wlist->WindowLig += 3 ;
|
||||
}
|
||||
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
void FlipWindow( T_WINLIST *wlist )
|
||||
{
|
||||
CopyBlockPhys( wlist->WindowX1-1, wlist->WindowY1-1, wlist->WindowX2+1, wlist->WindowY2+1 ) ;
|
||||
}
|
||||
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
WORD GetIndexWinList( T_WINLIST *wlist )
|
||||
{
|
||||
@@ -324,12 +324,12 @@ WORD GetIndexWinList( T_WINLIST *wlist )
|
||||
return -1 ;
|
||||
}
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*
|
||||
ÛÜ ÜÛ Ûßßßß ÛÛÜ Û Û Û
|
||||
ÛÛß Û ÛÛßß ÛÛßÛÛ ÛÛ Û
|
||||
ßß ß ßßßßß ßß ß ßßßßß
|
||||
*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*
|
||||
█▄ ▄█ █▀▀▀▀ ██▄ █ █ █
|
||||
██▀ █ ██▀▀ ██▀██ ██ █
|
||||
▀▀ ▀ ▀▀▀▀▀ ▀▀ ▀ ▀▀▀▀▀
|
||||
*══════════════════════════════════════════════════════════════════════════*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
|
||||
void DrawBox( T_MENU *ptrmenu, WORD numlcb, WORD pushed, WORD copyphys )
|
||||
@@ -435,8 +435,8 @@ void DrawBox( T_MENU *ptrmenu, WORD numlcb, WORD pushed, WORD copyphys )
|
||||
RestoreClip() ;
|
||||
}
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
|
||||
T_CLICK_BOX *AddHeaderButton( T_MENU *ptrmenu,
|
||||
WORD x1, WORD y1,
|
||||
@@ -473,7 +473,7 @@ T_CLICK_BOX *AddHeaderButton( T_MENU *ptrmenu,
|
||||
return ptrlcb ;
|
||||
}
|
||||
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
void GetCoorButton( T_MENU *ptrmenu, WORD handle, LONG *x0, LONG *y0, LONG *x1, LONG *y1 )
|
||||
{
|
||||
@@ -501,8 +501,8 @@ void GetCoorButton( T_MENU *ptrmenu, WORD handle, LONG *x0, LONG *y0, LONG *x1,
|
||||
}
|
||||
}
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
void AddButton( T_MENU *ptrmenu,
|
||||
WORD handle,
|
||||
@@ -521,8 +521,8 @@ void AddButton( T_MENU *ptrmenu,
|
||||
ptrlcb->Type = TYPE_BUTTON ;
|
||||
}
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
void AddChangeValue( T_MENU *ptrmenu,
|
||||
WORD handle,
|
||||
@@ -570,8 +570,8 @@ void AddChangeValue( T_MENU *ptrmenu,
|
||||
ptrlcb->Mask = maxvar ;
|
||||
}
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
void AddSwitch( T_MENU *ptrmenu,
|
||||
WORD handle,
|
||||
@@ -594,8 +594,8 @@ void AddSwitch( T_MENU *ptrmenu,
|
||||
ptrlcb->Mask = mask ;
|
||||
}
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
void AddText( T_MENU *ptrmenu,
|
||||
WORD x1, WORD y1,
|
||||
@@ -613,8 +613,8 @@ void AddText( T_MENU *ptrmenu,
|
||||
ptrlcb->Type = TYPE_TEXT ;
|
||||
}
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
void AddWindow( T_MENU *ptrmenu,
|
||||
WORD handle,
|
||||
@@ -632,8 +632,8 @@ void AddWindow( T_MENU *ptrmenu,
|
||||
ptrlcb->Type = TYPE_WINDOW ;
|
||||
}
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
|
||||
WORD GetOptimalSize( WORD deltax )
|
||||
{
|
||||
@@ -641,7 +641,7 @@ WORD GetOptimalSize( WORD deltax )
|
||||
return (deltax-8)/(SizeCar+7) ;
|
||||
}
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
|
||||
WORD OpenMenu( T_MENU *ptrmenu,
|
||||
WORD largeur, WORD hauteur )
|
||||
@@ -667,15 +667,15 @@ WORD OpenMenu( T_MENU *ptrmenu,
|
||||
return TRUE ;
|
||||
}
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
|
||||
void CloseMenu( T_MENU *ptrmenu )
|
||||
{
|
||||
Free( ptrmenu->PtrMallocList ) ;
|
||||
}
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
|
||||
|
||||
WORD DrawMenu( T_MENU *ptrmenu, WORD x1, WORD y1 )
|
||||
@@ -735,7 +735,7 @@ WORD DrawMenu( T_MENU *ptrmenu, WORD x1, WORD y1 )
|
||||
return y2 + 1 ;
|
||||
}
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
|
||||
void ClearMenu( T_MENU *ptrmenu )
|
||||
{
|
||||
@@ -748,8 +748,8 @@ void ClearMenu( T_MENU *ptrmenu )
|
||||
ptrmenu->X2, ptrmenu->Y2 ) ;
|
||||
}
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
/* on scan TOUJOURS une list de click box en DECREMENTANT */
|
||||
|
||||
WORD ScanListClick( T_MENU *ptrmenu )
|
||||
@@ -833,7 +833,7 @@ WORD ScanListKey_prog( T_MENU *ptrmenu )
|
||||
|
||||
*/
|
||||
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
#ifdef ANCIEN
|
||||
LONG GereMenu( T_MENU *ptrmenu, WORD flagwaitclick )
|
||||
{
|
||||
@@ -932,7 +932,7 @@ LONG GereMenu( T_MENU *ptrmenu, WORD flagwaitclick )
|
||||
}
|
||||
#endif
|
||||
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
LONG GereMenu( T_MENU *ptrmenu )
|
||||
{
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <mem.h>
|
||||
#endif
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
|
||||
|
||||
T_CLICK_BOX *GetPtrLcb( T_MENU *ptrmenu, WORD handle )
|
||||
@@ -35,7 +35,7 @@ T_CLICK_BOX *GetPtrLcb( T_MENU *ptrmenu, WORD handle )
|
||||
return 0L ;
|
||||
}
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
|
||||
void OrButtonFlagIfTrue( T_MENU *ptrmenu, WORD handle, WORD flags, WORD test )
|
||||
{
|
||||
@@ -82,8 +82,8 @@ void SwitchButton( T_MENU *ptrmenu, WORD handle )
|
||||
}
|
||||
}
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
|
||||
void ChangeButtonFlags( T_MENU *ptrmenu, WORD handle, WORD flags, WORD flagaff )
|
||||
{
|
||||
@@ -108,7 +108,7 @@ void ChangeButtonFlags( T_MENU *ptrmenu, WORD handle, WORD flags, WORD flagaff )
|
||||
}
|
||||
}
|
||||
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
/*
|
||||
WORD GetButtonFlags( T_MENU *ptrmenu, WORD handle )
|
||||
{
|
||||
@@ -129,8 +129,8 @@ WORD GetButtonFlags( T_MENU *ptrmenu, WORD handle )
|
||||
return 0 ;
|
||||
}
|
||||
*/
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
|
||||
void ChangeButtonString( T_MENU *ptrmenu, WORD handle, UBYTE *string, WORD flagaff )
|
||||
{
|
||||
@@ -155,7 +155,7 @@ void ChangeButtonString( T_MENU *ptrmenu, WORD handle, UBYTE *string, WORD flaga
|
||||
}
|
||||
}
|
||||
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
/*
|
||||
UBYTE* GetButtonString( T_MENU *ptrmenu, WORD handle )
|
||||
{
|
||||
@@ -176,8 +176,8 @@ UBYTE* GetButtonString( T_MENU *ptrmenu, WORD handle )
|
||||
return 0L ;
|
||||
}
|
||||
*/
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
|
||||
void InputString( T_MENU *ptrmenu, WORD handle, WORD maxcar )
|
||||
{
|
||||
@@ -413,9 +413,9 @@ void InputString( T_MENU *ptrmenu, WORD handle, WORD maxcar )
|
||||
while( Key OR Click OR Fire ) AffMouse() ;
|
||||
}
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/* fontions evolu‚es */
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
/* fontions evoluées */
|
||||
|
||||
void Message( UBYTE *message, LONG flag )
|
||||
{
|
||||
@@ -440,7 +440,7 @@ void Message( UBYTE *message, LONG flag )
|
||||
CloseMenu( &menu ) ;
|
||||
}
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
/* Confirm( "Voulez-vous vraiment ?", "OUI" (RETURN), "NON"(ESC) ) ; */
|
||||
|
||||
LONG Confirm( UBYTE *message, UBYTE *oui, UBYTE *non )
|
||||
@@ -482,7 +482,7 @@ LONG Confirm( UBYTE *message, UBYTE *oui, UBYTE *non )
|
||||
return select ;
|
||||
}
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -17,12 +17,12 @@
|
||||
#define MAX_FILES 500
|
||||
#define MAX_DIRS 100
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*
|
||||
Ûßßßß Û Û Ûßßßß ÛÛßßß Ûßßßß Û Ûßßßß Ûßßßß ßßÛßß ÛßßßÛ ÛßßßÛ
|
||||
ÛÛßß ÛÛ ÛÛ ÛÛßß ßßßßÛ ÛÛßß ÛÛ ÛÛßß ÛÛ ÛÛ ÛÛ Û ÛÛßÛß
|
||||
ßß ßß ßßßßß ßßßßß ßßßßß ßßßßß ßßßßß ßßßßß ßßßßß ßß ßßßßß ßß ß
|
||||
*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*
|
||||
█▀▀▀▀ █ █ █▀▀▀▀ ██▀▀▀ █▀▀▀▀ █ █▀▀▀▀ █▀▀▀▀ ▀▀█▀▀ █▀▀▀█ █▀▀▀█
|
||||
██▀▀ ██ ██ ██▀▀ ▀▀▀▀█ ██▀▀ ██ ██▀▀ ██ ██ ██ █ ██▀█▀
|
||||
▀▀ ▀▀ ▀▀▀▀▀ ▀▀▀▀▀ ▀▀▀▀▀ ▀▀▀▀▀ ▀▀▀▀▀ ▀▀▀▀▀ ▀▀▀▀▀ ▀▀ ▀▀▀▀▀ ▀▀ ▀
|
||||
*══════════════════════════════════════════════════════════════════════════*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
UBYTE SelectorPathname [_MAX_PATH] ;
|
||||
UBYTE SDrive[_MAX_DRIVE] ;
|
||||
@@ -46,7 +46,7 @@ T_MENU Selector ;
|
||||
T_WINLIST FilesWindow ;
|
||||
T_WINLIST DirsWindow ;
|
||||
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
void CutFileName( UBYTE *filename )
|
||||
{
|
||||
@@ -55,7 +55,7 @@ void CutFileName( UBYTE *filename )
|
||||
*filename = 0 ;
|
||||
}
|
||||
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
void DrawListFiles( WORD flag )
|
||||
{
|
||||
@@ -123,7 +123,7 @@ void ScanFiles( UBYTE *selection, LONG flag )
|
||||
DrawListFiles( flag ) ;
|
||||
}
|
||||
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
WORD ThereIsFiles( UBYTE *path )
|
||||
{
|
||||
@@ -184,7 +184,7 @@ void ScanDirs( UBYTE *selection )
|
||||
ShowMouse( 1 ) ;
|
||||
}
|
||||
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
void ScanDrives()
|
||||
{
|
||||
@@ -219,14 +219,14 @@ void ScanDrives()
|
||||
ShowMouse( 1 ) ;
|
||||
}
|
||||
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
LONG NumDrive( UBYTE *drive )
|
||||
{
|
||||
return ((*drive)&=~20)-'A'+1 ;
|
||||
}
|
||||
|
||||
/*ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ*/
|
||||
/*──────────────────────────────────────────────────────────────────────────*/
|
||||
|
||||
WORD FileSelector( UBYTE *titre,
|
||||
UBYTE *selection,
|
||||
@@ -490,7 +490,7 @@ WORD FileSelector( UBYTE *titre,
|
||||
if( FileSize( SelectorPathname ) != 0L )
|
||||
{
|
||||
strcpy( workstring, SelectorPathname ) ;
|
||||
strcat( workstring, " existe d‚j… !" ) ;
|
||||
strcat( workstring, " existe déjà !" ) ;
|
||||
if( Confirm(workstring, "Ecrase", "Oups") == 1 )
|
||||
{ /* ok */
|
||||
strcpy( defaultname, SelectorPathname ) ;
|
||||
@@ -551,4 +551,4 @@ WORD FileSelector( UBYTE *titre,
|
||||
return rcode ;
|
||||
}
|
||||
|
||||
/*ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ*/
|
||||
/*══════════════════════════════════════════════════════════════════════════*/
|
||||
|
||||
Reference in New Issue
Block a user