KiCad PCB EDA Suite
No Matches
PinShapeComboBox Class Reference

#include <pin_shape_combobox.h>

Inheritance diagram for PinShapeComboBox:

Public Member Functions

 PinShapeComboBox (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &value=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, int n=0, const wxString choices[]=nullptr, long style=0, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxBitmapComboBoxNameStr)
GRAPHIC_PINSHAPE GetPinShapeSelection ()
void SetSelection (GRAPHIC_PINSHAPE aShape)

Detailed Description

Definition at line 33 of file pin_shape_combobox.h.

Constructor & Destructor Documentation

◆ PinShapeComboBox()

PinShapeComboBox::PinShapeComboBox ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxString &  value = wxEmptyString,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
int  n = 0,
const wxString  choices[] = nullptr,
long  style = 0,
const wxValidator &  validator = wxDefaultValidator,
const wxString &  name = wxBitmapComboBoxNameStr 
C++11: replace with forwarder

Definition at line 34 of file pin_shape_combobox.cpp.

References GRAPHIC_PINSHAPES_TOTAL, KiBitmap(), PinShapeGetBitmap(), PinShapeGetText(), and text.

Member Function Documentation

◆ GetPinShapeSelection()

GRAPHIC_PINSHAPE PinShapeComboBox::GetPinShapeSelection ( )

◆ SetSelection()

void PinShapeComboBox::SetSelection ( GRAPHIC_PINSHAPE  aShape)

Definition at line 67 of file pin_shape_combobox.cpp.

Referenced by DIALOG_PIN_PROPERTIES::TransferDataToWindow().

The documentation for this class was generated from the following files: