Convert indentation to tabs

This commit is contained in:
Duilio Protti 2016-06-25 01:18:05 -03:00
parent be690b9689
commit bdb9cf259d
1 changed files with 27 additions and 27 deletions

View File

@ -38,37 +38,37 @@ static const char about_text[] =
"https://github.com/dprotti/infinity-plugin"; "https://github.com/dprotti/infinity-plugin";
static const PreferencesWidget prefs_fps[] = { static const PreferencesWidget prefs_fps[] = {
WidgetLabel ("<b>Maximum Frames per Second</b>"), WidgetLabel ("<b>Maximum Frames per Second</b>"),
WidgetSpin ("Rate:", WidgetInt (CFGID, "max_fps"), {10, 120, 1, "fps"}) WidgetSpin ("Rate:", WidgetInt (CFGID, "max_fps"), {10, 120, 1, "fps"})
}; };
static const PreferencesWidget prefs_widgets[] = { static const PreferencesWidget prefs_widgets[] = {
WidgetBox ({{prefs_fps}}), WidgetBox ({{prefs_fps}}),
//WidgetSeparator (), //WidgetSeparator (),
//WidgetBox ({{...}}) //WidgetBox ({{...}})
}; };
static const PluginPreferences preferences = {{prefs_widgets}}; static const PluginPreferences preferences = {{prefs_widgets}};
class InfinityPlugin : VisPlugin { class InfinityPlugin : VisPlugin {
public: public:
static constexpr PluginInfo info = { static constexpr PluginInfo info = {
"Infinity", "Infinity",
PACKAGE, PACKAGE,
about_text, about_text,
& preferences & preferences
}; };
constexpr InfinityPlugin () : VisPlugin (info, Visualizer::MultiPCM) {} constexpr InfinityPlugin () : VisPlugin (info, Visualizer::MultiPCM) {}
bool init (); bool init ();
void cleanup (); void cleanup ();
// No gtk window, SDL creates its own window. // No gtk window, SDL creates its own window.
// void * get_gtk_widget (); // void * get_gtk_widget ();
void clear (); void clear ();
void render_multi_pcm (const float * pcm, int channels); void render_multi_pcm (const float * pcm, int channels);
private: private:
void load_settings (); void load_settings ();
@ -80,18 +80,18 @@ EXPORT InfinityPlugin aud_plugin_instance;
bool InfinityPlugin::init(void) bool InfinityPlugin::init(void)
{ {
g_message("Infinity commands:\n" g_message("Infinity commands:\n"
"- Space:\tchange effect.\n" "- Space:\tchange effect.\n"
"- Tab:\t\ttoggle full-screen.\n" "- Tab:\t\ttoggle full-screen.\n"
"- Up/Down:\tup/down main volume.\n" "- Up/Down:\tup/down main volume.\n"
"- Left/Right:\treward/forward actual played song, if any.\n" "- Left/Right:\treward/forward actual played song, if any.\n"
"- z:\t\tprevious song.\n" "- z:\t\tprevious song.\n"
"- x:\t\tplay.\n" "- x:\t\tplay.\n"
"- c:\t\tpause.\n" "- c:\t\tpause.\n"
"- v:\t\tstop.\n" "- v:\t\tstop.\n"
"- b:\t\tnext song.\n" "- b:\t\tnext song.\n"
"- Enter:\tswitch to interactive mode.\n\t\t(works only if infinity was configured with --enable-debug option)\n" "- Enter:\tswitch to interactive mode.\n\t\t(works only if infinity was configured with --enable-debug option)\n"
"- F11:\t\tscreenshot.\n" "- F11:\t\tscreenshot.\n"
"- F12:\t\tchange palette."); "- F12:\t\tchange palette.");
load_settings(); load_settings();
renderer_init(); renderer_init();
return TRUE; return TRUE;