- Main Page
- Data Structures
- Files

- File List

# files.h

    00001 /*  Grafx2 - The Ultimate 256-color bitmap paint program
    00002
    00003     Copyright 2007 Adrien Destugues
    00004     Copyright 1996-2001 Sunset Design (Guillaume Dorme & Karl Maritaud)
    00005
    00006     Grafx2 is free software; you can redistribute it and/or
    00007     modify it under the terms of the GNU General Public License
    00008     as published by the Free Software Foundation; version 2
    00009     of the License.
    00010
    00011     Grafx2 is distributed in the hope that it will be useful,
    00012     but WITHOUT ANY WARRANTY; without even the implied warranty of
    00013     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    00014     GNU General Public License for more details.
    00015
    00016     You should have received a copy of the GNU General Public License
    00017     along with Grafx2; if not, see <http://www.gnu.org/licenses/> or
    00018     write to the Free Software Foundation, Inc.,
    00019     59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
    00020 */
    00021 // Modifie Principal_Repertoire_courant en y mettant sa nouvelle valeur
    00022 // (avec le nom du disque)
    00023 int  Determiner_repertoire_courant(void);
    00024
    00025 // -- Destruction de la liste chaînée ---------------------------------------
    00026 void Detruire_liste_du_fileselect(void);
    00027 // -- Lecture d'une liste de fichiers ---------------------------------------
    00028 void Lire_liste_des_fichiers(byte Format_demande);
    00029 // -- Lecture d'une liste de lecteurs / volumes -----------------------------
    00030 void Lire_liste_des_lecteurs(void);
    00031 // -- Tri de la liste des fichiers et répertoires ---------------------------
    00032 void Trier_la_liste_des_fichiers(void);
    00033 // -- Affichage des éléments de la liste de fichier / répertoire ------------
    00034 void Afficher_la_liste_des_fichiers(short Decalage_premier,short Decalage_select);
    00035 // -- Récupérer le libellé d'un élément de la liste -------------------------
    00036 void Determiner_element_de_la_liste(short Decalage_premier,short Decalage_select,char * Libelle,int *Type);
    00037
    00038 void Afficher_bookmark(struct Fenetre_Bouton_dropdown * Bouton, int Numero_bookmark);
    00039
    00040 // -- Déplacements dans la liste des fichiers -------------------------------
    00041
    00042 void Select_Scroll_Down(short * Decalage_premier,short * Decalage_select);
    00043 void Select_Scroll_Up  (short * Decalage_premier,short * Decalage_select);
    00044 void Select_Page_Down  (short * Decalage_premier,short * Decalage_select, short Lignes);
    00045 void Select_Page_Up    (short * Decalage_premier,short * Decalage_select, short Lignes);
    00046 void Select_End        (short * Decalage_premier,short * Decalage_select);
    00047 void Select_Home       (short * Decalage_premier,short * Decalage_select);
    00048
    00049 short Calculer_decalage_click_dans_fileselector(void);
    00050
    00051 char * Nom_formate(char * Nom, int Type);
    00052
    00053 // Scans a directory, calls Callback for each file in it,
    00054 void for_each_file(const char * Nom_repertoire, void Callback(const char *));
    00055