Mostly some cleanups.

Also added two experimetal functions, Ouvrir_popup and Fermer_popup, and started to implement a (commented) example popup menu for selecting freehand draw mode.
But it seems there are problem if doing a while(Mouse_K), Mouse_K seems to be reset when the mouse moves, or in some other place. Time to sleep so i'll continue that tomorrow.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@474 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2009-01-11 21:59:10 +00:00
parent 7c4d2675ad
commit ab5f789fdf
11 changed files with 182 additions and 23 deletions

View File

@@ -315,13 +315,16 @@ void Lire_liste_des_lecteurs(void)
}
// Other platforms: simply read the "static" list of Drives.
// This should be made dynamic because in the multitask world, user can mount new drives,
// connect to network ones, and so on, while Grafx2 is running.
#else
for (Indice=0; Indice<Nb_drives; Indice++)
{
#warning "Your platform is missing some specific code here ! please check and correct ! :)"
for (Indice=0; Indice<Nb_drives; Indice++)
{
// Add the drive's name ("c:\\", "/" etc.) to the list
Ajouter_element_a_la_liste(Drive[Indice].Chemin, 2);
Liste_Nb_repertoires++;
}
}
#endif
Liste_Nb_elements=Liste_Nb_repertoires+Liste_Nb_fichiers;