mirror-chatterino2/src/widgets/helper/_SplitColumn.hpp

26 lines
429 B
C++
Raw Normal View History

2017-11-12 17:21:50 +01:00
#pragma once
#include "widgets/split.hpp"
#include <vector>
2017-11-12 17:21:50 +01:00
namespace chatterino {
namespace helper {
2017-11-12 17:21:50 +01:00
class SplitColumn
{
public:
SplitColumn() = default;
2017-11-12 17:21:50 +01:00
void insert(widgets::Split *split, int index = -1);
void remove(int index);
double getFlex();
void setFlex(double flex);
private:
std::vector<widgets::Split> items;
};
} // namespace helper
} // namespace chatterino