GrafX2 2.9.3227
The ultimate 256-color painting program
|
"List" button as used in the font selection, skin selection, and brush factory screens. More...
#include <struct.h>
Data Fields | |
short | Number |
Unique identifier for all controls. More... | |
short | List_start |
Index of the font to appear as first line. More... | |
short | Cursor_position |
Index of the selected line (0=top) More... | |
T_Special_button * | Entry_button |
Pointer to the associated selection control. More... | |
T_Scroller_button * | Scroller |
Pointer to the associated scroller. More... | |
Func_draw_list_item | Draw_list_item |
Function to call for each item to draw its line. More... | |
byte | Color_index |
Background color: From 0->MC_Black to 3->MC_White. More... | |
struct T_List_button * | Next |
Pointer to the next list button of current window. More... | |
"List" button as used in the font selection, skin selection, and brush factory screens.
It's like a limited filelist. The screenmode selection and load/save screen were written before this existed so they use their own code. It would be nice if they were updated to use this one.
short T_List_button::Number |
Unique identifier for all controls.
Referenced by Quicksearch_list(), Window_clicked_button(), and Window_set_list_button().
short T_List_button::List_start |
Index of the font to appear as first line.
Referenced by Button_Skins(), Button_Text(), Locate_list_item(), Quicksearch_list(), Window_clicked_button(), Window_redraw_list(), and Window_set_list_button().
short T_List_button::Cursor_position |
Index of the selected line (0=top)
Referenced by Button_Skins(), Button_Text(), Locate_list_item(), Quicksearch_list(), Window_clicked_button(), Window_redraw_list(), and Window_set_list_button().
T_Special_button* T_List_button::Entry_button |
Pointer to the associated selection control.
Referenced by Window_clicked_button(), Window_redraw_list(), and Window_set_list_button().
T_Scroller_button* T_List_button::Scroller |
Pointer to the associated scroller.
Referenced by Locate_list_item(), Quicksearch_list(), Window_clicked_button(), Window_redraw_list(), and Window_set_list_button().
Func_draw_list_item T_List_button::Draw_list_item |
Function to call for each item to draw its line.
Referenced by Window_clicked_button(), Window_redraw_list(), and Window_set_list_button().
byte T_List_button::Color_index |
Background color: From 0->MC_Black to 3->MC_White.
Referenced by Window_redraw_list(), and Window_set_list_button().
struct T_List_button* T_List_button::Next |
Pointer to the next list button of current window.
Referenced by Window_clicked_button(), Window_get_button_shortcut(), and Window_set_list_button().