Move TEXT_ANGLE defines to eda_text.
This commit is contained in:
parent
1fd43b4dc2
commit
dbcb1ecdb7
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <trigo.h>
|
||||
#include <bitmaps.h>
|
||||
#include <common.h>
|
||||
#include <eda_text.h>
|
||||
#include <msgpanel.h>
|
||||
#include <gerbview_frame.h>
|
||||
#include <convert_basic_shapes_to_polygon.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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue