NetSurf
|
#include "netsurf/mouse.h"
Go to the source code of this file.
Macros | |
#define | AMI_GUI_POINTER_BLANK GUI_POINTER_PROGRESS+1 |
#define | AMI_GUI_POINTER_DRAG GUI_POINTER_PROGRESS+2 |
#define | AMI_LASTPOINTER AMI_GUI_POINTER_DRAG |
Functions | |
void | ami_theme_init (void) |
void | ami_get_theme_filename (char *filename, const char *themestring, bool protocol) |
int | ami_theme_throbber_get_width (void) |
int | ami_theme_throbber_get_height (void) |
void | ami_theme_throbber_setup (void) |
void | ami_theme_throbber_free (void) |
void | ami_update_throbber (struct gui_window_2 *g, bool redraw) |
void | ami_init_mouse_pointers (void) |
void | ami_mouse_pointers_free (void) |
void | ami_update_pointer (struct Window *win, gui_pointer_shape shape) |
void | gui_window_start_throbber (struct gui_window *g) |
void | gui_window_stop_throbber (struct gui_window *g) |
void | ami_throbber_redraw_schedule (int t, struct gui_window *g) |
void | gui_window_set_pointer (struct gui_window *g, gui_pointer_shape shape) |
set the pointer shape More... | |
#define AMI_GUI_POINTER_BLANK GUI_POINTER_PROGRESS+1 |
#define AMI_GUI_POINTER_DRAG GUI_POINTER_PROGRESS+2 |
#define AMI_LASTPOINTER AMI_GUI_POINTER_DRAG |
void ami_get_theme_filename | ( | char * | filename, |
const char * | themestring, | ||
bool | protocol | ||
) |
Definition at line 198 of file theme.c.
References messages_get(), and nsoption_charp.
Referenced by ami_init_mouse_pointers(), ami_theme_throbber_setup(), and gui_window_create().
void ami_init_mouse_pointers | ( | void | ) |
Definition at line 284 of file theme.c.
References ami_get_theme_filename(), AMI_LASTPOINTER, height, ICONCTRLA_GetImageDataFormat, IDFMT_BITMAPPED, IDFMT_DIRECTMAPPED, LIB_IS_AT_LEAST, mouseptrbm, mouseptrobj, NewObject(), nsoption_bool, ptrs, ptrs32, and width.
Referenced by main().
void ami_mouse_pointers_free | ( | void | ) |
Definition at line 396 of file theme.c.
References AMI_LASTPOINTER, LIB_IS_AT_LEAST, and mouseptrbm.
Referenced by gui_quit().
void ami_theme_init | ( | void | ) |
Definition at line 134 of file theme.c.
References amiga_warn_user(), messages_add_from_file(), nsoption_charp, and nsoption_set_charp.
Referenced by main().
void ami_theme_throbber_free | ( | void | ) |
Definition at line 191 of file theme.c.
References amiga_bitmap_destroy(), and throbber_nsbm.
Referenced by gui_quit().
int ami_theme_throbber_get_height | ( | void | ) |
Definition at line 168 of file theme.c.
References bitmap_get_height(), and throbber_nsbm.
Referenced by ami_throbber_update(), gui_window_create(), and gui_window_stop_throbber().
int ami_theme_throbber_get_width | ( | void | ) |
Definition at line 163 of file theme.c.
References bitmap_get_width(), throbber_frames, and throbber_nsbm.
Referenced by ami_throbber_update(), gui_window_create(), and gui_window_stop_throbber().
void ami_theme_throbber_setup | ( | void | ) |
Definition at line 173 of file theme.c.
References ami_bitmap_from_datatype(), ami_bitmap_get_native(), ami_get_theme_filename(), ami_plot_screen_is_palettemapped(), bitmap_get_height(), bitmap_get_width(), messages_get(), throbber_frames, throbber_nsbm, and throbber_update_interval.
Referenced by ami_openscreenfirst().
void ami_throbber_redraw_schedule | ( | int | t, |
struct gui_window * | g | ||
) |
Definition at line 517 of file theme.c.
References ami_schedule(), and ami_throbber_update().
Referenced by ami_gui_event(), ami_switch_tab(), ami_throbber_update(), gui_window_start_throbber(), gui_window_stop_throbber(), and HOOKF().
void ami_update_pointer | ( | struct Window * | win, |
gui_pointer_shape | shape | ||
) |
Definition at line 221 of file theme.c.
References ami_drag_has_data(), GUI_POINTER_DEFAULT, GUI_POINTER_WAIT, LIB_IS_AT_LEAST, mouseptrobj, and nsoption_bool.
Referenced by ami_file_save(), ami_gui_opts_use(), ami_reset_pointer(), ami_search_set_hourglass(), ami_set_pointer(), and HOOKF().
void ami_update_throbber | ( | struct gui_window_2 * | g, |
bool | redraw | ||
) |
void gui_window_set_pointer | ( | struct gui_window * | g, |
gui_pointer_shape | shape | ||
) |
void gui_window_start_throbber | ( | struct gui_window * | g | ) |
void gui_window_stop_throbber | ( | struct gui_window * | g | ) |