Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-04-02 10:33:20 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-02 10:33:20 +0400
commit442f2df736190b39e8f817832b0ce4a0520b6a22 (patch)
tree4f828caf25b86ccd28a281350abdb998d78929f0 /source/blender/windowmanager/wm_subwindow.h
parent1d9e0c373d830daccba40fbb35046005cb84b463 (diff)
Code cleanup: avoid redundant lookups for subwindows
Diffstat (limited to 'source/blender/windowmanager/wm_subwindow.h')
-rw-r--r--source/blender/windowmanager/wm_subwindow.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/windowmanager/wm_subwindow.h b/source/blender/windowmanager/wm_subwindow.h
index a70e7765ecf..c1d0f9a9cac 100644
--- a/source/blender/windowmanager/wm_subwindow.h
+++ b/source/blender/windowmanager/wm_subwindow.h
@@ -36,16 +36,16 @@
/* *************** internal api ************** */
void wm_subwindows_free(wmWindow *win);
-int wm_subwindow_open(wmWindow *win, rcti *winrct);
+int wm_subwindow_open(wmWindow *win, const rcti *winrct);
void wm_subwindow_close(wmWindow *win, int swinid);
-int wm_subwindow_get(wmWindow *win); /* returns id */
+int wm_subwindow_get_id(wmWindow *win); /* returns id */
-void wm_subwindow_position(wmWindow *win, int swinid, rcti *winrct);
+void wm_subwindow_position(wmWindow *win, int swinid, const rcti *winrct);
-void wm_subwindow_getsize(wmWindow *win, int swinid, int *x, int *y);
-void wm_subwindow_getorigin(wmWindow *win, int swinid, int *x, int *y);
-void wm_subwindow_getmatrix(wmWindow *win, int swinid, float mat[4][4]);
-void wm_subwindow_getrect(wmWindow *win, int swinid, struct rcti *r_rect);
+void wm_subwindow_size_get(wmWindow *win, int swinid, int *x, int *y);
+void wm_subwindow_origin_get(wmWindow *win, int swinid, int *x, int *y);
+void wm_subwindow_matrix_get(wmWindow *win, int swinid, float mat[4][4]);
+void wm_subwindow_rect_get(wmWindow *win, int swinid, struct rcti *r_rect);
unsigned int index_to_framebuffer(int index);