NetSurf
Public Types | Data Fields
treeview_selection_walk_data Struct Reference

context for treeview selection More...

Collaboration diagram for treeview_selection_walk_data:
[legend]

Public Types

enum  {
  TREEVIEW_WALK_HAS_SELECTION , TREEVIEW_WALK_GET_FIRST_SELECTED , TREEVIEW_WALK_CLEAR_SELECTION , TREEVIEW_WALK_SELECT_ALL ,
  TREEVIEW_WALK_COMMIT_SELECT_DRAG , TREEVIEW_WALK_DELETE_SELECTION , TREEVIEW_WALK_PROPAGATE_SELECTION , TREEVIEW_WALK_YANK_SELECTION ,
  TREEVIEW_WALK_COPY_SELECTION
}
 

Data Fields

enum treeview_selection_walk_data:: { ... }  purpose
 
union {
   bool   has_selection
 
   struct {
      bool   required
 
      struct rect *   rect
 
   }   redraw
 
   struct {
      int   sel_min
 
      int   sel_max
 
   }   drag
 
   struct {
      treeview_node *   prev
 
      treeview_node *   fixed
 
   }   yank
 
   struct {
      treeview_node *   n
 
   }   first
 
   struct {
      char *   text
 
      uint32_t   len
 
   }   copy
 
data
 
int current_y
 
treeviewtree
 

Detailed Description

context for treeview selection

Definition at line 3112 of file treeview.c.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
TREEVIEW_WALK_HAS_SELECTION 
TREEVIEW_WALK_GET_FIRST_SELECTED 
TREEVIEW_WALK_CLEAR_SELECTION 
TREEVIEW_WALK_SELECT_ALL 
TREEVIEW_WALK_COMMIT_SELECT_DRAG 
TREEVIEW_WALK_DELETE_SELECTION 
TREEVIEW_WALK_PROPAGATE_SELECTION 
TREEVIEW_WALK_YANK_SELECTION 
TREEVIEW_WALK_COPY_SELECTION 

Definition at line 3113 of file treeview.c.

Field Documentation

◆ 

struct { ... } treeview_selection_walk_data::copy

◆ current_y

int treeview_selection_walk_data::current_y

◆ 

union { ... } treeview_selection_walk_data::data

◆ 

struct { ... } treeview_selection_walk_data::drag

◆ 

struct { ... } treeview_selection_walk_data::first

◆ fixed

treeview_node* treeview_selection_walk_data::fixed

Definition at line 3136 of file treeview.c.

Referenced by treeview_move_yank_selection(), and treeview_node_selection_walk_cb().

◆ has_selection

bool treeview_selection_walk_data::has_selection

Definition at line 3125 of file treeview.c.

Referenced by treeview_has_selection(), and treeview_node_selection_walk_cb().

◆ len

uint32_t treeview_selection_walk_data::len

Definition at line 3143 of file treeview.c.

Referenced by treeview_copy_selection(), and treeview_node_selection_walk_cb().

◆ n

treeview_node* treeview_selection_walk_data::n

◆ prev

treeview_node* treeview_selection_walk_data::prev

Definition at line 3135 of file treeview.c.

Referenced by treeview_move_yank_selection(), and treeview_node_selection_walk_cb().

◆ 

enum { ... } treeview_selection_walk_data::purpose

◆ rect

struct rect* treeview_selection_walk_data::rect

◆ 

struct { ... } treeview_selection_walk_data::redraw

◆ required

bool treeview_selection_walk_data::required

◆ sel_max

int treeview_selection_walk_data::sel_max

Definition at line 3132 of file treeview.c.

Referenced by treeview_commit_selection_drag(), and treeview_node_selection_walk_cb().

◆ sel_min

int treeview_selection_walk_data::sel_min

Definition at line 3131 of file treeview.c.

Referenced by treeview_commit_selection_drag(), and treeview_node_selection_walk_cb().

◆ text

char* treeview_selection_walk_data::text

Definition at line 3142 of file treeview.c.

Referenced by treeview_copy_selection(), and treeview_node_selection_walk_cb().

◆ tree

treeview* treeview_selection_walk_data::tree

◆ 

struct { ... } treeview_selection_walk_data::yank

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