Searched refs:client_rect (Results 1 – 3 of 3) sorted by relevance
128 RECT client_rect; in stw_framebuffer_get_size() local137 assert(fb->client_rect.right == fb->client_rect.left + fb->width); in stw_framebuffer_get_size()138 assert(fb->client_rect.bottom == fb->client_rect.top + fb->height); in stw_framebuffer_get_size()143 if (!GetClientRect(fb->hWnd, &client_rect)) { in stw_framebuffer_get_size()147 assert(client_rect.left == 0); in stw_framebuffer_get_size()148 assert(client_rect.top == 0); in stw_framebuffer_get_size()149 width = client_rect.right - client_rect.left; in stw_framebuffer_get_size()150 height = client_rect.bottom - client_rect.top; in stw_framebuffer_get_size()173 fb->client_rect.left = client_pos.x - window_rect.left; in stw_framebuffer_get_size()174 fb->client_rect.top = client_pos.y - window_rect.top; in stw_framebuffer_get_size()[all …]
124 RECT client_rect; member
131 RECT client_rect; in on_resize() local135 GetClientRect (hwnd, &client_rect); in on_resize()137 width = MAX (1, (client_rect.right - client_rect.left)); in on_resize()138 height = MAX (1, (client_rect.bottom - client_rect.top)); in on_resize()