Just move all the one-liner functions straight into the parser.
This commit is contained in:
parent
60ed686eb0
commit
d558da1620
4 changed files with 38 additions and 76 deletions
9
lel.hpp
9
lel.hpp
|
@ -32,17 +32,8 @@ namespace lel {
|
|||
std::unordered_map<std::string, Cell> cells;
|
||||
|
||||
Parser(int x, int y, int width, int height);
|
||||
void col();
|
||||
void ltab();
|
||||
void align(char dir);
|
||||
void valign(char dir);
|
||||
void id(std::string name);
|
||||
void row();
|
||||
void setwidth(int width);
|
||||
void setheight(int height);
|
||||
void expand();
|
||||
void reset();
|
||||
void center();
|
||||
bool parse(std::string input);
|
||||
void finalize();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue