GrafX2 2.9.3227
The ultimate 256-color painting program
T_Fileselector_item Struct Reference

Data for one item (file, directory) in a fileselector. More...

#include <struct.h>

+ Collaboration diagram for T_Fileselector_item:

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_itemNext
 Pointer to next item of the current fileselector. More...
 
struct T_Fileselector_itemPrevious
 Pointer to previous item of the current fileselector. More...
 
wordUnicode_full_name
 Pointer to allocated unicode string. Filesystem name. More...
 
wordUnicode_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...
 

Detailed Description

Data for one item (file, directory) in a fileselector.

Field Documentation

◆ Type

enum FSOBJECT_TYPE T_Fileselector_item::Type

◆ Icon

byte T_Fileselector_item::Icon

One of ICON_TYPES, ICON_NONE for none.

Referenced by Add_element_to_list(), and Display_file_list().

◆ Next

◆ Previous

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().

◆ Unicode_full_name

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().

◆ Unicode_short_name

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().

◆ Short_name

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().

◆ Full_name


The documentation for this struct was generated from the following file: