GrafX2 2.9.3227
The ultimate 256-color painting program
|
A window control that represents a scrollbar, with a slider, and two arrow buttons. More...
#include <struct.h>
Data Fields | |
short | Number |
Unique identifier for all controls. More... | |
byte | Is_horizontal |
Boolean: True if slider is horizontal instead of vertical. More... | |
word | Pos_X |
Coordinate for top of button, relative to the window, before scaling. More... | |
word | Pos_Y |
Coordinate for left of button, relative to the window, before scaling. More... | |
word | Length |
Length before scaling. More... | |
word | Nb_elements |
Number of distinct values it can take. More... | |
word | Nb_visibles |
If this slider is meant to show several elements of a collection, this is their number (otherwise, it's 1). More... | |
word | Position |
Current position of the slider: which item it's pointing. More... | |
word | Cursor_length |
Dimension of the slider, in pixels before scaling. More... | |
struct T_Scroller_button * | Next |
Pointer to the next scroller of current window. More... | |
A window control that represents a scrollbar, with a slider, and two arrow buttons.
short T_Scroller_button::Number |
Unique identifier for all controls.
Referenced by Window_clicked_button(), Window_get_clicked_button(), Window_set_horizontal_scroller_button(), and Window_set_scroller_button().
byte T_Scroller_button::Is_horizontal |
Boolean: True if slider is horizontal instead of vertical.
Referenced by Window_draw_scroller_button(), Window_draw_slider(), Window_get_clicked_button(), Window_set_horizontal_scroller_button(), and Window_set_scroller_button().
word T_Scroller_button::Pos_X |
Coordinate for top of button, relative to the window, before scaling.
Referenced by Window_draw_scroller_button(), Window_draw_slider(), Window_get_clicked_button(), Window_set_horizontal_scroller_button(), and Window_set_scroller_button().
word T_Scroller_button::Pos_Y |
Coordinate for left of button, relative to the window, before scaling.
Referenced by Window_draw_scroller_button(), Window_draw_slider(), Window_get_clicked_button(), Window_set_horizontal_scroller_button(), and Window_set_scroller_button().
word T_Scroller_button::Length |
Length before scaling.
Referenced by Compute_slider_cursor_length(), Window_draw_scroller_button(), Window_draw_slider(), Window_get_clicked_button(), Window_set_horizontal_scroller_button(), and Window_set_scroller_button().
word T_Scroller_button::Nb_elements |
Number of distinct values it can take.
Referenced by Compute_slider_cursor_length(), Locate_list_item(), Prepare_and_display_filelist(), Set_palette_slider(), Window_clicked_button(), Window_draw_slider(), Window_get_clicked_button(), Window_help(), Window_redraw_list(), Window_set_horizontal_scroller_button(), and Window_set_scroller_button().
word T_Scroller_button::Nb_visibles |
If this slider is meant to show several elements of a collection, this is their number (otherwise, it's 1).
Referenced by Compute_slider_cursor_length(), Locate_list_item(), Window_clicked_button(), Window_draw_slider(), Window_get_clicked_button(), Window_redraw_list(), Window_set_horizontal_scroller_button(), and Window_set_scroller_button().
word T_Scroller_button::Position |
Current position of the slider: which item it's pointing.
Referenced by Button_Gradients(), Button_Palette(), Button_Secondary_palette(), Draw_all_palette_sliders(), Prepare_and_display_filelist(), Quicksearch_list(), Scroll_fileselector(), Scroll_help(), Set_palette_slider(), Window_clicked_button(), Window_draw_slider(), Window_get_clicked_button(), Window_help(), Window_set_horizontal_scroller_button(), and Window_set_scroller_button().
word T_Scroller_button::Cursor_length |
Dimension of the slider, in pixels before scaling.
Referenced by Compute_slider_cursor_length(), Window_draw_slider(), and Window_get_clicked_button().
struct T_Scroller_button* T_Scroller_button::Next |
Pointer to the next scroller of current window.
Referenced by Window_get_clicked_button(), Window_set_horizontal_scroller_button(), and Window_set_scroller_button().