From 49e3542662fc25583b994269eae060c1c01b703f Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Mon, 6 Jan 2020 05:55:06 -0800 Subject: [PATCH] Remove unused common defines --- common/common.cpp | 2 -- include/common.h | 18 ------------------ 2 files changed, 20 deletions(-) diff --git a/common/common.cpp b/common/common.cpp index 94fe167ba2..d630e5424e 100644 --- a/common/common.cpp +++ b/common/common.cpp @@ -55,8 +55,6 @@ using KIGFX::COLOR4D; * application class. */ -COLOR4D g_GhostColor; - #if defined( _WIN32 ) && defined( DEBUG ) // a wxAssertHandler_t function to filter wxWidgets alert messages when reading/writing a file diff --git a/include/common.h b/include/common.h index 4baecdfed2..ff49e6ca09 100644 --- a/include/common.h +++ b/include/common.h @@ -48,11 +48,9 @@ #include #include -class wxAboutDialogInfo; class SEARCH_STACK; class REPORTER; - /** * timestamp_t is our type to represent unique IDs for all kinds of elements; * historically simply the timestamp when they were created. @@ -66,18 +64,6 @@ typedef uint32_t timestamp_t; /// default name for nameless projects #define NAMELESS_PROJECT wxT( "noname" ) - -/// Pseudo key codes for command panning -enum pseudokeys { - EDA_PANNING_UP_KEY = 1, - EDA_PANNING_DOWN_KEY, - EDA_PANNING_LEFT_KEY, - EDA_PANNING_RIGHT_KEY, - EDA_ZOOM_IN_FROM_MOUSE, - EDA_ZOOM_OUT_FROM_MOUSE, - EDA_ZOOM_CENTER_FROM_MOUSE -}; - /// Frequent text rotations, used with {Set,Get}TextAngle(), /// in 0.1 degrees for now, hoping to migrate to degrees eventually. #define TEXT_ANGLE_HORIZ 0 @@ -120,10 +106,6 @@ enum class EDA_UNITS }; -/// Draw color for moving objects. -extern KIGFX::COLOR4D g_GhostColor; - - /** * Instantiate the current locale within a scope in which you are expecting * exceptions to be thrown.