MCPcopy Create free account
hub / github.com/dillo-browser/dillo / Table

Method Table

dw/table.cc:34–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32int Table::CLASS_ID = -1;
33
34Table::Table(bool limitTextWidth)
35{
36 DBG_OBJ_CREATE ("dw::Table");
37 registerName ("dw::Table", &CLASS_ID);
38 setButtonSensitive(false);
39
40 this->limitTextWidth = limitTextWidth;
41
42 rowClosed = false;
43
44 numRows = 0;
45 numCols = 0;
46 curRow = -1;
47 curCol = 0;
48
49 DBG_OBJ_SET_NUM ("numCols", numCols);
50 DBG_OBJ_SET_NUM ("numRows", numCols);
51
52 children = new misc::SimpleVector <Child*> (16);
53 colExtremes = new misc::SimpleVector<core::Extremes> (8);
54 colWidthSpecified = new misc::SimpleVector<bool> (8);
55 colWidthPercentage = new misc::SimpleVector<bool> (8);
56 colWidths = new misc::SimpleVector <int> (8);
57 cumHeight = new misc::SimpleVector <int> (8);
58 rowSpanCells = new misc::SimpleVector <int> (8);
59 baseline = new misc::SimpleVector <int> (8);
60 rowStyle = new misc::SimpleVector <core::style::Style*> (8);
61
62 colWidthsUpToDateWidthColExtremes = true;
63 DBG_OBJ_SET_BOOL ("colWidthsUpToDateWidthColExtremes",
64 colWidthsUpToDateWidthColExtremes);
65
66 numColWidthSpecified = 0;
67 numColWidthPercentage = 0;
68
69 redrawX = 0;
70 redrawY = 0;
71}
72
73Table::~Table()
74{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected