Plutonium framework API 0.3.0
UI framework libraries for libnx
|
Typedefs | |
using | Music = Mix_Music* |
using | Sfx = Mix_Chunk* |
Functions | |
Music | OpenMusic (const std::string &path) |
void | PlayMusic (Music mus, const int loops) |
void | PlayMusicWithFadeIn (Music mus, const i32 loops, const i32 ms) |
bool | IsPlayingMusic () |
void | PauseMusic () |
void | ResumeMusic () |
void | SetMusicVolume (const i32 vol) |
i32 | GetMusicVolume () |
void | FadeOutMusic (const i32 ms) |
void | RewindMusic () |
void | StopMusic () |
void | SetMusicPosition (const double sec) |
void | DestroyMusic (Music &mus) |
Sfx | LoadSfx (const std::string &path) |
void | PlaySfx (Sfx sfx) |
void | DestroySfx (Sfx &sfx) |
using pu::audio::Music = Mix_Music* |
using pu::audio::Sfx = Mix_Chunk* |
void pu::audio::DestroyMusic | ( | Music & | mus | ) |
void pu::audio::DestroySfx | ( | Sfx & | sfx | ) |
void pu::audio::FadeOutMusic | ( | const i32 | ms | ) |
i32 pu::audio::GetMusicVolume | ( | ) |
bool pu::audio::IsPlayingMusic | ( | ) |
Sfx pu::audio::LoadSfx | ( | const std::string & | path | ) |
Music pu::audio::OpenMusic | ( | const std::string & | path | ) |
void pu::audio::PauseMusic | ( | ) |
void pu::audio::PlayMusic | ( | Music | mus, |
const int | loops ) |
void pu::audio::PlaySfx | ( | Sfx | sfx | ) |
void pu::audio::ResumeMusic | ( | ) |
void pu::audio::RewindMusic | ( | ) |
void pu::audio::SetMusicPosition | ( | const double | sec | ) |
void pu::audio::SetMusicVolume | ( | const i32 | vol | ) |
void pu::audio::StopMusic | ( | ) |