summaryrefslogtreecommitdiff
path: root/scene/gui/viewport_container.h
blob: cfc58f7d6e3ce620741fd4f236ba9cbd015862ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef VIEWPORTCONTAINER_H
#define VIEWPORTCONTAINER_H

#include "scene/gui/container.h"

class ViewportContainer : public Container {

	OBJ_TYPE( ViewportContainer, Container );

	bool stretch;
protected:

	void _notification(int p_what);
	static void _bind_methods();
public:

	void set_stretch(bool p_enable);
	bool is_stretch_enabled() const;

	virtual Size2 get_minimum_size() const;

	ViewportContainer();
};

#endif // VIEWPORTCONTAINER_H