Cogs.Core
el_table.h
1#ifndef LH_EL_TABLE_H
2#define LH_EL_TABLE_H
3
4#include "html_tag.h"
5
6namespace litehtml
7{
8 struct col_info
9 {
10 int width;
11 bool is_auto;
12 };
13
14
15 class el_table : public html_tag
16 {
17 public:
18 el_table(const std::shared_ptr<litehtml::document>& doc);
19 virtual ~el_table();
20
21 virtual bool appendChild(const litehtml::element::ptr& el) override;
22 virtual void parse_styles(bool is_reparse = false) override;
23 virtual void parse_attributes() override;
24 };
25}
26
27#endif // LH_EL_TABLE_H