mirror of
https://github.com/Relintai/pandemonium_engine_minimal.git
synced 2024-11-17 22:17:19 +01:00
27 lines
490 B
C++
27 lines
490 B
C++
#ifndef GRID_CONTAINER_H
|
|
#define GRID_CONTAINER_H
|
|
|
|
/* grid_container.h */
|
|
|
|
|
|
#include "scene/gui/container.h"
|
|
|
|
class GridContainer : public Container {
|
|
GDCLASS(GridContainer, Container);
|
|
|
|
int columns;
|
|
|
|
protected:
|
|
void _notification(int p_what);
|
|
static void _bind_methods();
|
|
|
|
public:
|
|
void set_columns(int p_columns);
|
|
int get_columns() const;
|
|
virtual Size2 get_minimum_size() const;
|
|
|
|
GridContainer();
|
|
};
|
|
|
|
#endif // GRID_CONTAINER_H
|