Plutonium framework API
0.3
Simple UI framework for libnx and SDL2
|
Typedefs | |
typedef Mix_Music * | Music |
typedef Mix_Chunk * | Sfx |
Functions | |
Music | Open (std::string Path) |
void | Play (Music Mus, int Loops) |
void | PlayWithFadeIn (Music Mus, int Loops, int Milli) |
bool | IsPlaying () |
void | Pause () |
void | Resume () |
void | SetVolume (int Volume) |
int | GetVolume () |
void | FadeOut (int Milli) |
void | Rewind () |
void | Stop () |
void | SetPosition (double Sec) |
void | Delete (Music Mus) |
Sfx | Load (std::string Path) |
void | Play (Sfx Sfx) |
void | DeleteSfx (Sfx Sfx) |
typedef Mix_Music* pu::audio::Music |
typedef Mix_Chunk* pu::audio::Sfx |
void pu::audio::Delete | ( | Music | Mus | ) |
void pu::audio::DeleteSfx | ( | Sfx | Sfx | ) |
void pu::audio::FadeOut | ( | int | Milli | ) |
int pu::audio::GetVolume | ( | ) |
bool pu::audio::IsPlaying | ( | ) |
Sfx pu::audio::Load | ( | std::string | Path | ) |
Music pu::audio::Open | ( | std::string | Path | ) |
void pu::audio::Pause | ( | ) |
void pu::audio::Play | ( | Music | Mus, |
int | Loops | ||
) |
void pu::audio::Play | ( | Sfx | Sfx | ) |
void pu::audio::PlayWithFadeIn | ( | Music | Mus, |
int | Loops, | ||
int | Milli | ||
) |
void pu::audio::Resume | ( | ) |
void pu::audio::Rewind | ( | ) |
void pu::audio::SetPosition | ( | double | Sec | ) |
void pu::audio::SetVolume | ( | int | Volume | ) |
void pu::audio::Stop | ( | ) |