doxygen: prevent GPL license block from being parsed as doxygen comment.
[blender.git] / source / blender / windowmanager / wm_window.h
index b02a163..82efe6e 100644 (file)
@@ -1,5 +1,5 @@
-/**
- * $Id: wm_window.h
+/*
+ * $Id$
  *
  * ***** BEGIN GPL LICENSE BLOCK *****
  *
@@ -15,7 +15,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software Foundation,
- * Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  *
  * The Original Code is Copyright (C) 2007 Blender Foundation.
  * All rights reserved.
 #define WM_WINDOW_H
 
 struct bScreen;
+struct wmOperator;
 
 /* *************** internal api ************** */
 void           wm_ghost_init                   (bContext *C);
+void           wm_ghost_exit(void);
+
+void wm_get_screensize(int *width_r, int *height_r);
 
 wmWindow       *wm_window_new                  (bContext *C);
-void           wm_window_free                  (bContext *C, wmWindow *win);
-void           wm_window_add_ghostwindows      (wmWindowManager *wm);
-void           wm_window_process_events        (int wait_for_event);
+void           wm_window_free                  (bContext *C, wmWindowManager *wm, wmWindow *win);
+void           wm_window_close                 (bContext *C, wmWindowManager *wm, wmWindow *win);
+
+void           wm_window_title                         (wmWindowManager *wm, wmWindow *win);
+void           wm_window_add_ghostwindows      (bContext *C, wmWindowManager *wm);
+void           wm_window_process_events        (const bContext *C);
+void           wm_window_process_events_nosleep(void);
 
 void           wm_window_make_drawable(bContext *C, wmWindow *win);
 
@@ -45,19 +53,19 @@ void                wm_window_raise                 (wmWindow *win);
 void           wm_window_lower                 (wmWindow *win);
 void           wm_window_set_size              (wmWindow *win, int width, int height);
 void           wm_window_get_size              (wmWindow *win, int *width_r, int *height_r);
+void           wm_window_get_size_ghost        (wmWindow *win, int *width_r, int *height_r);
 void           wm_window_get_position  (wmWindow *win, int *posx_r, int *posy_r);
-void           wm_window_set_title             (wmWindow *win, char *title);
 void           wm_window_swap_buffers  (wmWindow *win);
 
+void           wm_get_cursor_position  (wmWindow *win, int *x, int *y);
+
 wmWindow       *wm_window_copy                 (bContext *C, wmWindow *winorig);
-wmWindow       *wm_window_rip                  (bContext *C, wmWindow *winorig);
 
-/* *************** window operators ************** */
-int                    wm_window_duplicate_op  (bContext *C, wmOperator *op);
-int                    wm_window_rip_op        (bContext *C, wmOperator *op, struct wmEvent *event);
-int                    wm_window_fullscreen_toggle_op(bContext *C, wmOperator *op);
-int                    wm_exit_blender_op(bContext *C, wmOperator *op);
+void           wm_window_testbreak             (void);
 
+/* *************** window operators ************** */
+int                    wm_window_duplicate_exec(bContext *C, struct wmOperator *op);
+int                    wm_window_fullscreen_toggle_exec(bContext *C, struct wmOperator *op);
 
 #endif /* WM_WINDOW_H */