MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / createComboBoxTextBox

Method createComboBoxTextBox

Source/Lua/JuceClasses/LComponents.cpp:1032–1062  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1030}
1031
1032Label* LookAndFeelBase::createComboBoxTextBox(ComboBox &comboBox)
1033{
1034 using namespace luabind;
1035
1036 if (methods.contains("createComboBoxTextBox"))
1037 {
1038 try
1039 {
1040 Label *l = call_function<Label*>(
1041 methods["createComboBoxTextBox"],
1042 boost::ref(comboBox)
1043 );
1044
1045 if (l != nullptr)
1046 {
1047 return (l);
1048 }
1049
1050 return (LookAndFeel_V2::createComboBoxTextBox(comboBox));
1051 }
1052 catch (luabind::error &e)
1053 {
1054 _WRN(object_cast <std::string> (object(luabind::from_stack(e.state(), -1))));
1055 return (LookAndFeel_V2::createComboBoxTextBox(comboBox));
1056 }
1057 }
1058 else
1059 {
1060 return (LookAndFeel_V2::createComboBoxTextBox(comboBox));
1061 }
1062}
1063
1064void LookAndFeelBase::positionComboBoxText(ComboBox &comboBox, Label &label)
1065{

Callers

nothing calls this directly

Calls 4

from_stackClass · 0.85
stateMethod · 0.80
objectClass · 0.50
containsMethod · 0.45

Tested by

no test coverage detected