KiCad PCB EDA Suite
Loading...
Searching...
No Matches
rc_item.cpp File Reference
#include <wx/wupdlock.h>
#include <wx/dataview.h>
#include <wx/settings.h>
#include <widgets/ui_common.h>
#include <marker_base.h>
#include <eda_draw_frame.h>
#include <rc_item.h>
#include <rc_json_schema.h>
#include <eda_item.h>
#include <base_units.h>

Go to the source code of this file.

Macros

#define WX_DATAVIEW_WINDOW_PADDING   6
 

Functions

static wxString showCoord (UNITS_PROVIDER *aUnitsProvider, const VECTOR2I &aPos)
 

Macro Definition Documentation

◆ WX_DATAVIEW_WINDOW_PADDING

#define WX_DATAVIEW_WINDOW_PADDING   6

Definition at line 36 of file rc_item.cpp.

Function Documentation

◆ showCoord()

static wxString showCoord ( UNITS_PROVIDER aUnitsProvider,
const VECTOR2I aPos 
)
static

Definition at line 48 of file rc_item.cpp.

References UNITS_PROVIDER::MessageTextFromValue(), VECTOR2< T >::x, and VECTOR2< T >::y.

Referenced by RC_ITEM::ShowReport().