"Fossies" - the Fresh Open Source Software Archive

Member "audacious-plugins-3.10.1/src/skins/menus.h" (26 Dec 2018, 1340 Bytes) of package /linux/misc/audacious-plugins-3.10.1.tar.bz2:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "menus.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2  * menus.h
    3  * Copyright 2009-2014 John Lindgren
    4  *
    5  * This file is part of Audacious.
    6  *
    7  * Audacious is free software: you can redistribute it and/or modify it under
    8  * the terms of the GNU General Public License as published by the Free Software
    9  * Foundation, version 2 or version 3 of the License.
   10  *
   11  * Audacious is distributed in the hope that it will be useful, but WITHOUT ANY
   12  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
   13  * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
   14  *
   15  * You should have received a copy of the GNU General Public License along with
   16  * Audacious. If not, see <http://www.gnu.org/licenses/>.
   17  *
   18  * The Audacious team does not consider modular code linking to Audacious or
   19  * using our public API to be a derived work.
   20  */
   21 
   22 #ifndef SKINS_MENUS_H
   23 #define SKINS_MENUS_H
   24 
   25 #include <gtk/gtk.h>
   26 
   27 enum {
   28     UI_MENU_MAIN,
   29     UI_MENU_PLAYBACK,
   30     UI_MENU_PLAYLIST,
   31     UI_MENU_VIEW,
   32     UI_MENU_PLAYLIST_ADD,
   33     UI_MENU_PLAYLIST_REMOVE,
   34     UI_MENU_PLAYLIST_SELECT,
   35     UI_MENU_PLAYLIST_SORT,
   36     UI_MENU_PLAYLIST_CONTEXT,
   37     UI_MENUS
   38 };
   39 
   40 void menu_init ();
   41 void menu_cleanup ();
   42 
   43 GtkAccelGroup * menu_get_accel_group ();
   44 void menu_popup (int id, int x, int y, gboolean leftward, gboolean upward, int button, int time);
   45 
   46 #endif /* SKINS_MENUS_H */