X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmenuframe.h;h=65f60560882bbd02217b688781455966310125f3;hb=055aa5cd7411c4563956e376523219afc6198ce1;hp=34041149d3a09aa103d301f44933fe28c0ef7309;hpb=3e7b4478ee8fdfd5c255723c006ac9292582e747;p=chaz%2Fopenbox diff --git a/openbox/menuframe.h b/openbox/menuframe.h index 34041149..65f60560 100644 --- a/openbox/menuframe.h +++ b/openbox/menuframe.h @@ -1,3 +1,21 @@ +/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*- + + menuframe.h for the Openbox window manager + Copyright (c) 2003 Ben Jansens + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + See the COPYING file for a copy of the GNU General Public License. +*/ + #ifndef ob__menuframe_h #define ob__menuframe_h @@ -85,7 +103,7 @@ void menu_frame_free(ObMenuFrame *self); void menu_frame_move(ObMenuFrame *self, gint x, gint y); void menu_frame_move_on_screen(ObMenuFrame *self); -void menu_frame_show(ObMenuFrame *self, ObMenuFrame *parent); +gboolean menu_frame_show(ObMenuFrame *self, ObMenuFrame *parent); void menu_frame_hide(ObMenuFrame *self); void menu_frame_hide_all(); @@ -100,6 +118,6 @@ ObMenuEntryFrame* menu_entry_frame_under(gint x, gint y); void menu_entry_frame_show_submenu(ObMenuEntryFrame *self); -void menu_entry_frame_execute(ObMenuEntryFrame *self, gboolean hide); +void menu_entry_frame_execute(ObMenuEntryFrame *self, guint state); #endif