Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_draw.c
| Context not available. | |||||
| } | } | ||||
| } | } | ||||
| { | |||||
| // debugging | |||||
| static rcti last_pos[10]; | |||||
| rcti ghost_rect; | |||||
| int l, t, r, b; | |||||
| GHOST_RectangleHandle rect = GHOST_GetWindowBounds(win->ghostwin); | |||||
| GHOST_GetRectangle(rect, &l, &t, &r, &b); | |||||
| BLI_rcti_init(&ghost_rect, l, t, r, b); | |||||
| if (!BLI_rcti_compare(&last_pos[win->type], &ghost_rect)) { | |||||
| printf("window %d: (%d,%d)-(%d,%d)\n", win->type, win->posx, win->posy, win->sizex + win->posx, win->sizey + win->posy); | |||||
| printf("ghost %d: (%d,%d)-(%d,%d)\n", win->type, l, t, r, b); | |||||
| last_pos[win->type] = ghost_rect; | |||||
| } | |||||
| } | |||||
| screen->do_draw = false; | screen->do_draw = false; | ||||
| } | } | ||||
| Context not available. | |||||