diff options
author | Sebastian Geerken <devnull@localhost> | 2014-05-28 00:58:21 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-05-28 00:58:21 +0200 |
commit | 4c47a19af4349ba45833ff37406f78bba1fde5ef (patch) | |
tree | cb22f4a523f4ff883c525378fb68c50e31c3d536 /test/dw_table_aligned.cc | |
parent | c0135425bdb0bdaeed57c99638e8bbeb94a5c17d (diff) |
Split up dw::TableCell in dw::AlignedTableCell (was: dw::TableCell) and dw::SimpleTableCell (derived from dw::Textblock). The HTML parser now uses only one of these two classes for table cells, not dw::Textblock anymore.
Diffstat (limited to 'test/dw_table_aligned.cc')
-rw-r--r-- | test/dw_table_aligned.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dw_table_aligned.cc b/test/dw_table_aligned.cc index 96cb0602..bef3d521 100644 --- a/test/dw_table_aligned.cc +++ b/test/dw_table_aligned.cc @@ -26,7 +26,7 @@ #include "../dw/fltkcore.hh" #include "../dw/fltkviewport.hh" #include "../dw/table.hh" -#include "../dw/tablecell.hh" +#include "../dw/alignedtablecell.hh" using namespace dw; using namespace dw::core; @@ -87,10 +87,10 @@ int main(int argc, char **argv) Style *wordStyle = Style::create (&styleAttrs); - TableCell *ref = NULL; + AlignedTableCell *ref = NULL; for(int i = 0; i < 10; i++) { //for(int i = 0; i < 1; i++) { - TableCell *cell = new TableCell (ref, false); + AlignedTableCell *cell = new AlignedTableCell (ref, false); cell->setStyle (cellStyle); ref = cell; table->addRow (wordStyle); |