diff --git a/gerbview/gerber_draw_item.cpp b/gerbview/gerber_draw_item.cpp index bb2b8ad0fa..e95d731b02 100644 --- a/gerbview/gerber_draw_item.cpp +++ b/gerbview/gerber_draw_item.cpp @@ -24,7 +24,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/common.h b/include/common.h index e6e78708f7..9ed697ecae 100644 --- a/include/common.h +++ b/include/common.h @@ -56,12 +56,6 @@ class REPORTER; /// default name for nameless projects #define NAMELESS_PROJECT wxT( "noname" ) -/// 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 -#define TEXT_ANGLE_VERT 900 - - /** * Return the size of @a aSingleLine of text when it is rendered in @a aWindow * using whatever font is currently set in that window. diff --git a/include/eda_text.h b/include/eda_text.h index a060e8f6aa..f0ba647293 100644 --- a/include/eda_text.h +++ b/include/eda_text.h @@ -45,6 +45,11 @@ namespace KIGFX using KIGFX::RENDER_SETTINGS; using KIGFX::COLOR4D; +/// 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 +#define TEXT_ANGLE_VERT 900 + // part of the kicad_plugin.h family of defines. // See kicad_plugin.h for the choice of the value // When set when calling EDA_TEXT::Format, disable writing the "hide" keyword in save file