KiCad PCB EDA Suite
Loading...
Searching...
No Matches
column_formatter.cpp File Reference
#include "column_formatter.h"
#include <wx/translation.h>
#include <i18n_utility.h>

Go to the source code of this file.

Macros

#define BOOL_TRUE   _HKI( "True" )
 
#define BOOL_FALSE   _HKI( "False" )
 

Functions

bool MatchTranslationOrNative (const wxString &aStr, const wxString &aNativeLabel, bool aCaseSensitive)
 Return true if the given string matches either the translated or native version of the given label.
 

Macro Definition Documentation

◆ BOOL_FALSE

#define BOOL_FALSE   _HKI( "False" )

◆ BOOL_TRUE

#define BOOL_TRUE   _HKI( "True" )

Function Documentation

◆ MatchTranslationOrNative()

bool MatchTranslationOrNative ( const wxString & aStr,
const wxString & aNativeLabel,
bool aCaseSensitive )

Return true if the given string matches either the translated or native version of the given label.

Definition at line 31 of file column_formatter.cpp.

Referenced by COLUMN_FORMATTER::boolFromString(), GetColTypeForString(), GetColTypeForString(), SetPadTypeFromString(), and PIN_INFO_FORMATTER::UpdatePin().