foleys_gui_magic
WYSWYG editor for JUCE GUIs including Visualisers
Public Member Functions | List of all members
FileBrowserDialog Class Reference

Inherits Component, and FileBrowserListener.

Public Member Functions

 FileBrowserDialog (const juce::String cancelText, const juce::String acceptText, int browserMode, const juce::File &directory, std::unique_ptr< juce::FileFilter > filter)
 
void resized () override
 
void paint (juce::Graphics &g) override
 
void setCancelFunction (std::function< void()> func)
 
void setAcceptFunction (std::function< void()> func)
 
juce::File getFile ()
 

Constructor & Destructor Documentation

◆ FileBrowserDialog()

FileBrowserDialog ( const juce::String  cancelText,
const juce::String  acceptText,
int  browserMode,
const juce::File &  directory,
std::unique_ptr< juce::FileFilter >  filter 
)

Member Function Documentation

◆ resized()

void resized ( )
override

◆ paint()

void paint ( juce::Graphics &  g)
override

◆ setCancelFunction()

void setCancelFunction ( std::function< void()>  func)

◆ setAcceptFunction()

void setAcceptFunction ( std::function< void()>  func)

◆ getFile()

juce::File getFile ( )

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