KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
browse.h
Go to the documentation of this file.
1
2#ifndef __BROWSE_H_
3#define __BROWSE_H_
4
5#define BUFFER_LENGTH 512
6
7typedef struct directory_file {
8 char filename[256];
9 bool is_dir;
11
12static bool mount_sd_fat();
13static void unmount_sd_fat();
14
15static void show_prompt(char *current_directory, bool mounted_sd, bool highlight_yes);
16static void delete_file(char *filename, bool mounted_sd);
17
18static void prompt_message(char *message, bool highlight_yes);
19
20static bool draw_stat(const char *path);
21
22static void draw_directory_selector(int index);
23static void draw_directory_contents(directory_file_t *directory_contents, int num);
24
25static int browse_directory(char *directory, directory_file_t *directory_contents);
26
28static bool button_pressed(unsigned int current_buttons, unsigned int changed_buttons, unsigned int button);
29
30#endif
static void delete_file(char *filename, bool mounted_sd)
static void draw_directory_selector(int index)
static void draw_directory_contents(directory_file_t *directory_contents, int num)
static int browse_directory(char *directory, directory_file_t *directory_contents)
static bool button_pressed(unsigned int current_buttons, unsigned int changed_buttons, unsigned int button)
static void unmount_sd_fat()
static void show_prompt(char *current_directory, bool mounted_sd, bool highlight_yes)
static bool mount_sd_fat()
static cont_state_t * get_cont_state()
static void prompt_message(char *message, bool highlight_yes)
static bool draw_stat(const char *path)
Controller state structure.
Definition controller.h:145
Definition browse.h:7
bool is_dir
Definition browse.h:9
static const char message[]
Definition lcd.c:44