GrafX2 2.9.3227
The ultimate 256-color painting program
|
Data for one item (file, directory) in a fileselector. More...
#include <struct.h>
Data Fields | |
enum FSOBJECT_TYPE | Type |
Type of item: 0 = File, 1 = Directory, 2 = Drive. More... | |
byte | Icon |
One of ICON_TYPES, ICON_NONE for none. More... | |
struct T_Fileselector_item * | Next |
Pointer to next item of the current fileselector. More... | |
struct T_Fileselector_item * | Previous |
Pointer to previous item of the current fileselector. More... | |
word * | Unicode_full_name |
Pointer to allocated unicode string. Filesystem name. More... | |
word * | Unicode_short_name |
Pointer to allocated unicode string. Name to display. More... | |
char | Short_name [36] |
Name to display. limited to 35 characters (used in factory.c) More... | |
char | Full_name [1] |
Filesystem value. More... | |
Data for one item (file, directory) in a fileselector.
enum FSOBJECT_TYPE T_Fileselector_item::Type |
Type of item: 0 = File, 1 = Directory, 2 = Drive.
Referenced by Add_element_to_list(), Button_Load_or_Save(), Display_file_list(), Find_filename_match(), Get_selected_item(), Read_list_of_files(), Recount_files(), and Sort_list_of_files().
byte T_Fileselector_item::Icon |
One of ICON_TYPES, ICON_NONE for none.
Referenced by Add_element_to_list(), and Display_file_list().
struct T_Fileselector_item* T_Fileselector_item::Next |
Pointer to next item of the current fileselector.
Referenced by Add_element_to_list(), Display_file_list(), Find_file_in_fileselector(), Find_filename_match(), Free_fileselector_list(), Get_item_by_index(), Read_list_of_files(), Recount_files(), and Sort_list_of_files().
struct T_Fileselector_item* T_Fileselector_item::Previous |
Pointer to previous item of the current fileselector.
Referenced by Add_element_to_list(), and Sort_list_of_files().
word* T_Fileselector_item::Unicode_full_name |
Pointer to allocated unicode string. Filesystem name.
Referenced by Find_filename_match(), Free_fileselector_list(), Get_selected_item(), Read_dir_callback(), and Sort_list_of_files().
word* T_Fileselector_item::Unicode_short_name |
Pointer to allocated unicode string. Name to display.
Referenced by Display_file_list(), Free_fileselector_list(), and Read_dir_callback().
char T_Fileselector_item::Short_name[36] |
Name to display. limited to 35 characters (used in factory.c)
Referenced by Add_element_to_list(), Button_Skins(), Display_file_list(), and Draw_one_skin_name().
char T_Fileselector_item::Full_name[1] |
Filesystem value.
Referenced by Add_element_to_list(), Button_Load_or_Save(), Button_Skins(), Find_file_in_fileselector(), Find_filename_match(), Get_selected_item(), Read_list_of_files(), and Sort_list_of_files().