| 922 | */ |
| 923 | |
| 924 | Button* LookAndFeelBase::createFileBrowserGoUpButton() |
| 925 | { |
| 926 | using namespace luabind; |
| 927 | |
| 928 | if (methods.contains("createFileBrowserGoUpButton")) |
| 929 | { |
| 930 | try |
| 931 | { |
| 932 | Button *b = call_function<Button*>( |
| 933 | methods["createFileBrowserGoUpButton"] |
| 934 | ); |
| 935 | |
| 936 | if (b != nullptr) |
| 937 | { |
| 938 | return (b); |
| 939 | } |
| 940 | |
| 941 | return (LookAndFeel_V2::createFileBrowserGoUpButton()); |
| 942 | } |
| 943 | catch (luabind::error &e) |
| 944 | { |
| 945 | _WRN(object_cast <std::string> (object(luabind::from_stack(e.state(), -1)))); |
| 946 | return (LookAndFeel_V2::createFileBrowserGoUpButton()); |
| 947 | } |
| 948 | } |
| 949 | else |
| 950 | { |
| 951 | return (LookAndFeel_V2::createFileBrowserGoUpButton()); |
| 952 | } |
| 953 | } |
| 954 | |
| 955 | void LookAndFeelBase::layoutFileBrowserComponent(FileBrowserComponent &fileBrowserComponent, DirectoryContentsDisplayComponent *directoryContentsDisplayComponent, FilePreviewComponent *filePreviewComponent, ComboBox *comboBox, TextEditor *textEditor, Button *goUpButton) |
| 956 | { |
nothing calls this directly
no test coverage detected