KiCad PCB EDA Suite
Loading...
Searching...
No Matches
drc_re_bitmap_overlay_panel.cpp File Reference
#include <algorithm>
#include "drc_re_bitmap_overlay_panel.h"
#include "drc_re_overlay_field.h"
#include "panel_drc_rule_editor.h"
#include <bitmaps.h>
#include <wx/bmpbndl.h>
#include <wx/checkbox.h>
#include <wx/dcbuffer.h>
#include <wx/dcclient.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>

Go to the source code of this file.

Variables

static constexpr int LABEL_GAP = 4
 Space between a field and the label beside it, in DIP.
 

Variable Documentation

◆ LABEL_GAP

int LABEL_GAP = 4
staticconstexpr

Space between a field and the label beside it, in DIP.

The positioning code places labels at this distance and roomBeforeNextField() has to reserve the same.

Definition at line 38 of file drc_re_bitmap_overlay_panel.cpp.

Referenced by DRC_RE_BITMAP_OVERLAY_PANEL::PositionLabel(), DRC_RE_BITMAP_OVERLAY_PANEL::PositionPrefixLabel(), and DRC_RE_BITMAP_OVERLAY_PANEL::roomBeforeNextField().