KiCad PCB EDA Suite
Loading...
Searching...
No Matches
eda_item_flags.h File Reference
#include <cstdint>

Go to the source code of this file.

Macros

#define IS_CHANGED   (1 << 0)
 Item was edited, and modified.
 
#define IS_LINKED   (1 << 1)
 Used in calculation to mark linked items (temporary use)
 
#define IN_EDIT   (1 << 2)
 Item currently edited.
 
#define IS_MOVING   (1 << 3)
 Item being moved.
 
#define IS_NEW   (1 << 4)
 New item, just created.
 
#define IS_BROKEN   (1 << 5)
 Is a segment just broken by BreakSegment.
 
#define IS_DELETED   (1 << 7)
 
#define STARTPOINT   (1 << 9)
 When a line is selected, these flags indicate which.
 
#define ENDPOINT   (1 << 10)
 ends. (Used to support dragging.)
 
#define SELECTED   (1 << 11)
 Item was manually selected by the user.
 
#define SELECTED_BY_DRAG   (1 << 12)
 Item was algorithmically selected as a dragged item.
 
#define STRUCT_DELETED   (1 << 13)
 flag indication structures to be erased
 
#define CANDIDATE   (1 << 14)
 flag indicating that the structure is connected
 
#define SKIP_STRUCT   (1 << 15)
 flag indicating that the structure should be ignored
 
#define IS_PASTED   (1 << 17)
 Modifier on IS_NEW which indicates it came from clipboard.
 
#define IS_SHOWN_AS_BITMAP   (1 << 18)
 
#define COURTYARD_CONFLICT   (1 << 19)
 temporary set when moving footprints having courtyard overlapping
 
#define MALFORMED_F_COURTYARD   (1 << 20)
 
#define MALFORMED_B_COURTYARD   (1 << 21)
 
#define MALFORMED_COURTYARDS   ( MALFORMED_F_COURTYARD | MALFORMED_B_COURTYARD )
 
#define ROUTER_TRANSIENT   (1 << 22)
 transient items that should NOT be cached
 
#define HOLE_PROXY   (1 << 24)
 Indicates the BOARD_ITEM is a proxy for its hole.
 
#define IS_ROLLOVER   (1 << 25)
 Rollover active. Used for hyperlink highlighting.
 
#define SHOW_ELEC_TYPE   (1 << 25)
 Show pin electrical type. Shared with IS_ROLLOVER.
 
#define BRIGHTENED   (1 << 26)
 item is drawn with a bright contour
 
#define UR_TRANSIENT   (1 << 28)
 indicates the item is owned by the undo/redo stack
 
#define IS_DANGLING   (1 << 29)
 indicates a pin is dangling
 
#define ENTERED   (1 << 30)
 indicates a group has been entered
 
#define EDA_ITEM_ALL_FLAGS   UINT32_MAX
 

Typedefs

typedef std::uint32_t EDA_ITEM_FLAGS
 

Macro Definition Documentation

◆ BRIGHTENED

#define BRIGHTENED   (1 << 26)

item is drawn with a bright contour

Definition at line 68 of file eda_item_flags.h.

◆ CANDIDATE

#define CANDIDATE   (1 << 14)

flag indicating that the structure is connected

Definition at line 50 of file eda_item_flags.h.

◆ COURTYARD_CONFLICT

#define COURTYARD_CONFLICT   (1 << 19)

temporary set when moving footprints having courtyard overlapping

Definition at line 56 of file eda_item_flags.h.

◆ EDA_ITEM_ALL_FLAGS

#define EDA_ITEM_ALL_FLAGS   UINT32_MAX

Definition at line 80 of file eda_item_flags.h.

◆ ENDPOINT

#define ENDPOINT   (1 << 10)

ends. (Used to support dragging.)

Definition at line 46 of file eda_item_flags.h.

◆ ENTERED

#define ENTERED   (1 << 30)

indicates a group has been entered

Definition at line 75 of file eda_item_flags.h.

◆ HOLE_PROXY

#define HOLE_PROXY   (1 << 24)

Indicates the BOARD_ITEM is a proxy for its hole.

Definition at line 65 of file eda_item_flags.h.

◆ IN_EDIT

#define IN_EDIT   (1 << 2)

Item currently edited.

Definition at line 38 of file eda_item_flags.h.

◆ IS_BROKEN

#define IS_BROKEN   (1 << 5)

Is a segment just broken by BreakSegment.

Definition at line 41 of file eda_item_flags.h.

◆ IS_CHANGED

#define IS_CHANGED   (1 << 0)

Item was edited, and modified.

Definition at line 36 of file eda_item_flags.h.

◆ IS_DANGLING

#define IS_DANGLING   (1 << 29)

indicates a pin is dangling

Definition at line 74 of file eda_item_flags.h.

◆ IS_DELETED

#define IS_DELETED   (1 << 7)

Definition at line 43 of file eda_item_flags.h.

◆ IS_LINKED

#define IS_LINKED   (1 << 1)

Used in calculation to mark linked items (temporary use)

Definition at line 37 of file eda_item_flags.h.

◆ IS_MOVING

#define IS_MOVING   (1 << 3)

Item being moved.

Definition at line 39 of file eda_item_flags.h.

◆ IS_NEW

#define IS_NEW   (1 << 4)

New item, just created.

Definition at line 40 of file eda_item_flags.h.

◆ IS_PASTED

#define IS_PASTED   (1 << 17)

Modifier on IS_NEW which indicates it came from clipboard.

Definition at line 53 of file eda_item_flags.h.

◆ IS_ROLLOVER

#define IS_ROLLOVER   (1 << 25)

Rollover active. Used for hyperlink highlighting.

Definition at line 66 of file eda_item_flags.h.

◆ IS_SHOWN_AS_BITMAP

#define IS_SHOWN_AS_BITMAP   (1 << 18)

Definition at line 54 of file eda_item_flags.h.

◆ MALFORMED_B_COURTYARD

#define MALFORMED_B_COURTYARD   (1 << 21)

Definition at line 58 of file eda_item_flags.h.

◆ MALFORMED_COURTYARDS

#define MALFORMED_COURTYARDS   ( MALFORMED_F_COURTYARD | MALFORMED_B_COURTYARD )

Definition at line 59 of file eda_item_flags.h.

◆ MALFORMED_F_COURTYARD

#define MALFORMED_F_COURTYARD   (1 << 20)

Definition at line 57 of file eda_item_flags.h.

◆ ROUTER_TRANSIENT

#define ROUTER_TRANSIENT   (1 << 22)

transient items that should NOT be cached

Definition at line 61 of file eda_item_flags.h.

◆ SELECTED

#define SELECTED   (1 << 11)

Item was manually selected by the user.

Definition at line 47 of file eda_item_flags.h.

◆ SELECTED_BY_DRAG

#define SELECTED_BY_DRAG   (1 << 12)

Item was algorithmically selected as a dragged item.

Definition at line 48 of file eda_item_flags.h.

◆ SHOW_ELEC_TYPE

#define SHOW_ELEC_TYPE   (1 << 25)

Show pin electrical type. Shared with IS_ROLLOVER.

Definition at line 67 of file eda_item_flags.h.

◆ SKIP_STRUCT

#define SKIP_STRUCT   (1 << 15)

flag indicating that the structure should be ignored

Definition at line 51 of file eda_item_flags.h.

◆ STARTPOINT

#define STARTPOINT   (1 << 9)

When a line is selected, these flags indicate which.

Definition at line 45 of file eda_item_flags.h.

◆ STRUCT_DELETED

#define STRUCT_DELETED   (1 << 13)

flag indication structures to be erased

Definition at line 49 of file eda_item_flags.h.

◆ UR_TRANSIENT

#define UR_TRANSIENT   (1 << 28)

indicates the item is owned by the undo/redo stack

Definition at line 72 of file eda_item_flags.h.

Typedef Documentation

◆ EDA_ITEM_FLAGS

typedef std::uint32_t EDA_ITEM_FLAGS

Definition at line 82 of file eda_item_flags.h.