]> git.sesse.net Git - nageru/blobdiff - nageru/mixer.h
Make it possible for the theme to override the status line.
[nageru] / nageru / mixer.h
index 69b28f58826bb7c4603107d3f7efa668b97e196c..9aa375636722d0e6d06be47bc8ca90c232b04d9b 100644 (file)
@@ -288,6 +288,11 @@ public:
                theme->set_wb(channel, r, g, b);
        }
 
+       std::string format_status_line(const std::string &disk_space_left_text, double file_length_seconds)
+       {
+               return theme->format_status_line(disk_space_left_text, file_length_seconds);
+       }
+
        // Note: You can also get this through the global variable global_audio_mixer.
        AudioMixer *get_audio_mixer() { return audio_mixer.get(); }
        const AudioMixer *get_audio_mixer() const { return audio_mixer.get(); }