KiCad PCB EDA Suite
grid_tricks.h File Reference
#include <bitset>
#include <functional>
#include <wx/grid.h>
#include <wx/event.h>
#include <wx/menu.h>
#include <widgets/wx_grid.h>

Go to the source code of this file.

Classes

class  GRID_TRICKS
 Add mouse and command handling (such as cut, copy, and paste) to a WX_GRID instance. More...
 

Macros

#define GRIDTRICKS_MAX_COL   50
 

Enumerations

enum  {
  GRIDTRICKS_FIRST_ID = 901 , GRIDTRICKS_ID_CUT , GRIDTRICKS_ID_COPY , GRIDTRICKS_ID_DELETE ,
  GRIDTRICKS_ID_PASTE , GRIDTRICKS_ID_SELECT , GRIDTRICKS_FIRST_CLIENT_ID = 1101 , GRID_TRICKS_LAST_CLIENT_ID = 2100 ,
  GRIDTRICKS_FIRST_SHOWHIDE , GRIDTRICKS_LAST_ID = GRIDTRICKS_FIRST_SHOWHIDE + GRIDTRICKS_MAX_COL
}
 

Macro Definition Documentation

◆ GRIDTRICKS_MAX_COL

#define GRIDTRICKS_MAX_COL   50

Definition at line 37 of file grid_tricks.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
GRIDTRICKS_FIRST_ID 
GRIDTRICKS_ID_CUT 
GRIDTRICKS_ID_COPY 
GRIDTRICKS_ID_DELETE 
GRIDTRICKS_ID_PASTE 
GRIDTRICKS_ID_SELECT 
GRIDTRICKS_FIRST_CLIENT_ID 
GRID_TRICKS_LAST_CLIENT_ID 
GRIDTRICKS_FIRST_SHOWHIDE 
GRIDTRICKS_LAST_ID 

Definition at line 39 of file grid_tricks.h.

40{
47
48 GRIDTRICKS_FIRST_CLIENT_ID = 1101, // reserve IDs for sub-classes
50
51 GRIDTRICKS_FIRST_SHOWHIDE, // reserve IDs for show/hide-column-n
52
54};
#define GRIDTRICKS_MAX_COL
Definition: grid_tricks.h:37
@ GRIDTRICKS_ID_PASTE
Definition: grid_tricks.h:45
@ GRIDTRICKS_FIRST_ID
Definition: grid_tricks.h:41
@ GRID_TRICKS_LAST_CLIENT_ID
Definition: grid_tricks.h:49
@ GRIDTRICKS_FIRST_SHOWHIDE
Definition: grid_tricks.h:51
@ GRIDTRICKS_ID_SELECT
Definition: grid_tricks.h:46
@ GRIDTRICKS_ID_CUT
Definition: grid_tricks.h:42
@ GRIDTRICKS_LAST_ID
Definition: grid_tricks.h:53
@ GRIDTRICKS_ID_COPY
Definition: grid_tricks.h:43
@ GRIDTRICKS_ID_DELETE
Definition: grid_tricks.h:44
@ GRIDTRICKS_FIRST_CLIENT_ID
Definition: grid_tricks.h:48