Lua: Fixed keyboard shortcuts to accomodate with full path names now used. Users who had shortcuts should clear them, from the list of shortcuts in Help screen.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1762 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
11
src/io.h
11
src/io.h
@@ -99,12 +99,21 @@ void For_each_file(const char * directory_name, void Callback(const char *));
|
||||
/// Scans a directory, calls Callback for each file or directory in it,
|
||||
void For_each_directory_entry(const char * directory_name, void Callback(const char *, byte is_file, byte is_directory, byte is_hidden));
|
||||
|
||||
|
||||
///
|
||||
/// Creates a fully qualified name from a directory and filename.
|
||||
/// The point is simply to insert a PATH_SEPARATOR when needed.
|
||||
void Get_full_filename(char * output_name, char * file_name, char * directory_name);
|
||||
|
||||
///
|
||||
/// Appends a file or directory name to an existing directory name.
|
||||
/// As a special case, when the new item is equal to PARENT_DIR, this
|
||||
/// will remove the rightmost directory name.
|
||||
/// reverse_path is optional, if it's non-null, the function will
|
||||
/// write there :
|
||||
/// - if filename is ".." : The name of eliminated directory/file
|
||||
/// - else: ".."
|
||||
void Append_path(char *path, const char *filename, char *reverse_path);
|
||||
|
||||
///
|
||||
/// Creates a lock file, to check if an other instance of Grafx2 is running.
|
||||
/// @return 0 on success (first instance), -1 on failure (others are running)
|
||||
|
||||
Reference in New Issue
Block a user