36 Iterator (simpleContainer, mask, atEnd)
52 switch (content.type) {
85 if (simpleContainer->
child != NULL) {
87 content.widget = simpleContainer->
child;
113 if (simpleContainer->
child != NULL) {
115 content.widget = simpleContainer->
child;
227 assert (
child == this->child);
bool prev()
Move iterator backward and store content it.
void unhighlight(int direction, core::HighlightLayer layer)
Shrink highlighted region to no longer contain the current content.
void highlight(int start, int end, core::HighlightLayer layer)
Extend highlighted region to contain part of the current content.
int compareTo(lout::object::Comparable *other)
Compare two objects, this and other.
lout::object::Object * clone()
Return an exact copy of the object.
bool next()
Move iterator forward and store content it.
SimpleContainerIterator(SimpleContainer *simpleContainer, core::Content::Type mask, bool atEnd)
void getAllocation(int start, int end, core::Allocation *allocation)
Return the shape, which a part of the item, the iterator points on, allocates.
Simple widget used for testing concepts.
core::Iterator * iterator(core::Content::Type mask, bool atEnd)
Return an iterator for this widget.
void sizeAllocateImpl(core::Allocation *allocation)
See Sizes of Dillo Widgets.
void removeChild(Widget *child)
void getExtremesSimpl(core::Extremes *extremes)
Simple variant, to be implemented by widgets with extremes not depending on positions.
void draw(core::View *view, core::Rectangle *area, core::DrawingContext *context)
Area is given in widget coordinates.
void setChild(core::Widget *child)
void sizeRequestSimpl(core::Requisition *requisition)
Simple variant, to be implemented by widgets with sizes not depending on positions.
Set at the top when drawing.
Iterators are used to iterate through the contents of a widget.
dw::core::Shape implemtation for simple rectangles.
An interface to encapsulate platform dependent drawing.
void registerName(const char *className, int *classId)
This method must be called in the constructor for the sub class.
Instances of a sub class of may be compared (less, greater).
This is the base class for many other classes, which defines very common virtual methods.
Anything related to Dillo Widget styles is defined here.
The core of Dw is defined in this namespace.
void splitHeightPreserveAscent(int height, int *ascent, int *descent)
Dw is in this namespace, or sub namespaces of this one.
Miscellaneous stuff, which does not fit anywhere else.
Represents the allocation, i.e.
@ WIDGET_IN_FLOW
widget in normal flow, so that this widget (containing this content) is both container (parent) and g...