#include <casecombobox.h>
Public Types | |
| enum | Filter { FILTER_NONE, FILTER_SFX, FILTER_MUSIC } |
| Specifies what samples should not be included in the combo box. | |
Public Member Functions | |
| AudioComboBox (const AudioMap &map, const Filter &filter=FILTER_NONE) | |
| Constructor. | |
| bool | empty () const |
| See if the combo box is empty. | |
| Glib::ustring | get_selected_internal () const |
| Get the selected audio sample's internal ID. | |
| Case::Audio * | get_selected_audio () |
| Get the selected audio sample. | |
Protected Attributes | |
| AudioMap | m_Audio |
| Internal map of audio samples. | |
| AudioComboBox::AudioComboBox | ( | const AudioMap & | map, | |
| const Filter & | filter = FILTER_NONE | |||
| ) |
Constructor.
| map | Map of audio samples to display | |
| filter | What types of samples to cull |
| bool AudioComboBox::empty | ( | ) | const [inline] |
See if the combo box is empty.
| Glib::ustring AudioComboBox::get_selected_internal | ( | ) | const |
Get the selected audio sample's internal ID.
| Case::Audio * AudioComboBox::get_selected_audio | ( | ) |
Get the selected audio sample.
1.5.3