|
coastline 0.0.4
|
Callbacks for PC music-track selection and persistent music and sound-effect volume. More...
#include <frontend.h>
Static Public Member Functions | |
| static int | UpdateVolumeChannelImage (MenuWidget *pWidget) |
| Update the volume-channel image and its first animation frame. | |
| static int | UpdateVolumeLevelIndicatorPos (MenuWidget *pWidget) |
| Position the volume indicator for the selected music or sound-effect channel. | |
| static int | UpdateCdTrackSelection (MenuWidget *pWidget) |
| Draw and process the CD track list, accepting nonnegative activated-row results. | |
| static int | OnMusicTrackChanged (MenuItemList *pList, int *pTrack) |
| Select the CD track two greater than the activated list index. | |
| static int | OnCycleSfxVolume (MenuActionWidget *pWidget) |
| Select the sound-effect volume channel, cycle its 0..9 level using mouse edges, and apply it. | |
| static int | OnCycleMusicVolume (MenuActionWidget *pWidget) |
| Select the music volume channel, cycle its 0..9 level using mouse edges, and apply it. | |
| static int | OnBackAndSave (MenuActionWidget *pItem) |
| Destroy the audio-options screen, return to cached Options, back up choices, and save config. | |
Callbacks for PC music-track selection and persistent music and sound-effect volume.
Callbacks for volume, CD track selection, and navigation in the PC audio-options menu.
|
static |
Update the volume-channel image and its first animation frame.
| pWidget | The non-null borrowed channel-image widget to update. |
|
static |
Position the volume indicator for the selected music or sound-effect channel.
| pWidget | The non-null borrowed indicator widget to reposition. |
|
static |
Draw and process the CD track list, accepting nonnegative activated-row results.
| pWidget | The non-null borrowed widget with the track list. |
|
static |
Select the CD track two greater than the activated list index.
| pList | The unused list pointer, possibly null. |
| pTrack | A non-null borrowed selected-row pointer, read without modification. |
|
static |
Select the sound-effect volume channel, cycle its 0..9 level using mouse edges, and apply it.
| pWidget | The unused widget pointer, possibly null. |
|
static |
Select the music volume channel, cycle its 0..9 level using mouse edges, and apply it.
| pWidget | The unused widget pointer, possibly null. |
|
static |
Destroy the audio-options screen, return to cached Options, back up choices, and save config.
| pItem | A non-null active-screen widget, invalidated when its panels are destroyed. |