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

24 lines
369 B
C++
Raw Normal View History

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