KiCad PCB EDA Suite
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
grid_checkbox.cpp File Reference
#include "widgets/ui_common.h"
#include <widgets/grid_checkbox.h>
#include <wx/renderer.h>

Go to the source code of this file.

Functions

wxRect wxGetContentRect (wxSize contentSize, const wxRect &cellRect, int hAlign, int vAlign)
 

Variables

const int GRID_CELL_CHECKBOX_MARGIN = 2
 

Function Documentation

◆ wxGetContentRect()

wxRect wxGetContentRect ( wxSize  contentSize,
const wxRect &  cellRect,
int  hAlign,
int  vAlign 
)

Definition at line 40 of file grid_checkbox.cpp.

References GRID_CELL_CHECKBOX_MARGIN, and minSize.

Referenced by GRID_CELL_CHECKBOX_RENDERER::Draw().

Variable Documentation

◆ GRID_CELL_CHECKBOX_MARGIN

const int GRID_CELL_CHECKBOX_MARGIN = 2

Definition at line 37 of file grid_checkbox.cpp.

Referenced by wxGetContentRect().