46#define INDETERMINATE_STATE _( "-- mixed values --" )
47#define INDETERMINATE_ACTION _( "-- leave unchanged --" )
160 const wxBitmapBundle& aImage,
161 wxItemKind aType = wxITEM_NORMAL );
176 const wxString& aHelpText,
const wxBitmapBundle& aImage,
177 wxItemKind aType = wxITEM_NORMAL );
191 const wxString& aText,
const wxBitmapBundle& aImage );
207 const wxString& aText,
const wxString& aHelpText,
208 const wxBitmapBundle& aImage );
KICOMMON_API wxFont GetMonospacedUIFont()
KICOMMON_API int GetStdMargin()
Get the standard margin around a widget in the KiCad UI.
KICOMMON_API wxFont GetDockedPaneFont(wxWindow *aWindow)
KICOMMON_API wxFont GetStatusFont(wxWindow *aWindow)
KICOMMON_API bool IsInputControlFocused(wxWindow *aFocus=nullptr)
Check if a input control has focus.
KICOMMON_API bool IsInputControlEditable(wxWindow *aControl)
Check if a input control has focus.
KICOMMON_API wxString EllipsizeMenuText(const wxString &aString)
Ellipsize text (at the end) to be no more than 36 characters.
KICOMMON_API wxFont GetInfoFont(wxWindow *aWindow)
KICOMMON_API bool IsModalDialogFocused()
KICOMMON_API wxFont GetControlFont(wxWindow *aWindow)
KICOMMON_API wxMenuItem * AddMenuItem(wxMenu *aMenu, int aId, const wxString &aText, const wxBitmapBundle &aImage, wxItemKind aType=wxITEM_NORMAL)
Create and insert a menu item with an icon into aMenu.
KICOMMON_API wxString EllipsizeStatusText(wxWindow *aWindow, const wxString &aString)
Ellipsize text (at the end) to be no more than 1/3 of the window width.
KICOMMON_API const wxString s_FocusStealableInputName
KICOMMON_API void SelectReferenceNumber(wxTextEntry *aTextEntry)
Select the number (or "?") in a reference for ease of editing.
KICOMMON_API wxSize GetTextSize(const wxString &aSingleLine, wxWindow *aWindow)
Return the size of aSingleLine of text when it is rendered in aWindow using whatever font is currentl...
KICOMMON_API void AddBitmapToMenuItem(wxMenuItem *aMenu, const wxBitmapBundle &aImage)
Add a bitmap to a menuitem.
KICOMMON_API bool EnsureTextCtrlWidth(wxTextCtrl *aCtrl, const wxString *aString=nullptr)
Set the minimum pixel width on a text control in order to make a text string be fully visible within ...
KICOMMON_API void Disable(wxWindow *aWindow)
Makes a window read-only.
const int c_IndicatorSizeDIP
KICOMMON_API SEVERITY SeverityFromString(const wxString &aSeverity)
KICOMMON_API wxString SeverityToString(const SEVERITY &aSeverity)