KiCad PCB EDA Suite
Loading...
Searching...
No Matches
properties_frame.cpp File Reference
#include <project.h>
#include <scintilla_tricks.h>
#include <widgets/bitmap_button.h>
#include <widgets/font_choice.h>
#include <widgets/color_swatch.h>
#include <tool/tool_manager.h>
#include <drawing_sheet/ds_draw_item.h>
#include <drawing_sheet/ds_data_item.h>
#include <drawing_sheet/ds_data_model.h>
#include <view/view.h>
#include <bitmaps.h>
#include "properties_frame.h"
#include "pl_editor_frame.h"
#include "tools/pl_selection_tool.h"
#include <dialogs/html_message_box.h>
#include <wx/wupdlock.h>

Go to the source code of this file.

Macros

#define DLG_MIN_TEXTSIZE   0.01
 Minimum drawing sheet text default size in millmeters from PROPERTIES_FRAME.
 
#define DLG_MAX_TEXTSIZE   100.0
 Maximum drawing sheet text size in mm from PROPERTIES_FRAME.
 

Functions

double fromMM (double aMMValue)
 
double toMM (double aIUValue)
 
bool validateMM (UNIT_BINDER &aUnitBinder, double aMin, double aMax)
 

Macro Definition Documentation

◆ DLG_MAX_TEXTSIZE

#define DLG_MAX_TEXTSIZE   100.0

Maximum drawing sheet text size in mm from PROPERTIES_FRAME.

Definition at line 51 of file properties_frame.cpp.

◆ DLG_MIN_TEXTSIZE

#define DLG_MIN_TEXTSIZE   0.01

Minimum drawing sheet text default size in millmeters from PROPERTIES_FRAME.

Note
0.0 is allowed for a given text to use the default size.

Definition at line 50 of file properties_frame.cpp.

Function Documentation

◆ fromMM()

◆ toMM()

◆ validateMM()

bool validateMM ( UNIT_BINDER aUnitBinder,
double  aMin,
double  aMax 
)