4 * ***** BEGIN GPL LICENSE BLOCK *****
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software Foundation,
18 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 * The Original Code is Copyright (C) 2008 Blender Foundation.
21 * All rights reserved.
24 * Contributor(s): Blender Foundation
26 * ***** END GPL LICENSE BLOCK *****
31 #include "DNA_screen_types.h"
32 #include "DNA_space_types.h"
33 #include "DNA_view2d_types.h"
34 #include "DNA_view3d_types.h"
36 struct wmWindowManager;
41 void ED_region_do_listen(ARegion *ar, struct wmNotifier *note);
42 void ED_region_do_draw(struct bContext *C, ARegion *ar);
43 void ED_region_do_refresh(struct bContext *C, ARegion *ar);
46 void ED_spacetypes_init(void);
49 void ED_area_initialize(struct wmWindowManager *wm, struct wmWindow *win, struct ScrArea *sa);
52 void ED_screens_initialize(struct wmWindowManager *wm);
53 void ED_screen_draw(struct wmWindow *win);
54 void ED_screen_refresh(struct wmWindowManager *wm, struct wmWindow *win);
55 void ED_screen_do_listen(bScreen *screen, struct wmNotifier *note);
56 bScreen *ED_screen_duplicate(struct wmWindow *win, bScreen *sc);
57 void ED_screen_set_subwinactive(struct wmWindow *win);
59 void ed_screen_keymap(struct wmWindowManager *wm);
61 /* operators; context poll callbacks */
62 int ED_operator_screenactive(bContext *C);
63 int ED_operator_screen_mainwinactive(bContext *C);
66 #endif /* ED_SCREEN_H */