KiCad PCB EDA Suite
Loading...
Searching...
No Matches
layer_widget.cpp File Reference
#include "layer_widget.h"
#include <bitmaps.h>
#include <macros.h>
#include <widgets/indicator_icon.h>
#include <widgets/wx_ellipsized_static_text.h>
#include <wx/checkbox.h>
#include <algorithm>

Go to the source code of this file.

Functions

static void shrinkFont (wxWindow *aControl, int aPointSize)
 Reduce the size of the wxFont associated with aControl.
 

Function Documentation

◆ shrinkFont()

static void shrinkFont ( wxWindow *  aControl,
int  aPointSize 
)
static

Reduce the size of the wxFont associated with aControl.

Definition at line 53 of file layer_widget.cpp.

Referenced by LAYER_WIDGET::insertLayerRow(), and LAYER_WIDGET::insertRenderRow().