Lines Matching refs:max_h
2067 if (window->max_h && h > window->max_h) { in SDL_SetWindowSize()
2068 h = window->max_h; in SDL_SetWindowSize()
2140 (window->max_h && min_h >= window->max_h)) { in SDL_SetWindowMinimumSize()
2170 SDL_SetWindowMaximumSize(SDL_Window * window, int max_w, int max_h) in SDL_SetWindowMaximumSize() argument
2177 if (max_h <= 0) { in SDL_SetWindowMaximumSize()
2182 if (max_w <= window->min_w || max_h <= window->min_h) { in SDL_SetWindowMaximumSize()
2188 window->max_h = max_h; in SDL_SetWindowMaximumSize()
2195 … SDL_SetWindowSize(window, SDL_min(window->w, window->max_w), SDL_min(window->h, window->max_h)); in SDL_SetWindowMaximumSize()
2200 SDL_GetWindowMaximumSize(SDL_Window * window, int *max_w, int *max_h) in SDL_GetWindowMaximumSize() argument
2206 if (max_h) { in SDL_GetWindowMaximumSize()
2207 *max_h = window->max_h; in SDL_GetWindowMaximumSize()