CGII/framework/include/cgv/gui/layout_inline.h

32 lines
569 B
C
Raw Normal View History

2018-05-17 13:50:03 +00:00
#pragma once
#include <cgv/gui/layout.h>
#include "lib_begin.h"
namespace cgv {
namespace gui {
// layout to arrange all children in an inline alignment
class CGV_API layout_inline: public layout
{
public:
layout_inline();
layout_inline(cgv::base::group_ptr container);
~layout_inline();
// the core update function to align the elements inline
void update();
};
/// ref counted pointer to table layout
typedef cgv::data::ref_ptr<layout_inline> layout_inline_ptr;
}
}
#include <cgv/config/lib_end.h>