From bdb9cf259dedac650f7812e835c8a81daac271cb Mon Sep 17 00:00:00 2001 From: Duilio Protti Date: Sat, 25 Jun 2016 01:18:05 -0300 Subject: [PATCH] Convert indentation to tabs --- src/main.cc | 54 ++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/src/main.cc b/src/main.cc index cfc1880..ef8cdac 100644 --- a/src/main.cc +++ b/src/main.cc @@ -38,37 +38,37 @@ static const char about_text[] = "https://github.com/dprotti/infinity-plugin"; static const PreferencesWidget prefs_fps[] = { - WidgetLabel ("Maximum Frames per Second"), - WidgetSpin ("Rate:", WidgetInt (CFGID, "max_fps"), {10, 120, 1, "fps"}) + WidgetLabel ("Maximum Frames per Second"), + WidgetSpin ("Rate:", WidgetInt (CFGID, "max_fps"), {10, 120, 1, "fps"}) }; static const PreferencesWidget prefs_widgets[] = { WidgetBox ({{prefs_fps}}), - //WidgetSeparator (), - //WidgetBox ({{...}}) + //WidgetSeparator (), + //WidgetBox ({{...}}) }; static const PluginPreferences preferences = {{prefs_widgets}}; class InfinityPlugin : VisPlugin { public: - static constexpr PluginInfo info = { - "Infinity", - PACKAGE, - about_text, - & preferences - }; + static constexpr PluginInfo info = { + "Infinity", + PACKAGE, + about_text, + & preferences + }; - constexpr InfinityPlugin () : VisPlugin (info, Visualizer::MultiPCM) {} + constexpr InfinityPlugin () : VisPlugin (info, Visualizer::MultiPCM) {} - bool init (); - void cleanup (); + bool init (); + void cleanup (); // No gtk window, SDL creates its own window. // void * get_gtk_widget (); - void clear (); - void render_multi_pcm (const float * pcm, int channels); + void clear (); + void render_multi_pcm (const float * pcm, int channels); private: void load_settings (); @@ -80,18 +80,18 @@ EXPORT InfinityPlugin aud_plugin_instance; bool InfinityPlugin::init(void) { g_message("Infinity commands:\n" - "- Space:\tchange effect.\n" - "- Tab:\t\ttoggle full-screen.\n" - "- Up/Down:\tup/down main volume.\n" - "- Left/Right:\treward/forward actual played song, if any.\n" - "- z:\t\tprevious song.\n" - "- x:\t\tplay.\n" - "- c:\t\tpause.\n" - "- v:\t\tstop.\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" - "- F11:\t\tscreenshot.\n" - "- F12:\t\tchange palette."); + "- Space:\tchange effect.\n" + "- Tab:\t\ttoggle full-screen.\n" + "- Up/Down:\tup/down main volume.\n" + "- Left/Right:\treward/forward actual played song, if any.\n" + "- z:\t\tprevious song.\n" + "- x:\t\tplay.\n" + "- c:\t\tpause.\n" + "- v:\t\tstop.\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" + "- F11:\t\tscreenshot.\n" + "- F12:\t\tchange palette."); load_settings(); renderer_init(); return TRUE;