virtualx-engine/scene/gui/viewport_container.h
Juan Linietsky 118eed485e ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant.
All usages of "type" to refer to classes were renamed to "class"
ClassDB has been exposed to GDScript.
OBJ_TYPE() macro is now GDCLASS()
2017-01-02 23:03:46 -03:00

25 lines
446 B
C++

#ifndef VIEWPORTCONTAINER_H
#define VIEWPORTCONTAINER_H
#include "scene/gui/container.h"
class ViewportContainer : public Container {
GDCLASS( 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