107 FileCur = FileCur->
next;
static tRmFileSelect * rmFs
char * path
Directory containing the files to list.
int GfuiButtonCreate(void *scr, const char *text, int font, int x, int y, int width, int align, int mouse, void *userDataOnPush, tfuiCallback onPush, void *userDataOnFocus, tfuiCallback onFocus, tfuiCallback onFocusLost)
Add a button to a screen.
int GfuiScrollListInsertElement(void *scr, int Id, char *element, int index, void *userData)
Insert an element in a scroll list.
char * GfuiScrollListGetSelectedElement(void *scr, int Id, void **userData)
Get the selected element from the scroll list.
static void rmSelect(void *)
void GfuiScreenRelease(void *scr)
Release the given screen.
static tFList * FileSelected
void GfuiScreenAddBgImg(void *scr, const char *filename)
Add an image background to a screen.
List of (DLL) files for a Directory.
const char * title
Title for file selection (for screen title)
void * prevScreen
Link to previous screen.
static void rmClickOnFile(void *)
The Gaming Framework API (client part).
Structure for file selection.
void * GfuiScreenCreateEx(float *bgColor, void *userDataOnActivate, tfuiCallback onActivate, void *userDataOnDeactivate, tfuiCallback onDeactivate, int mouseAllowed)
Create a screen.
struct FList * next
Next entry.
void GfuiMenuDefaultKeysAdd(void *scr)
Add the default menu keyboard callback to a screen.
void(* tfuiCallback)(void *)
void GfuiScreenActivate(void *screen)
Activate a screen and make it current.
void GfDirFreeList(tFList *list, tfDirfreeUserData freeUserData, bool freename, bool freedispname)
Free a directory list.
static int fileScrollList
tfSelectFile select
Callback function to handle the selection (store the selection in the caller)
int GfuiTitleCreate(void *scr, const char *text, int maxlen)
Add a Title to the screen.
static void rmActivate(void *)
int GfuiScrollListCreate(void *scr, int font, int x, int y, int align, int width, int height, int scrollBarPos, void *userDataOnSelect, tfuiCallback onSelect)
Create a new scroll list.
#define GFUI_FONT_MEDIUM_C
static void rmDeactivate(void *)
tFList * GfDirGetList(const char *dir)
Get the list of files of a given directory.