1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- #ifndef CENTER_CONTAINER_H
- #define CENTER_CONTAINER_H
- #include "scene/gui/container.h"
- class CenterContainer : public Container {
- GDCLASS(CenterContainer, Container);
- bool use_top_left;
- protected:
- void _notification(int p_what);
- static void _bind_methods();
- public:
- void set_use_top_left(bool p_enable);
- bool is_using_top_left() const;
- virtual Size2 get_minimum_size() const;
- CenterContainer();
- };
- #endif
|