You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.6 KiB

  1. /**
  2. * @file pagelayout_editor/hotkeys.h
  3. */
  4. /*
  5. * This program source code file is part of KiCad, a free EDA CAD application.
  6. *
  7. * Copyright (C) 2013 CERN
  8. * @author Jean-Pierre Charras, jp.charras at wanadoo.fr
  9. *
  10. * This program is free software; you can redistribute it and/or
  11. * modify it under the terms of the GNU General Public License
  12. * as published by the Free Software Foundation; either version 2
  13. * of the License, or (at your option) any later version.
  14. *
  15. * This program is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. * GNU General Public License for more details.
  19. *
  20. * You should have received a copy of the GNU General Public License
  21. * along with this program; if not, you may find one here:
  22. * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
  23. * or you may search the http://www.gnu.org website for the version 2 license,
  24. * or you may write to the Free Software Foundation, Inc.,
  25. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
  26. */
  27. #ifndef PL_EDITOR_KOTKEYS_H_
  28. #define PL_EDITOR_KOTKEYS_H_
  29. #include <hotkeys_basic.h>
  30. // List of hot keys id.
  31. // see also enum common_hotkey_id_commnand in hotkeys_basic.h
  32. // for shared hotkeys id
  33. enum hotkey_id_commnand {
  34. HK_SWITCH_UNITS = HK_COMMON_END,
  35. HK_MOVE_ITEM,
  36. HK_MOVE_START_POINT,
  37. HK_MOVE_END_POINT,
  38. HK_PLACE_ITEM,
  39. HK_DELETE_ITEM,
  40. HK_LEFT_CLICK,
  41. HK_LEFT_DCLICK
  42. };
  43. // List of hotkey descriptors for PlEditor.
  44. extern struct EDA_HOTKEY_CONFIG PlEditorHokeysDescr[];
  45. #endif // PL_EDITOR_KOTKEYS_H_