NetSurf
Macros | Functions
drag.h File Reference
#include <stdbool.h>
#include <exec/types.h>
#include "netsurf/window.h"
Include dependency graph for drag.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define AMI_DRAG_THRESHOLD   10
 

Functions

void gui_drag_save_selection (struct gui_window *g, const char *selection)
 Initiates drag saving of a selection from a browser window. More...
 
void gui_drag_save_object (struct gui_window *g, struct hlcache_handle *c, gui_save_type type)
 Initiates drag saving of an object directly from a browser window. More...
 
void ami_drag_save (struct Window *win)
 
void ami_drag_icon_show (struct Window *win, const char *type)
 
void ami_drag_icon_close (struct Window *win)
 
bool ami_drag_icon_move (void)
 
BOOL ami_drag_in_progress (void)
 
bool ami_drag_has_data (void)
 

Macro Definition Documentation

◆ AMI_DRAG_THRESHOLD

#define AMI_DRAG_THRESHOLD   10

Definition at line 28 of file drag.h.

Function Documentation

◆ ami_drag_has_data()

bool ami_drag_has_data ( void  )

Definition at line 329 of file drag.c.

Referenced by ami_gui_event(), and ami_update_pointer().

Here is the caller graph for this function:

◆ ami_drag_icon_close()

void ami_drag_icon_close ( struct Window *  win)

Definition at line 315 of file drag.c.

Referenced by ami_cw_drag_end().

Here is the caller graph for this function:

◆ ami_drag_icon_move()

bool ami_drag_icon_move ( void  )

Definition at line 319 of file drag.c.

Referenced by ami_cw_drag_progress(), and ami_gui_event().

Here is the caller graph for this function:

◆ ami_drag_icon_show()

void ami_drag_icon_show ( struct Window *  win,
const char *  type 
)

Definition at line 311 of file drag.c.

Referenced by ami_cw_drag_start().

Here is the caller graph for this function:

◆ ami_drag_in_progress()

BOOL ami_drag_in_progress ( void  )

Definition at line 324 of file drag.c.

◆ ami_drag_save()

void ami_drag_save ( struct Window *  win)

Definition at line 307 of file drag.c.

Referenced by ami_gui_event().

Here is the caller graph for this function:

◆ gui_drag_save_object()

void gui_drag_save_object ( struct gui_window g,
struct hlcache_handle c,
gui_save_type  save_type 
)

Initiates drag saving of an object directly from a browser window.

Parameters
ggui window
ccontent to save
save_typetype of save

Definition at line 298 of file drag.c.

◆ gui_drag_save_selection()

void gui_drag_save_selection ( struct gui_window g,
const char *  selection 
)

Initiates drag saving of a selection from a browser window.

Parameters
ggui window
selectionselection object

Definition at line 303 of file drag.c.