Esempio n. 1
0
	int Window::getMinimumSize(State & state, SDL_Window  * window){
		Stack * stack = state.stack;
		int w = 0, h = 0;
		SDL_GetWindowMinimumSize(window, &w, &h);
		stack->push<int>(w);
		stack->push<int>(h);
		return 2;
	}
Esempio n. 2
0
 vector minimum_size() const noexcept {
     vector result;
     SDL_GetWindowMinimumSize(ptr.get(), &result.x, &result.y);
     return result;
 }
Esempio n. 3
0
SIZE ZWindow::GetMinimumSize()
{
	SIZE sz={0};
	SDL_GetWindowMinimumSize(m_win,&sz.cx,&sz.cy);
	return sz;
}