]> Dogcows Code - chaz/openbox/blobdiff - openbox/frame.h
add copyright headers, adjust --version output to include copyright, and --help outpu...
[chaz/openbox] / openbox / frame.h
index 572d18b6353198affc06456724878ba243d6633c..b49bf38fa4a2586cc2783a163ab0bf4d64b8218e 100644 (file)
@@ -1,3 +1,21 @@
+/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
+
+   frame.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 __frame_h
 #define __frame_h
 
@@ -25,6 +43,9 @@ typedef enum {
     OB_FRAME_CONTEXT_ICONIFY,
     OB_FRAME_CONTEXT_ICON,
     OB_FRAME_CONTEXT_CLOSE,
+    /*! This is a special context, which occurs while dragging a window in
+      a move/resize */
+    OB_FRAME_CONTEXT_MOVE_RESIZE,
     OB_FRAME_NUM_CONTEXTS
 } ObFrameContext;
 
@@ -114,11 +135,16 @@ struct _ObFrame
     gboolean  iconify_hover;
 
     gboolean  focused;
+
+    gboolean  flashing;
+    gboolean  flash_on;
+    GTimeVal  flash_end;
 };
 
 ObFrame *frame_new();
 void frame_show(ObFrame *self);
 void frame_hide(ObFrame *self);
+void frame_adjust_theme(ObFrame *self);
 void frame_adjust_shape(ObFrame *self);
 void frame_adjust_area(ObFrame *self, gboolean moved,
                        gboolean resized, gboolean fake);
@@ -145,5 +171,7 @@ void frame_client_gravity(ObFrame *self, int *x, int *y);
 */
 void frame_frame_gravity(ObFrame *self, int *x, int *y);
 
+void frame_flash_start(ObFrame *self);
+void frame_flash_stop(ObFrame *self);
 
 #endif
This page took 0.021934 seconds and 4 git commands to generate.