dillo
3.0.5
About: dillo is a small, fast, extensible Web browser particularly suitable for older or smaller computers and embedded systems (but only limited or no support for frames, CSS, JavaScript, Java). Fossies Dox: dillo-3.0.5.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation) 
|
Go to the documentation of this file. 1 #ifndef __DW_TABLE_HH__ 2 #define __DW_TABLE_HH__ 6 #include "../lout/misc.hh" 415 void apportion2 (
int totalWidth,
int forceTotalWidth);
466 #endif // __DW_TABLE_HH__
void setCumHeight(int row, int value)
bool next()
Move iterator forward and store content it.
A Widget for rendering tables.
void setDescent(int descent)
void getExtremesImpl(core::Extremes *extremes)
See Sizes of Dillo Widgets.
T get(int i) const
Return the one element, explicitly.
lout::misc::SimpleVector< core::style::Style * > * rowStyle
lout::object::Object * clone()
Return an exact copy of the object.
void setColWidth(int col, int value)
void apportion_percentages2(int totalWidth, int forceTotalWidth)
bool prev()
Move iterator backward and store content it.
lout::misc::SimpleVector< int > * rowSpanCells
Iterators are used to iterate through the contents of a widget.
void removeChild(Widget *child)
struct dw::Table::Child::@16::@19 spanSpace
enum dw::Table::Child::@15 type
void setAscent(int ascent)
Represents the allocation, i.e. actual position and size of a dw::core::Widget.
void unhighlight(int direction, core::HighlightLayer layer)
Shrink highlighted region to no longer contain the current content.
void forceCalcCellSizes()
lout::misc::SimpleVector< Child * > * children
void getAllocation(int start, int end, core::Allocation *allocation)
Return the shape, which a part of the item, the iterator points on, allocates.
void reallocChildren(int newNumCols, int newNumRows)
void set(int i, T t)
Store an object in the vector.
This is the base class for many other classes, which defines very common virtual methods.
void apportion2(int totalWidth, int forceTotalWidth)
Apportionment function for AUTO-length columns. 'extremes' comes filled, 'result' comes defined for p...
lout::misc::SimpleVector< int > * colSpanCells
lout::misc::SimpleVector< int > * cumHeight
lout::misc::SimpleVector< core::Extremes > * colExtremes
The extremes of all columns.
lout::misc::SimpleVector< int > * colWidths
The widths of all columns.
int compareTo(lout::object::Comparable *other)
Compare two objects c1 and c2.
void highlight(int start, int end, core::HighlightLayer layer)
Extend highlighted region to contain part of the current content.
TableIterator(Table *table, core::Content::Type mask, bool atEnd)
dw::core::Shape implemtation for simple rectangles.
An interface to encapsulate platform dependent drawing.
void addRow(core::style::Style *style)
void calcColumnExtremes()
Fills dw::Table::colExtremes, only if recalculation is necessary.
lout::misc::SimpleVector< int > * baseline
void sizeAllocateImpl(core::Allocation *allocation)
See Sizes of Dillo Widgets.
Instances of a sub class of may be compared (less, greater).
void addCell(Widget *widget, int colspan, int rowspan)
struct dw::Table::Child::@16::@18 cell
void forceCalcColumnExtremes()
Fills dw::Table::colExtremes in all cases.
void draw(core::View *view, core::Rectangle *area)
void sizeRequestImpl(core::Requisition *requisition)
See Sizes of Dillo Widgets.
Table(bool limitTextWidth)
Dw is in this namespace, or sub namespaces of this one.
lout::misc::SimpleVector< core::style::Length > * colPercents
void resizeDrawImpl()
Called after sizeAllocateImpl() to redraw necessary areas. By default the whole widget is redrawn.
Simple (simpler than container::untyped::Vector and container::typed::Vector) template based vector.
core::Iterator * iterator(core::Content::Type mask, bool atEnd)
Return an iterator for this widget.